| 1 | @prefix owl: <http://www.w3.org/2002/07/owl#> . |
| 2 | @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . |
| 3 | @prefix ex: <http://example.org/> . |
| 4 | |
| 5 | ex:Person a owl:Class ; rdfs:label "Person" ; rdfs:comment "A human being." . |
| 6 | ex:Org a owl:Class ; rdfs:label "Organization" ; rdfs:comment "A company." . |
| 7 | |
| 8 | ex:worksAt a owl:ObjectProperty ; |
| 9 | rdfs:label "works at" ; rdfs:comment "Employment." ; |
| 10 | rdfs:domain ex:Person ; rdfs:range ex:Org . |
| 11 | |
| 12 | ex:employs a owl:ObjectProperty ; |
| 13 | rdfs:label "employs" ; rdfs:comment "The other direction." ; |
| 14 | rdfs:domain ex:Org ; rdfs:range ex:Person ; |
| 15 | owl:inverseOf ex:worksAt . |
| 16 | |
| 17 | ex:ceoOf a owl:ObjectProperty ; |
| 18 | rdfs:label "CEO of" ; rdfs:comment "Chief executive." ; |
| 19 | rdfs:domain ex:Person ; rdfs:range ex:Org ; |
| 20 | rdfs:subPropertyOf ex:worksAt . |