-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
If a tv-IRI is annotated with CN then rewrite the tokens to use a relational noun construct. Note that the CSV output is not affected.
- Loading branch information
Showing
10 changed files
with
318 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
Rex is not an eater of Mick. | ||
|
||
No goat is an eater of something that is not a leaf. | ||
|
||
Everything whose eater is a goat is a leaf. | ||
Everything that is an eater of nothing but leaves is a goat. | ||
|
||
Everything is an eater of at most 1 thing. | ||
|
||
Everything 's eater is at most 1 thing. | ||
|
||
If X is an eater of something that is an eater of Y then X is an eater of Y. | ||
|
||
Everything that is an eater of something is an animal. | ||
|
||
Everything whose eater is something is a food that is not an automobile. | ||
|
||
If X is a hater of Y then Y is an eater of X. | ||
If X is an eater of Y then Y is a hater of X. | ||
|
||
If X is a hater of Y then it is false that X is an eater of Y. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,149 @@ | ||
ignored Prefix(story,http://www.example.org/story.owl#) | ||
|
||
ignored Prefix(ace_lexicon,http://attempto.ifi.uzh.ch/ace_lexicon#) | ||
|
||
ignored AnnotationAssertion(AnnotationProperty(http://attempto.ifi.uzh.ch/ace_lexicon#CN_sg),IRI(http://www.example.org/story.owl#eat),^^(eater,)) | ||
|
||
ignored AnnotationAssertion(AnnotationProperty(http://attempto.ifi.uzh.ch/ace_lexicon#CN_sg),IRI(http://www.example.org/story.owl#hate),^^(hater,)) | ||
|
||
ignored AnnotationAssertion(AnnotationProperty(http://attempto.ifi.uzh.ch/ace_lexicon#CN_pl),IRI(http://www.example.org/story.owl#leaf),^^(leaves,)) | ||
|
||
pn_sg http://owl.man.ac.uk/2005/07/sssw/people#Rex | ||
f does | ||
f not | ||
tv_pl http://www.example.org/story.owl#eat | ||
pn_sg http://owl.man.ac.uk/2005/07/sssw/people#Mick | ||
f . | ||
|
||
f No | ||
cn_sg http://www.example.org/story.owl#goat | ||
tv_sg http://www.example.org/story.owl#eat | ||
f a | ||
f thing | ||
f that | ||
f is | ||
f not | ||
f a | ||
cn_sg http://www.example.org/story.owl#leaf | ||
f . | ||
|
||
f Every | ||
f thing | ||
f that | ||
f is | ||
tv_vbg http://www.example.org/story.owl#eat | ||
f by | ||
f a | ||
cn_sg http://www.example.org/story.owl#goat | ||
f is | ||
f a | ||
cn_sg http://www.example.org/story.owl#leaf | ||
f . | ||
f Every | ||
f thing | ||
f that | ||
tv_sg http://www.example.org/story.owl#eat | ||
f nothing | ||
f but | ||
cn_pl http://www.example.org/story.owl#leaf | ||
f is | ||
f a | ||
cn_sg http://www.example.org/story.owl#goat | ||
f . | ||
|
||
f Every | ||
f thing | ||
tv_sg http://www.example.org/story.owl#eat | ||
f at | ||
f most | ||
f 1 | ||
f thing | ||
f . | ||
|
||
f Every | ||
f thing | ||
f is | ||
tv_vbg http://www.example.org/story.owl#eat | ||
f by | ||
f at | ||
f most | ||
f 1 | ||
f thing | ||
f . | ||
|
||
f If | ||
f X | ||
tv_sg http://www.example.org/story.owl#eat | ||
f a | ||
f thing | ||
f that | ||
tv_sg http://www.example.org/story.owl#eat | ||
f Y | ||
f then | ||
f X | ||
tv_sg http://www.example.org/story.owl#eat | ||
f Y | ||
f . | ||
|
||
f Every | ||
f thing | ||
f that | ||
tv_sg http://www.example.org/story.owl#eat | ||
f a | ||
f thing | ||
f is | ||
f a | ||
cn_sg http://www.example.org/story.owl#animal | ||
f . | ||
|
||
f Every | ||
f thing | ||
f that | ||
f is | ||
tv_vbg http://www.example.org/story.owl#eat | ||
f by | ||
f a | ||
f thing | ||
f is | ||
f a | ||
cn_sg http://www.example.org/story.owl#food | ||
f that | ||
f is | ||
f not | ||
f a | ||
cn_sg http://www.example.org/story.owl#automobile | ||
f . | ||
|
||
f If | ||
f X | ||
tv_sg http://www.example.org/story.owl#hate | ||
f Y | ||
f then | ||
f Y | ||
tv_sg http://www.example.org/story.owl#eat | ||
f X | ||
f . | ||
f If | ||
f X | ||
tv_sg http://www.example.org/story.owl#eat | ||
f Y | ||
f then | ||
f Y | ||
tv_sg http://www.example.org/story.owl#hate | ||
f X | ||
f . | ||
|
||
f If | ||
f X | ||
tv_sg http://www.example.org/story.owl#hate | ||
f Y | ||
f then | ||
f it | ||
f is | ||
f false | ||
f that | ||
f X | ||
tv_sg http://www.example.org/story.owl#eat | ||
f Y | ||
f . | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
<?xml version="1.0"?> | ||
<Ontology xmlns="http://www.w3.org/2002/07/owl#" | ||
xml:base="http://org.semanticweb.ontologies/Ontology1256143016364769000" | ||
xmlns:xml="http://www.w3.org/XML/1998/namespace"> | ||
|
||
<Prefix name="story" IRI="http://www.example.org/story.owl#"/> | ||
<Prefix name="ace_lexicon" IRI="http://attempto.ifi.uzh.ch/ace_lexicon#"/> | ||
|
||
<AnnotationAssertion> | ||
<AnnotationProperty abbreviatedIRI="ace_lexicon:CN_sg"/> | ||
<IRI>http://www.example.org/story.owl#eat</IRI> | ||
<Literal>eater</Literal> | ||
</AnnotationAssertion> | ||
|
||
<AnnotationAssertion> | ||
<AnnotationProperty abbreviatedIRI="ace_lexicon:CN_sg"/> | ||
<IRI>http://www.example.org/story.owl#hate</IRI> | ||
<Literal>hater</Literal> | ||
</AnnotationAssertion> | ||
|
||
<AnnotationAssertion> | ||
<AnnotationProperty abbreviatedIRI="ace_lexicon:CN_pl"/> | ||
<IRI>http://www.example.org/story.owl#leaf</IRI> | ||
<Literal>leaves</Literal> | ||
</AnnotationAssertion> | ||
|
||
<NegativeObjectPropertyAssertion> | ||
<ObjectProperty abbreviatedIRI="story:eat"/> | ||
<NamedIndividual IRI="http://owl.man.ac.uk/2005/07/sssw/people#Rex"/> | ||
<NamedIndividual IRI="http://owl.man.ac.uk/2005/07/sssw/people#Mick"/> | ||
</NegativeObjectPropertyAssertion> | ||
<DisjointClasses> | ||
<Class abbreviatedIRI="story:goat"/> | ||
<ObjectSomeValuesFrom> | ||
<ObjectProperty abbreviatedIRI="story:eat"/> | ||
<ObjectComplementOf> | ||
<Class abbreviatedIRI="story:leaf"/> | ||
</ObjectComplementOf> | ||
</ObjectSomeValuesFrom> | ||
</DisjointClasses> | ||
<EquivalentClasses> | ||
<Class abbreviatedIRI="story:goat"/> | ||
<ObjectAllValuesFrom> | ||
<ObjectProperty abbreviatedIRI="story:eat"/> | ||
<Class abbreviatedIRI="story:leaf"/> | ||
</ObjectAllValuesFrom> | ||
</EquivalentClasses> | ||
<FunctionalObjectProperty> | ||
<ObjectProperty abbreviatedIRI="story:eat"/> | ||
</FunctionalObjectProperty> | ||
<InverseFunctionalObjectProperty> | ||
<ObjectProperty abbreviatedIRI="story:eat"/> | ||
</InverseFunctionalObjectProperty> | ||
<TransitiveObjectProperty> | ||
<ObjectProperty abbreviatedIRI="story:eat"/> | ||
</TransitiveObjectProperty> | ||
<ObjectPropertyDomain> | ||
<ObjectProperty abbreviatedIRI="story:eat"/> | ||
<Class abbreviatedIRI="story:animal"/> | ||
</ObjectPropertyDomain> | ||
<ObjectPropertyRange> | ||
<ObjectProperty abbreviatedIRI="story:eat"/> | ||
<ObjectIntersectionOf> | ||
<Class abbreviatedIRI="story:food"/> | ||
<ObjectComplementOf> | ||
<Class abbreviatedIRI="story:automobile"/> | ||
</ObjectComplementOf> | ||
</ObjectIntersectionOf> | ||
</ObjectPropertyRange> | ||
<InverseObjectProperties> | ||
<ObjectProperty abbreviatedIRI="story:hate"/> | ||
<ObjectProperty abbreviatedIRI="story:eat"/> | ||
</InverseObjectProperties> | ||
<DisjointObjectProperties> | ||
<ObjectProperty abbreviatedIRI="story:hate"/> | ||
<ObjectProperty abbreviatedIRI="story:eat"/> | ||
</DisjointObjectProperties> | ||
</Ontology> |
Oops, something went wrong.