Do not expand values that are terms unless they are vocab relative.
This commit is contained in:
parent
2c8b2ef18d
commit
447aa88d61
|
@ -4310,7 +4310,8 @@ class JsonLdProcessor {
|
|||
$rval = $value;
|
||||
|
||||
// value is a term
|
||||
if($mapping && !$mapping->propertyGenerator) {
|
||||
if(isset($relative_to['vocab']) && $relative_to['vocab'] &&
|
||||
$mapping && !$mapping->propertyGenerator) {
|
||||
$is_absolute = true;
|
||||
$rval = $mapping->{'@id'};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue