;; Ontology 'source' in functional syntax
Prefix(: = )
Ontology(
SubObjectPropertyOf(ObjectPropertyChain(:q :r) :p))
;; Ontology 'source' parsed
(ontology (:blank :ontology)
(subobjectpropertyof (objectpropertychain !ex:q !ex:r)
!ex:p))
;; Ontology 'source' in rdf/xml
;; Ontology 'source' as ntriples
_:b1 .
_:b2 .
_:b3 .
_:b3 .
_:b2 _:b3 .
_:b2 .