Skip to content

Commit

Permalink
Update obo compliance suite using latest robot
Browse files Browse the repository at this point in the history
Using robot prerelease from owlcs/owlapi#1102
  • Loading branch information
cmungall committed May 1, 2024
1 parent aef85c6 commit 924547e
Show file tree
Hide file tree
Showing 250 changed files with 1,115 additions and 252 deletions.
4 changes: 4 additions & 0 deletions tests/input/obo-compliance/alt_id/alt_id.expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@
"id" : "http://www.geneontology.org/formats/oboInOwl#hasOBOFormatVersion",
"lbl" : "has_obo_format_version",
"type" : "PROPERTY"
}, {
"id" : "http://www.geneontology.org/formats/oboInOwl#id",
"lbl" : "id",
"type" : "PROPERTY"
} ]
} ]
}
4 changes: 4 additions & 0 deletions tests/input/obo-compliance/alt_id/alt_id.expected.ofn
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ AnnotationAssertion(rdfs:label <http://www.geneontology.org/formats/oboInOwl#has

AnnotationAssertion(rdfs:label <http://www.geneontology.org/formats/oboInOwl#hasOBOFormatVersion> "has_obo_format_version")

# Annotation Property: <http://www.geneontology.org/formats/oboInOwl#id> (id)

AnnotationAssertion(rdfs:label <http://www.geneontology.org/formats/oboInOwl#id> "id")



############################
Expand Down
6 changes: 4 additions & 2 deletions tests/input/obo-compliance/alt_id/alt_id.expected.owl
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@

<!-- http://www.geneontology.org/formats/oboInOwl#id -->

<owl:AnnotationProperty rdf:about="http://www.geneontology.org/formats/oboInOwl#id"/>
<owl:AnnotationProperty rdf:about="http://www.geneontology.org/formats/oboInOwl#id">
<rdfs:label>id</rdfs:label>
</owl:AnnotationProperty>



Expand Down Expand Up @@ -90,5 +92,5 @@



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

Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
"id" : "http://www.geneontology.org/formats/oboInOwl#hasOBOFormatVersion",
"lbl" : "has_obo_format_version",
"type" : "PROPERTY"
}, {
"id" : "http://www.geneontology.org/formats/oboInOwl#id",
"lbl" : "id",
"type" : "PROPERTY"
} ]
} ]
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ AnnotationAssertion(rdfs:label <http://www.geneontology.org/formats/oboInOwl#has

AnnotationAssertion(rdfs:label <http://www.geneontology.org/formats/oboInOwl#hasOBOFormatVersion> "has_obo_format_version")

# Annotation Property: <http://www.geneontology.org/formats/oboInOwl#id> (id)

AnnotationAssertion(rdfs:label <http://www.geneontology.org/formats/oboInOwl#id> "id")



############################
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@

<!-- http://www.geneontology.org/formats/oboInOwl#id -->

<owl:AnnotationProperty rdf:about="http://www.geneontology.org/formats/oboInOwl#id"/>
<owl:AnnotationProperty rdf:about="http://www.geneontology.org/formats/oboInOwl#id">
<rdfs:label>id</rdfs:label>
</owl:AnnotationProperty>



Expand Down Expand Up @@ -74,5 +76,5 @@



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

4 changes: 4 additions & 0 deletions tests/input/obo-compliance/comment/comment.expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
"id" : "http://www.geneontology.org/formats/oboInOwl#hasOBOFormatVersion",
"lbl" : "has_obo_format_version",
"type" : "PROPERTY"
}, {
"id" : "http://www.geneontology.org/formats/oboInOwl#id",
"lbl" : "id",
"type" : "PROPERTY"
} ]
} ]
}
4 changes: 4 additions & 0 deletions tests/input/obo-compliance/comment/comment.expected.ofn
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ Declaration(AnnotationProperty(rdfs:comment))

