Skip to content

Commit 137e5ef

Browse files
authored
Update obo compliance suite using latest robot (#747)
Using robot prerelease from owlcs/owlapi#1102
1 parent 393cdb6 commit 137e5ef

File tree

250 files changed

+1115
-252
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

250 files changed

+1115
-252
lines changed

tests/input/obo-compliance/alt_id/alt_id.expected.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@
3737
"id" : "http://www.geneontology.org/formats/oboInOwl#hasOBOFormatVersion",
3838
"lbl" : "has_obo_format_version",
3939
"type" : "PROPERTY"
40+
}, {
41+
"id" : "http://www.geneontology.org/formats/oboInOwl#id",
42+
"lbl" : "id",
43+
"type" : "PROPERTY"
4044
} ]
4145
} ]
4246
}

tests/input/obo-compliance/alt_id/alt_id.expected.ofn

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ AnnotationAssertion(rdfs:label <http://www.geneontology.org/formats/oboInOwl#has
2828

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

31+
# Annotation Property: <http://www.geneontology.org/formats/oboInOwl#id> (id)
32+
33+
AnnotationAssertion(rdfs:label <http://www.geneontology.org/formats/oboInOwl#id> "id")
34+
3135

3236

3337
############################

tests/input/obo-compliance/alt_id/alt_id.expected.owl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@
5555

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

58-
<owl:AnnotationProperty rdf:about="http://www.geneontology.org/formats/oboInOwl#id"/>
58+
<owl:AnnotationProperty rdf:about="http://www.geneontology.org/formats/oboInOwl#id">
59+
<rdfs:label>id</rdfs:label>
60+
</owl:AnnotationProperty>
5961

6062

6163

@@ -90,5 +92,5 @@
9092

9193

9294

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

tests/input/obo-compliance/broad_synonym/broad_synonym.expected.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@
2525
"id" : "http://www.geneontology.org/formats/oboInOwl#hasOBOFormatVersion",
2626
"lbl" : "has_obo_format_version",
2727
"type" : "PROPERTY"
28+
}, {
29+
"id" : "http://www.geneontology.org/formats/oboInOwl#id",
30+
"lbl" : "id",
31+
"type" : "PROPERTY"
2832
} ]
2933
} ]
3034
}

tests/input/obo-compliance/broad_synonym/broad_synonym.expected.ofn

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ AnnotationAssertion(rdfs:label <http://www.geneontology.org/formats/oboInOwl#has
2626

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

29+
# Annotation Property: <http://www.geneontology.org/formats/oboInOwl#id> (id)
30+
31+
AnnotationAssertion(rdfs:label <http://www.geneontology.org/formats/oboInOwl#id> "id")
32+
2933

3034

3135
############################

tests/input/obo-compliance/broad_synonym/broad_synonym.expected.owl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@
4242

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

45-
<owl:AnnotationProperty rdf:about="http://www.geneontology.org/formats/oboInOwl#id"/>
45+
<owl:AnnotationProperty rdf:about="http://www.geneontology.org/formats/oboInOwl#id">
46+
<rdfs:label>id</rdfs:label>
47+
</owl:AnnotationProperty>
4648

4749

4850

@@ -74,5 +76,5 @@
7476

7577

7678

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

tests/input/obo-compliance/comment/comment.expected.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@
1111
"id" : "http://www.geneontology.org/formats/oboInOwl#hasOBOFormatVersion",
1212
"lbl" : "has_obo_format_version",
1313
"type" : "PROPERTY"
14+
}, {
15+
"id" : "http://www.geneontology.org/formats/oboInOwl#id",
16+
"lbl" : "id",
17+
"type" : "PROPERTY"
1418
} ]
1519
} ]
1620
}

tests/input/obo-compliance/comment/comment.expected.ofn

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ Declaration(AnnotationProperty(rdfs:comment))
2121

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

24+
# Annotation Property: <http://www.geneontology.org/formats/oboInOwl#id> (id)
25+
26+
AnnotationAssertion(rdfs:label <http://www.geneontology.org/formats/oboInOwl#id> "id")
27+
2428

2529

2630
############################

tests/input/obo-compliance/comment/comment.expected.owl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@
3434

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

37-
<owl:AnnotationProperty rdf:about="http://www.geneontology.org/formats/oboInOwl#id"/>
37+
<owl:AnnotationProperty rdf:about="http://www.geneontology.org/formats/oboInOwl#id">
38+
<rdfs:label>id</rdfs:label>
39+
</owl:AnnotationProperty>
3840

3941

4042

@@ -65,5 +67,5 @@
6567

6668

6769

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

tests/input/obo-compliance/consider-annotated/consider-annotated.expected.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"meta" : {
1414
"basicPropertyValues" : [ {
1515
"pred" : "http://www.geneontology.org/formats/oboInOwl#consider",
16-
"val" : "X:3"
16+
"val" : "http://purl.obolibrary.org/obo/X_3"
1717
} ],
1818
"deprecated" : true
1919
}
@@ -25,6 +25,10 @@
2525
"id" : "http://www.geneontology.org/formats/oboInOwl#hasOBOFormatVersion",
2626
"lbl" : "has_obo_format_version",
2727
"type" : "PROPERTY"
28+
}, {
29+
"id" : "http://www.geneontology.org/formats/oboInOwl#id",
30+
"lbl" : "id",
31+
"type" : "PROPERTY"
2832
} ]
2933
} ]
3034
}

