Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tautologies & structural-tautologies axiom selectors #579

Merged
merged 23 commits into from
Nov 20, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
317 changes: 50 additions & 267 deletions docs/examples/mitochondrion-full.owl

Large diffs are not rendered by default.

51 changes: 51 additions & 0 deletions docs/examples/no-tautologies.owl
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
<?xml version="1.0"?>
<rdf:RDF xmlns="http://www.semanticweb.org/tauber/ontologies/2019/9/untitled-ontology-995#"
xml:base="http://www.semanticweb.org/tauber/ontologies/2019/9/untitled-ontology-995"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:xml="http://www.w3.org/XML/1998/namespace"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#">
<owl:Ontology rdf:about="http://www.semanticweb.org/tauber/ontologies/2019/9/untitled-ontology-995"/>



<!--
///////////////////////////////////////////////////////////////////////////////////////
//
// Classes
//
///////////////////////////////////////////////////////////////////////////////////////
-->




<!-- http://robot.obolibrary.org/example/A -->

<owl:Class rdf:about="http://robot.obolibrary.org/example/A">
<rdfs:label>A</rdfs:label>
</owl:Class>



<!-- http://robot.obolibrary.org/example/B -->

<owl:Class rdf:about="http://robot.obolibrary.org/example/B">
<rdfs:subClassOf rdf:resource="http://robot.obolibrary.org/example/A"/>
<rdfs:label>B</rdfs:label>
</owl:Class>



<!-- http://robot.obolibrary.org/example/C -->

<owl:Class rdf:about="http://robot.obolibrary.org/example/C">
<rdfs:label>C</rdfs:label>
</owl:Class>
</rdf:RDF>



<!-- Generated by the OWL API (version 4.5.6) https://github.com/owlcs/owlapi -->

67 changes: 67 additions & 0 deletions docs/examples/tautologies.owl
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
<?xml version="1.0"?>
<rdf:RDF xmlns="http://www.semanticweb.org/tauber/ontologies/2019/9/untitled-ontology-995#"
xml:base="http://www.semanticweb.org/tauber/ontologies/2019/9/untitled-ontology-995"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xmlns:xml="http://www.w3.org/XML/1998/namespace"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#">
<owl:Ontology rdf:about="http://www.semanticweb.org/tauber/ontologies/2019/9/untitled-ontology-995"/>



<!--
///////////////////////////////////////////////////////////////////////////////////////
//
// Classes
//
///////////////////////////////////////////////////////////////////////////////////////
-->




<!-- http://robot.obolibrary.org/example/A -->

<owl:Class rdf:about="http://robot.obolibrary.org/example/A">
<rdfs:subClassOf rdf:resource="http://robot.obolibrary.org/example/A"/>
<rdfs:label>A</rdfs:label>
</owl:Class>



<!-- http://robot.obolibrary.org/example/B -->

<owl:Class rdf:about="http://robot.obolibrary.org/example/B">
<rdfs:subClassOf rdf:resource="http://robot.obolibrary.org/example/A"/>
<rdfs:label>B</rdfs:label>
</owl:Class>



<!-- http://robot.obolibrary.org/example/C -->

<owl:Class rdf:about="http://robot.obolibrary.org/example/C">
<rdfs:subClassOf rdf:resource="http://www.w3.org/2002/07/owl#Thing"/>
<rdfs:label>C</rdfs:label>
</owl:Class>



<!-- http://www.w3.org/2002/07/owl#Nothing -->

<owl:Class rdf:about="http://www.w3.org/2002/07/owl#Nothing">
<rdfs:subClassOf rdf:resource="http://robot.obolibrary.org/example/B"/>
</owl:Class>



<!-- http://www.w3.org/2002/07/owl#Thing -->

<owl:Class rdf:about="http://www.w3.org/2002/07/owl#Thing"/>
</rdf:RDF>



<!-- Generated by the OWL API (version 4.2.8.20170104-2310) https://github.com/owlcs/owlapi -->

154 changes: 154 additions & 0 deletions docs/examples/template-base.owl
Original file line number Diff line number Diff line change
@@ -0,0 +1,154 @@
<?xml version="1.0"?>
<rdf:RDF xmlns="https://github.com/ontodev/robot/examples/template.owl#"
xml:base="https://github.com/ontodev/robot/examples/template.owl"
xmlns:obo="http://purl.obolibrary.org/obo/"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:xml="http://www.w3.org/XML/1998/namespace"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:example="http://example.com/">
<owl:Ontology rdf:about="https://github.com/ontodev/robot/examples/template.owl"/>



<!--
///////////////////////////////////////////////////////////////////////////////////////
//
// Annotation properties
//
///////////////////////////////////////////////////////////////////////////////////////
-->




<!-- http://purl.obolibrary.org/obo/IAO_0000115 -->

<owl:AnnotationProperty rdf:about="http://purl.obolibrary.org/obo/IAO_0000115"/>



<!-- http://purl.obolibrary.org/obo/IAO_0000117 -->

<owl:AnnotationProperty rdf:about="http://purl.obolibrary.org/obo/IAO_0000117"/>



