<?xml version="1.0" encoding="utf-8"?>

<!DOCTYPE rdf:RDF [
          <!ENTITY xsd		"http://www.w3.org/2001/XMLSchema#" >
	  <!ENTITY rdf		"http://www.w3.org/1999/02/22-rdf-syntax-ns#" >
	  <!ENTITY rdfs		"http://www.w3.org/2000/01/rdf-schema#" >
	  <!ENTITY dc		"http://purl.org/dc/elements/1.1/" >
	  <!ENTITY owl		"http://www.w3.org/2002/07/owl#" >
	  <!ENTITY units	"http://visus.mit.edu/fontomri/0.01/units.owl#" >
	  <!ENTITY foaf 	"http://xmlns.com/foaf/0.1/">
	  <!ENTITY ical 	"http://www.w3.org/2002/12/cal/#">
	  <!ENTITY dcterms 	"http://purl.org/dc/terms/">
	  <!ENTITY dctype 	"http://purl.org/dc/dcmitype/"> ]>

<rdf:RDF
 xmlns="http://co4.inrialpes.fr/align/Contest/104/onto.rdf#"
 xmlns:units	="&units;"
 xmlns:foaf	="&foaf;"
 xmlns:ical	="&ical;"
 xmlns:rdf	="&rdf;"
 xmlns:xsd	="&xsd;"
 xmlns:rdfs	="&rdfs;"
 xmlns:owl	="http://www.w3.org/2002/07/owl#"
 xmlns:wot	="http://xmlns.com/wot/0.1/"
 xmlns:dc	="&dc;"
 xmlns:dcterms	="&dcterms;"
 xmlns:dctype	="&dctype;">


  <owl:Class rdf:ID="Person">
    <rdfs:subClassOf>
      <owl:Restriction>
	<owl:onProperty rdf:resource="#locomotion" />
	<owl:allValuesFrom rdf:resource="#Car" />
      </owl:Restriction>
    </rdfs:subClassOf>
  </owl:Class>


  <owl:Class rdf:ID="Car">
    <rdfs:label xml:lang="en">Car</rdfs:label>
    <rdfs:subClassOf>
      <owl:Restriction>
	<owl:onProperty rdf:resource="#owner" />
	<owl:allValuesFrom rdf:resource="#Person" />
      </owl:Restriction>
    </rdfs:subClassOf>
  </owl:Class>


  <owl:DatatypeProperty rdf:ID="name">
    <rdfs:domain rdf:resource="#Person" />
    <rdfs:range rdf:resource="&xsd;string" />
    <rdfs:label xml:lang="en">key</rdfs:label>
  </owl:DatatypeProperty>

  <owl:DatatypeProperty rdf:ID="salary">
    <rdfs:domain rdf:resource="#Person" />
    <rdfs:range rdf:resource="&xsd;nonNegativeInteger" />
  </owl:DatatypeProperty>

  <owl:DatatypeProperty rdf:ID="model">
    <rdfs:domain rdf:resource="#Car" />
    <rdfs:range rdf:resource="&xsd;string" />
    <rdfs:label xml:lang="en">key</rdfs:label>
  </owl:DatatypeProperty>

  <owl:ObjectProperty rdf:ID="locomotion">
    <rdfs:domain rdf:resource="#Person"/>
    <rdfs:range rdf:resource="#Car" />
  </owl:ObjectProperty>

  <owl:ObjectProperty rdf:ID="owner">
    <rdfs:domain rdf:resource="#Car"/>
    <rdfs:range rdf:resource="#Person" />
  </owl:ObjectProperty>
 
</rdf:RDF>

