# baseURI: http://www.workingontologist.org/Examples/Chapter8/TheFirm

@prefix xsd:     <http://www.w3.org/2001/XMLSchema#> .
@prefix rdfs:    <http://www.w3.org/2000/01/rdf-schema#> .
@prefix rdf:     <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix firm:        <http://www.workingontologist.org/Examples/Chapter8/TheFirm#> .
@prefix owl:     <http://www.w3.org/2002/07/owl#> .

<http://www.workingontologist.org/Examples/Chapter8/TheFirm>
      a       owl:Ontology .

firm:Company rdfs:label "Company" ;
      a       owl:Class ;
      rdfs:subClassOf owl:Thing .

firm:Goldman rdfs:label "Goldman" ;
      a       firm:Person ;
      firm:isEmployedBy firm:TheFirm .

firm:Long rdfs:label "Long" ;
      a       firm:Person ;
      firm:indirectlyContractsTo
              firm:TheFirm .

firm:Person rdfs:label "Person" ;
      a       owl:Class ;
      rdfs:subClassOf owl:Thing .

firm:Spence rdfs:label "Spence" ;
      a       firm:Person ;
      firm:freeLancesTo firm:TheFirm .

firm:TheFirm rdfs:label "TheFirm" ;
      a       firm:Company .

firm:contractsTo rdfs:label "contracts to" ;
      a       owl:ObjectProperty ;
      rdfs:domain firm:Person ;
      rdfs:range firm:Company ;
      rdfs:subPropertyOf firm:worksFor .

firm:freeLancesTo rdfs:label "freeLances to" ;
      a       owl:ObjectProperty ;
      rdfs:domain firm:Person ;
      rdfs:range firm:Company ;
      rdfs:subPropertyOf firm:contractsTo .

firm:indirectlyContractsTo rdfs:label "indirectly contracts to" ;
      a       owl:ObjectProperty ;
      rdfs:domain firm:Person ;
      rdfs:range firm:Company ;
      rdfs:subPropertyOf firm:contractsTo .

firm:isEmployedBy rdfs:label "is employed by" ;
      a       owl:ObjectProperty ;
      rdfs:domain firm:Person ;
      rdfs:range firm:Company ;
      rdfs:subPropertyOf firm:worksFor .

firm:worksFor rdfs:label "works for" ;
      a       owl:ObjectProperty ;
      rdfs:domain firm:Person ;
      rdfs:range firm:Company .
