|
@@ 432-438 (lines=7) @@
|
| 429 |
|
$response = $this->model->getResourceFromUri($exuri); |
| 430 |
|
} |
| 431 |
|
|
| 432 |
|
if ($response) { |
| 433 |
|
$ret[$prop]->addValue(new ConceptMappingPropertyValue($this->model, $this->vocab, $response, $prop), $this->clang); |
| 434 |
|
|
| 435 |
|
$this->processExternalResource($response); |
| 436 |
|
|
| 437 |
|
continue; |
| 438 |
|
} |
| 439 |
|
} |
| 440 |
|
$ret[$prop]->addValue(new ConceptMappingPropertyValue($this->model, $this->vocab, $val, $prop, $this->clang), $this->clang); |
| 441 |
|
} |
|
@@ 581-584 (lines=4) @@
|
| 578 |
|
if (isset($ret[$prop])) { |
| 579 |
|
// checking if the property value is not in the current vocabulary |
| 580 |
|
$exvoc = $this->model->guessVocabularyFromURI($val->getUri()); |
| 581 |
|
if ($exvoc && $exvoc->getId() !== $this->vocab->getId()) { |
| 582 |
|
$ret[$prop]->addValue(new ConceptMappingPropertyValue($this->model, $this->vocab, $val, $prop, $this->clang), $this->clang); |
| 583 |
|
continue; |
| 584 |
|
} |
| 585 |
|
$ret[$prop]->addValue(new ConceptPropertyValue($this->model, $this->vocab, $val, $prop, $this->clang), $this->clang); |
| 586 |
|
} |
| 587 |
|
|