|
@@ 251-256 (lines=6) @@
|
| 248 |
|
|
| 249 |
|
$longUris = $this->resource->propertyUris(); |
| 250 |
|
foreach ($longUris as &$prop) { |
| 251 |
|
if (EasyRdf\RdfNamespace::shorten($prop) !== null) { |
| 252 |
|
// shortening property labels if possible |
| 253 |
|
$prop = $sprop = EasyRdf\RdfNamespace::shorten($prop); |
| 254 |
|
} else { |
| 255 |
|
$sprop = "<$prop>"; |
| 256 |
|
} |
| 257 |
|
// EasyRdf requires full URIs to be in angle brackets |
| 258 |
|
|
| 259 |
|
if (in_array($prop, $this->MAPPING_PROPERTIES) && !in_array($prop, $this->DELETED_PROPERTIES)) { |
|
@@ 345-350 (lines=6) @@
|
| 342 |
|
} |
| 343 |
|
|
| 344 |
|
foreach ($longUris as &$prop) { |
| 345 |
|
if (EasyRdf\RdfNamespace::shorten($prop) !== null) { |
| 346 |
|
// shortening property labels if possible |
| 347 |
|
$prop = $sprop = EasyRdf\RdfNamespace::shorten($prop); |
| 348 |
|
} else { |
| 349 |
|
$sprop = "<$prop>"; |
| 350 |
|
} |
| 351 |
|
// EasyRdf requires full URIs to be in angle brackets |
| 352 |
|
|
| 353 |
|
if (!in_array($prop, $this->DELETED_PROPERTIES) || ($this->isGroup() === false && $prop === 'skos:member')) { |