Skip to content

Commit

Permalink
Merge pull request #261 from oborel/domain-range-constraints
Browse files Browse the repository at this point in the history
Ready to merge: Domain and range constraints
  • Loading branch information
cmungall authored Oct 20, 2018
2 parents 2a86292 + b986d61 commit 9f23e93
Show file tree
Hide file tree
Showing 52 changed files with 7,302 additions and 7,925 deletions.
9 changes: 9 additions & 0 deletions bfo-classes-minimal.owl
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,15 @@
<rdfs:subClassOf rdf:resource="http://www.geneontology.org/formats/oboInOwl#ObsoleteClass"/>
<obo:IAO_0000115 xml:lang="en">A continuant that is either dependent on one or other independent continuant bearers or inheres in or is borne by other entities.</obo:IAO_0000115>
</owl:Class>



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

<owl:Class rdf:about="&obo;BFO_0000006">
<rdfs:label xml:lang="en">spatial region</rdfs:label>
<rdfs:subClassOf rdf:resource="&obo;BFO_0000141"/>
</owl:Class>



Expand Down
101 changes: 100 additions & 1 deletion core.owl
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,71 @@



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




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

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



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

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



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

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



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

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



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

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



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

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



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

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



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

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



<!-- http://purl.org/dc/elements/1.1/source -->

<owl:AnnotationProperty rdf:about="http://purl.org/dc/elements/1.1/source"/>



<!--
///////////////////////////////////////////////////////////////////////////////////////
//
Expand Down Expand Up @@ -405,6 +470,28 @@ A continuant cannot have an occurrent as part: use &apos;participates in&apos;.

<owl:ObjectProperty rdf:about="http://purl.obolibrary.org/obo/RO_0001025">
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#TransitiveProperty"/>
<rdfs:domain rdf:resource="http://purl.obolibrary.org/obo/BFO_0000004"/>
<rdfs:domain>
<owl:Class>
<owl:intersectionOf rdf:parseType="Collection">
<rdf:Description rdf:about="http://purl.obolibrary.org/obo/BFO_0000004"/>
<owl:Class>
<owl:complementOf rdf:resource="http://purl.obolibrary.org/obo/BFO_0000006"/>
</owl:Class>
</owl:intersectionOf>
</owl:Class>
</rdfs:domain>
<rdfs:range rdf:resource="http://purl.obolibrary.org/obo/BFO_0000004"/>
<rdfs:range>
<owl:Class>
<owl:intersectionOf rdf:parseType="Collection">
<rdf:Description rdf:about="http://purl.obolibrary.org/obo/BFO_0000004"/>
<owl:Class>
<owl:complementOf rdf:resource="http://purl.obolibrary.org/obo/BFO_0000006"/>
</owl:Class>
</owl:intersectionOf>
</owl:Class>
</rdfs:range>
<obo:IAO_0000111 xml:lang="en">located in</obo:IAO_0000111>
<obo:IAO_0000112 xml:lang="en">my brain is located in my head</obo:IAO_0000112>
<obo:IAO_0000112 xml:lang="en">this rat is located in this cage</obo:IAO_0000112>
Expand All @@ -416,6 +503,18 @@ A continuant cannot have an occurrent as part: use &apos;participates in&apos;.
<dc:source>http://www.obofoundry.org/ro/#OBO_REL:located_in</dc:source>
<rdfs:label xml:lang="en">located in</rdfs:label>
</owl:ObjectProperty>
<owl:Axiom>
<owl:annotatedSource rdf:resource="http://purl.obolibrary.org/obo/RO_0001025"/>
<owl:annotatedProperty rdf:resource="http://www.w3.org/2000/01/rdf-schema#range"/>
<owl:annotatedTarget rdf:resource="http://purl.obolibrary.org/obo/BFO_0000004"/>
<obo:IAO_0000116>This is redundant with the more specific &apos;independent and not spatial region&apos; constraint. We leave in the redundant axiom for use with reasoners that do not use negation.</obo:IAO_0000116>
</owl:Axiom>
<owl:Axiom>
<owl:annotatedSource rdf:resource="http://purl.obolibrary.org/obo/RO_0001025"/>
<owl:annotatedProperty rdf:resource="http://www.w3.org/2000/01/rdf-schema#domain"/>
<owl:annotatedTarget rdf:resource="http://purl.obolibrary.org/obo/BFO_0000004"/>
<obo:IAO_0000116>This is redundant with the more specific &apos;independent and not spatial region&apos; constraint. We leave in the redundant axiom for use with reasoners that do not use negation.</obo:IAO_0000116>
</owl:Axiom>



Expand Down Expand Up @@ -521,5 +620,5 @@ A continuant cannot have an occurrent as part: use &apos;participates in&apos;.



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

Loading

0 comments on commit 9f23e93

Please sign in to comment.