Prefix( : = <http://example.org/> )
Ontology(
Declaration( ObjectProperty( :hasMother ) )
Declaration( ObjectProperty( :hasSister ) )
Declaration( ObjectProperty( :hasAunt ) )
SubObjectPropertyOf( ObjectPropertyChain( :hasMother :hasSister ) :hasAunt )
ObjectPropertyAssertion( :hasMother :Stewie :Lois )
ObjectPropertyAssertion( :hasSister :Lois :Carol )
)