AnnotationAssertion(rdfs:label <http://www.geneontology.org/formats/oboInOwl#hasOBOFormatVersion> "has_obo_format_version")

# Annotation Property: <http://www.geneontology.org/formats/oboInOwl#id> (id)

AnnotationAssertion(rdfs:label <http://www.geneontology.org/formats/oboInOwl#id> "id")



############################
Expand Down
6 changes: 4 additions & 2 deletions tests/input/obo-compliance/comment/comment.expected.owl
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@

<!-- http://www.geneontology.org/formats/oboInOwl#id -->

<owl:AnnotationProperty rdf:about="http://www.geneontology.org/formats/oboInOwl#id"/>
<owl:AnnotationProperty rdf:about="http://www.geneontology.org/formats/oboInOwl#id">
<rdfs:label>id</rdfs:label>
</owl:AnnotationProperty>



Expand Down Expand Up @@ -65,5 +67,5 @@



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

Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"meta" : {
"basicPropertyValues" : [ {
"pred" : "http://www.geneontology.org/formats/oboInOwl#consider",
"val" : "X:3"
"val" : "http://purl.obolibrary.org/obo/X_3"
} ],
"deprecated" : true
}
Expand All @@ -25,6 +25,10 @@
"id" : "http://www.geneontology.org/formats/oboInOwl#hasOBOFormatVersion",
"lbl" : "has_obo_format_version",
"type" : "PROPERTY"
}, {
"id" : "http://www.geneontology.org/formats/oboInOwl#id",
"lbl" : "id",
"type" : "PROPERTY"
} ]
} ]
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ AnnotationAssertion(rdfs:label <http://www.geneontology.org/formats/oboInOwl#con

AnnotationAssertion(rdfs:label <http://www.geneontology.org/formats/oboInOwl#hasOBOFormatVersion> "has_obo_format_version")

# Annotation Property: <http://www.geneontology.org/formats/oboInOwl#id> (id)

AnnotationAssertion(rdfs:label <http://www.geneontology.org/formats/oboInOwl#id> "id")



############################
Expand All @@ -35,7 +39,7 @@ AnnotationAssertion(rdfs:label <http://www.geneontology.org/formats/oboInOwl#has

# Class: <http://purl.obolibrary.org/obo/X_1> (<http://purl.obolibrary.org/obo/X_1>)

AnnotationAssertion(Annotation(<http://www.geneontology.org/formats/oboInOwl#source> "PMID:123470") <http://www.geneontology.org/formats/oboInOwl#consider> <http://purl.obolibrary.org/obo/X_1> "X:3")
AnnotationAssertion(Annotation(<http://www.geneontology.org/formats/oboInOwl#source> "PMID:123470") <http://www.geneontology.org/formats/oboInOwl#consider> <http://purl.obolibrary.org/obo/X_1> <http://purl.obolibrary.org/obo/X_3>)
AnnotationAssertion(<http://www.geneontology.org/formats/oboInOwl#id> <http://purl.obolibrary.org/obo/X_1> "X:1")
AnnotationAssertion(owl:deprecated <http://purl.obolibrary.org/obo/X_1> "true"^^xsd:boolean)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@

<!-- http://www.geneontology.org/formats/oboInOwl#id -->

<owl:AnnotationProperty rdf:about="http://www.geneontology.org/formats/oboInOwl#id"/>
<owl:AnnotationProperty rdf:about="http://www.geneontology.org/formats/oboInOwl#id">
<rdfs:label>id</rdfs:label>
</owl:AnnotationProperty>



Expand Down Expand Up @@ -72,19 +74,19 @@
<!-- http://purl.obolibrary.org/obo/X_1 -->

<owl:Class rdf:about="http://purl.obolibrary.org/obo/X_1">
<oboInOwl:consider>X:3</oboInOwl:consider>
<oboInOwl:consider rdf:resource="http://purl.obolibrary.org/obo/X_3"/>
<oboInOwl:id>X:1</oboInOwl:id>
<owl:deprecated rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean">true</owl:deprecated>
</owl:Class>
<owl:Axiom>
<owl:annotatedSource rdf:resource="http://purl.obolibrary.org/obo/X_1"/>
<owl:annotatedProperty rdf:resource="http://www.geneontology.org/formats/oboInOwl#consider"/>
<owl:annotatedTarget>X:3</owl:annotatedTarget>
<owl:annotatedTarget rdf:resource="http://purl.obolibrary.org/obo/X_3"/>
<oboInOwl:source>PMID:123470</oboInOwl:source>
</owl:Axiom>
</rdf:RDF>



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

6 changes: 5 additions & 1 deletion tests/input/obo-compliance/consider/consider.expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"meta" : {
"basicPropertyValues" : [ {
"pred" : "http://www.geneontology.org/formats/oboInOwl#consider",
"val" : "X:3"
"val" : "http://purl.obolibrary.org/obo/X_3"
} ],
"deprecated" : true
}
Expand All @@ -25,6 +25,10 @@
"id" : "http://www.geneontology.org/formats/oboInOwl#hasOBOFormatVersion",
"lbl" : "has_obo_format_version",
"type" : "PROPERTY"
}, {
"id" : "http://www.geneontology.org/formats/oboInOwl#id",
"lbl" : "id",
"type" : "PROPERTY"
} ]
} ]
}
6 changes: 5 additions & 1 deletion tests/input/obo-compliance/consider/consider.expected.ofn
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ AnnotationAssertion(rdfs:label <http://www.geneontology.org/formats/oboInOwl#con

AnnotationAssertion(rdfs:label <http://www.geneontology.org/formats/oboInOwl#hasOBOFormatVersion> "has_obo_format_version")

# Annotation Property: <http://www.geneontology.org/formats/oboInOwl#id> (id)

AnnotationAssertion(rdfs:label <http://www.geneontology.org/formats/oboInOwl#id> "id")



############################
Expand All @@ -34,7 +38,7 @@ AnnotationAssertion(rdfs:label <http://www.geneontology.org/formats/oboInOwl#has

# Class: <http://purl.obolibrary.org/obo/X_1> (<http://purl.obolibrary.org/obo/X_1>)

AnnotationAssertion(<http://www.geneontology.org/formats/oboInOwl#consider> <http://purl.obolibrary.org/obo/X_1> "X:3")
AnnotationAssertion(<http://www.geneontology.org/formats/oboInOwl#consider> <http://purl.obolibrary.org/obo/X_1> <http://purl.obolibrary.org/obo/X_3>)
AnnotationAssertion(<http://www.geneontology.org/formats/oboInOwl#id> <http://purl.obolibrary.org/obo/X_1> "X:1")
AnnotationAssertion(owl:deprecated <http://purl.obolibrary.org/obo/X_1> "true"^^xsd:boolean)

Expand Down
8 changes: 5 additions & 3 deletions tests/input/obo-compliance/consider/consider.expected.owl
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@

<!-- http://www.geneontology.org/formats/oboInOwl#id -->

<owl:AnnotationProperty rdf:about="http://www.geneontology.org/formats/oboInOwl#id"/>
<owl:AnnotationProperty rdf:about="http://www.geneontology.org/formats/oboInOwl#id">
<rdfs:label>id</rdfs:label>
</owl:AnnotationProperty>



Expand All @@ -66,13 +68,13 @@
<!-- http://purl.obolibrary.org/obo/X_1 -->

<owl:Class rdf:about="http://purl.obolibrary.org/obo/X_1">
<oboInOwl:consider>X:3</oboInOwl:consider>
<oboInOwl:consider rdf:resource="http://purl.obolibrary.org/obo/X_3"/>
<oboInOwl:id>X:1</oboInOwl:id>
<owl:deprecated rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean">true</owl:deprecated>
</owl:Class>
</rdf:RDF>



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

Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,18 @@
"val" : "ORCID:1234"
} ]
}
}, {
"id" : "http://www.geneontology.org/formats/oboInOwl#created_by",
"lbl" : "created by",
"type" : "PROPERTY"
}, {
"id" : "http://www.geneontology.org/formats/oboInOwl#hasOBOFormatVersion",
"lbl" : "has_obo_format_version",
"type" : "PROPERTY"
}, {
"id" : "http://www.geneontology.org/formats/oboInOwl#id",
"lbl" : "id",
"type" : "PROPERTY"
} ]
} ]
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,18 @@ Declaration(AnnotationProperty(<http://www.geneontology.org/formats/oboInOwl#sou
# Annotation Properties
############################

# Annotation Property: <http://www.geneontology.org/formats/oboInOwl#created_by> (created by)

AnnotationAssertion(rdfs:label <http://www.geneontology.org/formats/oboInOwl#created_by> "created by")

# Annotation Property: <http://www.geneontology.org/formats/oboInOwl#hasOBOFormatVersion> (has_obo_format_version)

AnnotationAssertion(rdfs:label <http://www.geneontology.org/formats/oboInOwl#hasOBOFormatVersion> "has_obo_format_version")

# Annotation Property: <http://www.geneontology.org/formats/oboInOwl#id> (id)

AnnotationAssertion(rdfs:label <http://www.geneontology.org/formats/oboInOwl#id> "id")



############################
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@

<!-- http://www.geneontology.org/formats/oboInOwl#created_by -->

<owl:AnnotationProperty rdf:about="http://www.geneontology.org/formats/oboInOwl#created_by"/>
<owl:AnnotationProperty rdf:about="http://www.geneontology.org/formats/oboInOwl#created_by">
<rdfs:label>created by</rdfs:label>
</owl:AnnotationProperty>



Expand All @@ -40,7 +42,9 @@

<!-- http://www.geneontology.org/formats/oboInOwl#id -->

<owl:AnnotationProperty rdf:about="http://www.geneontology.org/formats/oboInOwl#id"/>
<owl:AnnotationProperty rdf:about="http://www.geneontology.org/formats/oboInOwl#id">
<rdfs:label>id</rdfs:label>
</owl:AnnotationProperty>



Expand Down Expand Up @@ -77,5 +81,5 @@



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

Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,18 @@
"val" : "username"
} ]
}
}, {
"id" : "http://www.geneontology.org/formats/oboInOwl#created_by",
"lbl" : "created by",
"type" : "PROPERTY"
}, {
"id" : "http://www.geneontology.org/formats/oboInOwl#hasOBOFormatVersion",
"lbl" : "has_obo_format_version",
"type" : "PROPERTY"
}, {
"id" : "http://www.geneontology.org/formats/oboInOwl#id",
"lbl" : "id",
"type" : "PROPERTY"
} ]
} ]
}
8 changes: 8 additions & 0 deletions tests/input/obo-compliance/created_by/created_by.expected.ofn
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,18 @@ Declaration(AnnotationProperty(<http://www.geneontology.org/formats/oboInOwl#id>
# Annotation Properties
############################

# Annotation Property: <http://www.geneontology.org/formats/oboInOwl#created_by> (created by)

AnnotationAssertion(rdfs:label <http://www.geneontology.org/formats/oboInOwl#created_by> "created by")

# Annotation Property: <http://www.geneontology.org/formats/oboInOwl#hasOBOFormatVersion> (has_obo_format_version)

AnnotationAssertion(rdfs:label <http://www.geneontology.org/formats/oboInOwl#hasOBOFormatVersion> "has_obo_format_version")

# Annotation Property: <http://www.geneontology.org/formats/oboInOwl#id> (id)

AnnotationAssertion(rdfs:label <http://www.geneontology.org/formats/oboInOwl#id> "id")



############################
Expand Down
Loading

0 comments on commit 924547e

Please sign in to comment.