@if($subject !== $primaryTopic)
is
@endif
{{ \EasyRdf_Namespace::shorten($predicate) ?? $predicate }}
@if($subject !== $primaryTopic)
of
@endif
|
@if($subject === $primaryTopic)
@foreach($objects as $object)
-
@if($object['type'] === 'uri')
{{ \EasyRdf_Namespace::shorten($object['value']) ?? $object['value'] }}
@elseif($object['type'] === 'literal')
{{ $object['value'] }}
@if(isset($object['lang']))
{{ '@'.$object['lang'] }}
@endif
@if(isset($object['datatype']))
^^{{ \EasyRdf_Namespace::shorten($object['datatype']) ?? $object['datatype'] }}
@endif
@endif
@endforeach
@else
{{ $subject }}
@endif
|