tests/input/obo-compliance/consider-annotated/consider-annotated.expected.ofn

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ AnnotationAssertion(rdfs:label <http://www.geneontology.org/formats/oboInOwl#con
2727

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

30+
# Annotation Property: <http://www.geneontology.org/formats/oboInOwl#id> (id)
31+
32+
AnnotationAssertion(rdfs:label <http://www.geneontology.org/formats/oboInOwl#id> "id")
33+
3034

3135

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

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

38-
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")
42+
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>)
3943
AnnotationAssertion(<http://www.geneontology.org/formats/oboInOwl#id> <http://purl.obolibrary.org/obo/X_1> "X:1")
4044
AnnotationAssertion(owl:deprecated <http://purl.obolibrary.org/obo/X_1> "true"^^xsd:boolean)
4145

tests/input/obo-compliance/consider-annotated/consider-annotated.expected.owl

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@
4242

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

45-
<owl:AnnotationProperty rdf:about="http://www.geneontology.org/formats/oboInOwl#id"/>
45+
<owl:AnnotationProperty rdf:about="http://www.geneontology.org/formats/oboInOwl#id">
46+
<rdfs:label>id</rdfs:label>
47+
</owl:AnnotationProperty>
4648

4749

4850

@@ -72,19 +74,19 @@
7274
<!-- http://purl.obolibrary.org/obo/X_1 -->
7375

7476
<owl:Class rdf:about="http://purl.obolibrary.org/obo/X_1">
75-
<oboInOwl:consider>X:3</oboInOwl:consider>
77+
<oboInOwl:consider rdf:resource="http://purl.obolibrary.org/obo/X_3"/>
7678
<oboInOwl:id>X:1</oboInOwl:id>
7779
<owl:deprecated rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean">true</owl:deprecated>
7880
</owl:Class>
7981
<owl:Axiom>
8082
<owl:annotatedSource rdf:resource="http://purl.obolibrary.org/obo/X_1"/>
8183
<owl:annotatedProperty rdf:resource="http://www.geneontology.org/formats/oboInOwl#consider"/>
82-
<owl:annotatedTarget>X:3</owl:annotatedTarget>
84+
<owl:annotatedTarget rdf:resource="http://purl.obolibrary.org/obo/X_3"/>
8385
<oboInOwl:source>PMID:123470</oboInOwl:source>
8486
</owl:Axiom>
8587
</rdf:RDF>
8688

8789

8890

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

tests/input/obo-compliance/consider/consider.expected.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"meta" : {
1414
"basicPropertyValues" : [ {
1515
"pred" : "http://www.geneontology.org/formats/oboInOwl#consider",
16-
"val" : "X:3"
16+
"val" : "http://purl.obolibrary.org/obo/X_3"
1717
} ],
1818
"deprecated" : true
1919
}
@@ -25,6 +25,10 @@
2525
"id" : "http://www.geneontology.org/formats/oboInOwl#hasOBOFormatVersion",
2626
"lbl" : "has_obo_format_version",
2727
"type" : "PROPERTY"
28+
}, {
29+
"id" : "http://www.geneontology.org/formats/oboInOwl#id",
30+
"lbl" : "id",
31+
"type" : "PROPERTY"
2832
} ]
2933
} ]
3034
}

