A class with inverse property.
Ontology(<http://example.com/ontology/Unnamed> Annotation(rdfs:label "Example"^^xsd:string) Declaration(Class(:BiologicalMother)) Declaration(Class(:Child)) Declaration(ObjectProperty(:hasBiologicalMother)) Declaration(ObjectProperty(:hasChild)) ############################ # Object Properties ############################ # Object Property: :hasBiologicalMother (has biological mother) AnnotationAssertion(rdfs:label :hasBiologicalMother "has biological mother"^^xsd:string) InverseObjectProperties(:hasChild :hasBiologicalMother) ObjectPropertyDomain(:hasBiologicalMother :Child) ObjectPropertyRange(:hasBiologicalMother :BiologicalMother) # Object Property: :hasChild (has child) AnnotationAssertion(rdfs:label :hasChild "has child"^^xsd:string) ObjectPropertyDomain(:hasChild :BiologicalMother) ObjectPropertyRange(:hasChild :Child) ############################ # Classes ############################ # Class: :BiologicalMother (Biological Mother) AnnotationAssertion(rdfs:label :BiologicalMother "Biological Mother"^^xsd:string) )
Related page