example.rdf 4.73 KB
<?xml version="1.0"?>

<!DOCTYPE uridef [
  <!ENTITY rdf  "http://www.w3.org/1999/02/22-rdf-syntax-ns#">
  <!ENTITY rdfs "http://www.w3.org/2000/01/rdf-schema#">
  <!ENTITY p    "http://ontologies-r-us.org/schemata/people#">
  <!ENTITY o    "http://ontologies-r-us.org/schemata/organizations#">
]>

<rdf:RDF xmlns:rdf="&rdf;"
         xmlns:rdfs="&rdfs;"
         xmlns:p="&p;"
         xmlns:o="&o;">

<!--  SCHEMA STUFF  -->

  <rdfs:Class rdf:about="&p;Person" rdfs:label="Person"/>
  
  <rdf:Property rdf:about="&p;name" rdfs:label="name">
    <rdfs:domain rdf:resource="&p;Person"/>
  </rdf:Property>
  
  <rdf:Property rdf:about="&p;livesIn" rdfs:label="lives in">
    <rdfs:domain rdf:resource="&p;Person"/>
  </rdf:Property>
  
  <rdf:Property rdf:about="&p;worksFor" rdfs:label="works for">
    <rdfs:domain rdf:resource="&p;Person"/>
    <rdfs:range rdf:resource="&o;Company"/>
  </rdf:Property>
  
  <rdf:Property rdf:about="&p;isParentOf" rdfs:label="is parent of">
    <rdfs:domain rdf:resource="&p;Person"/>
    <rdfs:range rdf:resource="&p;Person"/>
  </rdf:Property>
  
  <rdf:Property rdf:about="&p;isStudentAt" rdfs:label="is student at">
    <rdfs:domain rdf:resource="&p;Person"/>
  </rdf:Property>
  
  <rdfs:Class rdf:about="&o;Company" rdfs:label="Company"/>
  
  <rdf:Property rdf:about="&o;name" rdfs:label="name">
    <rdfs:domain rdf:resource="&o;Company"/>
  </rdf:Property>
  
  <rdf:Property rdf:about="&o;isClientOf" rdfs:label="is client of">
    <rdfs:domain rdf:resource="&o;Company"/>
  </rdf:Property>
  
  <rdf:Property rdf:about="&o;hasLocation" rdfs:label="has location">
    <rdfs:domain rdf:resource="&o;Company"/>
  </rdf:Property>
  
<!--  PEOPLE  -->

  <p:Person rdf:about="">
    <p:name>Joe Example</p:name>
  </p:Person>
  
  <p:Person rdf:about="http://www.aol.com/members/wendycook/">
    <p:name>Wendy Cook</p:name>
    <p:livesIn rdf:resource="http://www.johannesburg.za/"/>
    <p:isParentOf rdf:resource="http://www.avondale.edu/students/mikecook/"/>
    <p:isParentOf rdf:resource="mailto:greg@cooks-r-us.org"/>
    <p:isParentOf rdf:resource="http://www.cooks-r-us.org/people/fiona/"/>
    <p:worksFor rdf:resource="http://www.bobstacyrobotics.com/"/>
  </p:Person>
  
  <p:Person about="http://www.avondale.edu/students/mikecook/">
    <p:name>Mike Cook</p:name>
    <p:isStudentAt rdf:resource="http://www.avondale.edu/"/>
  </p:Person>
  
  <p:Person about="mailto:greg@cooks-r-us.org">
    <p:name>Greg Cook</p:name>
  </p:Person>
  
  <p:Person about="http://www.cooks-r-us.org/people/fiona/">
    <p:name>Fiona Cook</p:name>
  </p:Person>
  
  <p:Person about="http://www.avondale.edu/students/hiteshpatel/">
    <p:name>Hitesh Patel</p:name>
    <p:isStudentAt rdf:resource="http://www.avondale.edu/"/>
  </p:Person>
  
  <p:Person about="http://www.avondale.edu/students/benwright/">
    <p:name>Ben Wright</p:name>
    <p:isStudentAt rdf:resource="http://www.avondale.edu/"/>
  </p:Person>
  
  <p:Person about="http://www.avondale.edu/students/simonbrown/">
    <p:name>Simon Brown</p:name>
    <p:isStudentAt rdf:resource="http://www.avondale.edu/"/>
  </p:Person>
  
  <p:Person about="http://www.avondale.edu/students/janechang/">
    <p:name>Jane Chang</p:name>
    <p:isStudentAt rdf:resource="http://www.avondale.edu/"/>
  </p:Person>
  
  <p:Person about="http://www.avondale.edu/students/matiupotiki/">
    <p:name>Matiu Potiki</p:name>
    <p:isStudentAt rdf:resource="http://www.avondale.edu/"/>
  </p:Person>
  
  <p:Person about="http://www.avondale.edu/students/dorannahatsuda/">
    <p:name>Doranna Hatsuda</p:name>
    <p:isStudentAt rdf:resource="http://www.avondale.edu/"/>
  </p:Person>
  
  <p:Person about="http://www.avondale.edu/students/kangethegikonyo/">
    <p:name>Kangethe Gikonyo</p:name>
    <p:isStudentAt rdf:resource="http://www.avondale.edu/"/>
  </p:Person>
  
<!--  ORGANIZATIONS  -->

  <o:Company about="http://www.bobstacyrobotics.com/">
    <o:name>Bob Stacy Robotics Inc.</o:name>
    <o:clientOf rdf:resource=""/>
    <o:hasLocation rdf:resource="http://www.johannesburg.za/"/>
  </o:Company>

  <o:Company about="http://www.maries-ai-shoppe.com/">
    <o:name>desJardins A.I. Co.</o:name>
    <o:clientOf rdf:resource=""/>
  </o:Company>

  <o:Company about="http://www.fryer-mechanicals.com/">
    <o:name>Fryer Mechanicals</o:name>
    <o:clientOf rdf:resource=""/>
  </o:Company>

  <o:Company about="http://www.cybernetics-megastore.com/">
    <o:name>Yourish Cybernetics</o:name>
    <o:clientOf rdf:resource=""/>
  </o:Company>

  <o:Company about="http://www.automata-r-us.com/">
    <o:name>McGarry Automata Inc.</o:name>
    <o:clientOf rdf:resource=""/>
  </o:Company>

  <o:Company about="http://www.anrdoids-r-us.com/">
    <o:name>Stauffer Androids Ltd.</o:name>
    <o:clientOf rdf:resource=""/>
  </o:Company>

</rdf:RDF>