tests/input/obo-compliance/consider/consider.expected.ofn

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ AnnotationAssertion(rdfs:label <http://www.geneontology.org/formats/oboInOwl#con
2626

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

29+
# Annotation Property: <http://www.geneontology.org/formats/oboInOwl#id> (id)
30+
31+
AnnotationAssertion(rdfs:label <http://www.geneontology.org/formats/oboInOwl#id> "id")
32+
2933

3034

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

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

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

tests/input/obo-compliance/consider/consider.expected.owl

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@
4242

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

45-
<owl:AnnotationProperty rdf:about="http://www.geneontology.org/formats/oboInOwl#id"/>
45+
<owl:AnnotationProperty rdf:about="http://www.geneontology.org/formats/oboInOwl#id">
46+
<rdfs:label>id</rdfs:label>
47+
</owl:AnnotationProperty>
4648

4749

4850

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

6870
<owl:Class rdf:about="http://purl.obolibrary.org/obo/X_1">
69-
<oboInOwl:consider>X:3</oboInOwl:consider>
71+
<oboInOwl:consider rdf:resource="http://purl.obolibrary.org/obo/X_3"/>
7072
<oboInOwl:id>X:1</oboInOwl:id>
7173
<owl:deprecated rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean">true</owl:deprecated>
7274
</owl:Class>
7375
</rdf:RDF>
7476

7577

7678

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

tests/input/obo-compliance/created_by-annotated/created_by-annotated.expected.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,18 @@
1616
"val" : "ORCID:1234"
1717
} ]
1818
}
19+
}, {
20+
"id" : "http://www.geneontology.org/formats/oboInOwl#created_by",
21+
"lbl" : "created by",
22+
"type" : "PROPERTY"
1923
}, {
2024
"id" : "http://www.geneontology.org/formats/oboInOwl#hasOBOFormatVersion",
2125
"lbl" : "has_obo_format_version",
2226
"type" : "PROPERTY"
27+
}, {
28+
"id" : "http://www.geneontology.org/formats/oboInOwl#id",
29+
"lbl" : "id",
30+
"type" : "PROPERTY"
2331
} ]
2432
} ]
2533
}

tests/input/obo-compliance/created_by-annotated/created_by-annotated.expected.ofn

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,18 @@ Declaration(AnnotationProperty(<http://www.geneontology.org/formats/oboInOwl#sou
1818
# Annotation Properties
1919
############################
2020

21+
# Annotation Property: <http://www.geneontology.org/formats/oboInOwl#created_by> (created by)
22+
23+
AnnotationAssertion(rdfs:label <http://www.geneontology.org/formats/oboInOwl#created_by> "created by")
24+
2125
# Annotation Property: <http://www.geneontology.org/formats/oboInOwl#hasOBOFormatVersion> (has_obo_format_version)
2226

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

29+
# Annotation Property: <http://www.geneontology.org/formats/oboInOwl#id> (id)
30+
31+
AnnotationAssertion(rdfs:label <http://www.geneontology.org/formats/oboInOwl#id> "id")
32+
2533

2634

2735
############################

tests/input/obo-compliance/created_by-annotated/created_by-annotated.expected.owl

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@
2626

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

29-
<owl:AnnotationProperty rdf:about="http://www.geneontology.org/formats/oboInOwl#created_by"/>
29+
<owl:AnnotationProperty rdf:about="http://www.geneontology.org/formats/oboInOwl#created_by">
30+
<rdfs:label>created by</rdfs:label>
31+
</owl:AnnotationProperty>
3032

3133

3234

@@ -40,7 +42,9 @@
4042

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

43-
<owl:AnnotationProperty rdf:about="http://www.geneontology.org/formats/oboInOwl#id"/>
45+
<owl:AnnotationProperty rdf:about="http://www.geneontology.org/formats/oboInOwl#id">
46+
<rdfs:label>id</rdfs:label>
47+
</owl:AnnotationProperty>
4448

4549

4650

@@ -77,5 +81,5 @@
7781

7882

7983

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

tests/input/obo-compliance/created_by/created_by.expected.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,18 @@
1616
"val" : "username"
1717
} ]
1818
}
19+
}, {
20+
"id" : "http://www.geneontology.org/formats/oboInOwl#created_by",
21+
"lbl" : "created by",
22+
"type" : "PROPERTY"
1923
}, {
2024
"id" : "http://www.geneontology.org/formats/oboInOwl#hasOBOFormatVersion",
2125
"lbl" : "has_obo_format_version",
2226
"type" : "PROPERTY"
27+
}, {
28+
"id" : "http://www.geneontology.org/formats/oboInOwl#id",
29+
"lbl" : "id",
30+
"type" : "PROPERTY"
2331
} ]
2432
} ]
2533
}

tests/input/obo-compliance/created_by/created_by.expected.ofn

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,18 @@ Declaration(AnnotationProperty(<http://www.geneontology.org/formats/oboInOwl#id>
1717
# Annotation Properties
1818
############################
1919

20+
# Annotation Property: <http://www.geneontology.org/formats/oboInOwl#created_by> (created by)
21+
22+
AnnotationAssertion(rdfs:label <http://www.geneontology.org/formats/oboInOwl#created_by> "created by")
23+
2024
# Annotation Property: <http://www.geneontology.org/formats/oboInOwl#hasOBOFormatVersion> (has_obo_format_version)
2125

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

28+
# Annotation Property: <http://www.geneontology.org/formats/oboInOwl#id> (id)
29+
30+
AnnotationAssertion(rdfs:label <http://www.geneontology.org/formats/oboInOwl#id> "id")
31+
2432

2533

2634
############################

0 commit comments

Comments
 (0)