<rdf:RDF 

xmlns:rdf ="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 

xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" 

 xmlns:owl="http://www.w3.org/2002/07/owl#" 

xmlns ="http://projects.teknowledge.com/DAML/DynamicOntology1#"> 



<owl:Ontology rdf:about=""> 

<rdfs:comment>An ontology for dynamic generation of DAML markups for query response on WordNet</rdfs:comment> 

<owl:imports rdf:resource="http://www.daml.org/2001/03/daml+oil"/> 

</owl:Ontology> 



<rdfs:Class rdf:ID="Synset"> 

<rdfs:label>Synset</rdfs:label> 

<rdfs:comment>This class is a class that holds synonym sets from WordNet</rdfs:comment> 

</rdfs:Class> 



<rdf:Property rdf:ID="definition"> 

<rdfs:label>definition</rdfs:label> 

<rdfs:domain rdf:resource="#Synset"/> 

<rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/> 

</rdf:Property> 



<rdf:Property rdf:ID="exampleSentences"> 

<rdfs:label>exampleSentences</rdfs:label> 

<rdfs:domain rdf:resource="#Synset"/> 

<rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/> 

</rdf:Property> 



<rdf:Property rdf:ID="wordHasTheSense"> 

<rdfs:label>wordHasTheSense</rdfs:label> 

<rdfs:domain rdf:resource="#Synset"/> 

<rdfs:range rdf:resource="#Word"/> 

</rdf:Property> 



<rdf:Property rdf:ID="antonym"> 

<rdfs:label>antonym</rdfs:label> 

<rdfs:comment>This property is defined between synsets since a word can be a member of multiple synsets</rdfs:comment> 

<rdfs:domain rdf:resource="#Synset"/> 

<rdfs:range rdf:resource="#Synset"/> 

</rdf:Property> 



<rdf:Property rdf:ID="via"> 

<rdfs:label>via</rdfs:label> 

<rdfs:comment>The subject of this property obtains its antonym synset indirectly via its close synset, the object</rdfs:comment> 

<rdfs:domain rdf:resource="#Synset"/> 

<rdfs:range rdf:resource="#Synset"/> 

</rdf:Property> 



<rdf:Property rdf:ID="indirect_antonym"> 

<rdfs:label>indirect_antonym</rdfs:label> 

<rdfs:comment>This property can be defined using properties 'antonym' and 'via' as follows:

	indirect_antonym (A, B) :- via (A, C), antonym (C, B).

      where A, B and C are synsets.

</rdfs:comment> 

<rdfs:domain rdf:resource="#Synset"/> 

<rdfs:range rdf:resource="#Synset"/> 

</rdf:Property> 



<rdf:Property rdf:ID="hypernym"> 

<rdfs:label>hypernym</rdfs:label> 

<rdfs:comment>The subject is a kind of or one way to the object.  In WordNet this property (named as hyp) only works for nouns and verbs. This proporty is not a UniquerProperty.  That is, a subject may have multiple objects.</rdfs:comment> 

<rdfs:domain rdf:resource="#Synset"/> 

<rdfs:range rdf:resource="#Synset"/> 

</rdf:Property> 



<rdf:Property rdf:ID="hyponym"> 

<rdfs:label>hyponym</rdfs:label> 

<rdfs:comment>This property is the opposite of hypernym.  In WordNet it only works for nouns</rdfs:comment> 

<rdfs:domain rdf:resource="#Synset"/> 

<rdfs:range rdf:resource="#Synset"/> 

</rdf:Property> 



<rdf:Property rdf:ID="troponym"> 

<rdfs:label>troponym</rdfs:label> 

<rdfs:comment>The subject must be of a synset of verb type.  The property specifies the special ways for the subject</rdfs:comment> 

<rdfs:domain rdf:resource="#Synset"/> 

<rdfs:range rdf:resource="#Synset"/> 

</rdf:Property> 



<owl:FunctionalProperty rdf:ID="typeOfSynset"> 

<rdfs:comment>Each Synset has only one type in WordNet</rdfs:comment> 

<rdfs:domain rdf:resource="#Synset"/> 

<rdfs:range rdf:resource="#TypeOfSynset"/> 

</owl:FunctionalProperty> 



<rdfs:Class rdf:ID="TypeOfSynset"> 



<!--

<owl:oneOf parseType="owl:collection"> 

<TypeOfSynset rdf:ID="noun"/> 

<TypeOfSynset rdf:ID="verb"/> 

<TypeOfSynset rdf:ID="adjective"/> 

<TypeOfSynset rdf:ID="adjective-satellite"/> 

<TypeOfSynset rdf:ID="adverb"/> 

</owl:oneOf> 

-->



<owl:oneOf> 

<rdf:Seq>

<rdf:li>noun</rdf:li> 

<rdf:li>verb</rdf:li> 

<rdf:li>adjective</rdf:li> 

<rdf:li>adjective-satellite</rdf:li> 

<rdf:li>adverb</rdf:li> 

</rdf:Seq>

</owl:oneOf> 



</rdfs:Class> 



<rdfs:Class rdf:ID="Word"> 

<rdfs:label>Word</rdfs:label> 

<rdfs:comment>This class is a class that holds words from WordNet</rdfs:comment> 

</rdfs:Class> 



<rdf:Property rdf:ID="hasSense">

<rdfs:comment>Each Word has one or more SynSets</rdfs:comment> 

<rdfs:domain rdf:resource="#Word"/> 

<rdfs:range rdf:resource="#Synset"/> 

</rdf:Property> 



</rdf:RDF> 

