<?xml version="1.0"?>
<!DOCTYPE rdf:RDF [
  <!ENTITY xsd "http://www.w3.org/2001/XMLSchema">
  <!ENTITY tns "http://www.csc.ncsu.edu/faculty/mpsingh/books/SOC/lst/description/places.owl#">
]>
<rdf:RDF
    xmlns:owl="http://www.w3.org/2002/07/owl#"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" 
    xml:base="&tns;"
    xmlns:places="&tns;"
>

<owl:Ontology rdf:about="">
  <rdfs:comment>An ontology dealing with places and companies at
  different places</rdfs:comment>
</owl:Ontology>

<owl:Class rdf:ID="Country"/>

<owl:Class rdf:ID="Continent"/>

<places:Continent rdf:ID="Europe"/>

<places:Country rdf:ID="USA"/>

<places:Country rdf:ID="Iran"/>

<places:Country rdf:ID="Persia">
  <owl:sameAs rdf:resource="#Iran"/>
</places:Country>

<places:Country rdf:ID="Russia"/>

<places:Country rdf:ID="India">
  <owl:differentFrom rdf:resource="#Russia"/>
</places:Country>

<owl:AllDifferent>
  <owl:distinctMembers rdf:parseType="Collection">
   <places:Country rdf:ID="Russia"/>
   <places:Country rdf:ID="India"/>
   <places:Country rdf:ID="USA"/>
  </owl:distinctMembers>
</owl:AllDifferent>

<owl:ObjectProperty rdf:ID="isInContinent">
  <rdfs:domain rdf:resource="#Country"/>
  <rdfs:range rdf:resource="#Continent"/>
</owl:ObjectProperty>

<owl:Class rdf:ID="EuropeanCountry">
 <owl:equivalentClass>
  <owl:Restriction>
   <owl:onProperty rdf:resource="#isInContinent"/>
   <owl:hasValue rdf:resource="#Europe"/>
  </owl:Restriction>
 </owl:equivalentClass>
</owl:Class>

</rdf:RDF>