<!-- http://purl.obolibrary.org/obo/IAO_0000119 -->

<owl:AnnotationProperty rdf:about="http://purl.obolibrary.org/obo/IAO_0000119"/>



<!--
///////////////////////////////////////////////////////////////////////////////////////
//
// Data properties
//
///////////////////////////////////////////////////////////////////////////////////////
-->




<!-- http://example.com/propery-1 -->

<owl:DatatypeProperty rdf:about="http://example.com/propery-1">
<obo:IAO_0000115 rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Weight of a mouse or rat in kilograms (kg).</obo:IAO_0000115>
<obo:IAO_0000117 rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Rebecca C Jackson</obo:IAO_0000117>
<rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string">weight in kilograms</rdfs:label>
</owl:DatatypeProperty>
<owl:Axiom>
<owl:annotatedSource rdf:resource="http://example.com/propery-1"/>
<owl:annotatedProperty rdf:resource="http://purl.obolibrary.org/obo/IAO_0000115"/>
<owl:annotatedTarget rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Weight of a mouse or rat in kilograms (kg).</owl:annotatedTarget>
<obo:IAO_0000119 rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Rebecca C Jackson</obo:IAO_0000119>
</owl:Axiom>



<!--
///////////////////////////////////////////////////////////////////////////////////////
//
// Classes
//
///////////////////////////////////////////////////////////////////////////////////////
-->




<!-- http://example.com/B6C3F1 -->

<owl:Class rdf:about="http://example.com/B6C3F1">
<rdfs:subClassOf rdf:resource="http://purl.obolibrary.org/obo/NCBITaxon_10090"/>
<owl:disjointWith rdf:resource="http://example.com/F344N"/>
<obo:IAO_0000115 rdf:datatype="http://www.w3.org/2001/XMLSchema#string">An inbred strain of mouse used in many scientific investigations.</obo:IAO_0000115>
<obo:IAO_0000117 rdf:datatype="http://www.w3.org/2001/XMLSchema#string">James A. Overton</obo:IAO_0000117>
<rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string">B6C3F1</rdfs:label>
<rdfs:seeAlso rdf:resource="http://jaxmice.jax.org/strain/100010.html"/>
</owl:Class>
<owl:Axiom>
<owl:annotatedSource rdf:resource="http://example.com/B6C3F1"/>
<owl:annotatedProperty rdf:resource="http://purl.obolibrary.org/obo/IAO_0000115"/>
<owl:annotatedTarget rdf:datatype="http://www.w3.org/2001/XMLSchema#string">An inbred strain of mouse used in many scientific investigations.</owl:annotatedTarget>
<obo:IAO_0000119 rdf:datatype="http://www.w3.org/2001/XMLSchema#string">James A. Overton</obo:IAO_0000119>
</owl:Axiom>



<!-- http://example.com/F344N -->

<owl:Class rdf:about="http://example.com/F344N">
<rdfs:subClassOf rdf:resource="http://purl.obolibrary.org/obo/NCBITaxon_10116"/>
<obo:IAO_0000115 rdf:datatype="http://www.w3.org/2001/XMLSchema#string">An inbred strain of rat used in many scientific investigations.</obo:IAO_0000115>
<obo:IAO_0000117 rdf:datatype="http://www.w3.org/2001/XMLSchema#string">James A. Overton</obo:IAO_0000117>
<rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string">F 344/N</rdfs:label>
<rdfs:seeAlso rdf:resource="http://www.informatics.jax.org/external/festing/rat/docs/F344.shtml"/>
</owl:Class>
<owl:Axiom>
<owl:annotatedSource rdf:resource="http://example.com/F344N"/>
<owl:annotatedProperty rdf:resource="http://purl.obolibrary.org/obo/IAO_0000115"/>
<owl:annotatedTarget rdf:datatype="http://www.w3.org/2001/XMLSchema#string">An inbred strain of rat used in many scientific investigations.</owl:annotatedTarget>
<obo:IAO_0000119 rdf:datatype="http://www.w3.org/2001/XMLSchema#string">James A. Overton</obo:IAO_0000119>
</owl:Axiom>



<!-- http://purl.obolibrary.org/obo/NCBITaxon_10090 -->

<owl:Class rdf:about="http://purl.obolibrary.org/obo/NCBITaxon_10090"/>



<!-- http://purl.obolibrary.org/obo/NCBITaxon_10116 -->

<owl:Class rdf:about="http://purl.obolibrary.org/obo/NCBITaxon_10116"/>



<!--
///////////////////////////////////////////////////////////////////////////////////////
//
// Individuals
//
///////////////////////////////////////////////////////////////////////////////////////
-->




<!-- http://example.com/rat-1234 -->

<owl:NamedIndividual rdf:about="http://example.com/rat-1234">
<rdf:type rdf:resource="http://example.com/F344N"/>
<example:propery-1 rdf:datatype="http://www.w3.org/2001/XMLSchema#decimal">0.2</example:propery-1>
<rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string">rat 1234</rdfs:label>
</owl:NamedIndividual>
</rdf:RDF>



<!-- Generated by the OWL API (version 4.5.6) https://github.com/owlcs/owlapi -->

Loading