Skip to content

Commit d4105ae

Browse files
Merge pull request #1194 from ontodev/repair-merge-annotations
Make repair command more flexible
2 parents 1598c45 + 8af165c commit d4105ae

File tree

5 files changed

+664
-6
lines changed

5 files changed

+664
-6
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2222
- [`merge`] and 'annotate' operations '--annotate-defined-by' excludes reserved OWL 2 vocabularies [#1171]
2323
- Handle IRIs that are not entities in export [#1168]
2424
- Fix integration tests [#1181]
25+
- `robot repair` is fixed to be more flexible, to enable partial repairs [#1194]
2526
- Invalid Xrefs test has been fixed to recognise invalid CURIEs correctly [#1127]
2627
- Fix issue with correctly determining base entities [#1108]
2728

Lines changed: 297 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,297 @@
1+
<?xml version="1.0"?>
2+
<rdf:RDF xmlns="http://purl.obolibrary.org/obo/uberon.owl#"
3+
xml:base="http://purl.obolibrary.org/obo/uberon.owl"
4+
xmlns:obo="http://purl.obolibrary.org/obo/"
5+
xmlns:owl="http://www.w3.org/2002/07/owl#"
6+
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
7+
xmlns:xml="http://www.w3.org/XML/1998/namespace"
8+
xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
9+
xmlns:foaf="http://xmlns.com/foaf/0.1/"
10+
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
11+
xmlns:oboInOwl="http://www.geneontology.org/formats/oboInOwl#">
12+
<owl:Ontology rdf:about="http://purl.obolibrary.org/obo/uberon.owl"/>
13+
14+
15+
16+
<!--
17+
///////////////////////////////////////////////////////////////////////////////////////
18+
//
19+
// Annotation properties
20+
//
21+
///////////////////////////////////////////////////////////////////////////////////////
22+
-->
23+
24+
25+
26+
27+
<!-- http://purl.obolibrary.org/obo/IAO_0000115 -->
28+
29+
<owl:AnnotationProperty rdf:about="http://purl.obolibrary.org/obo/IAO_0000115"/>
30+
31+
32+
33+
<!-- http://purl.obolibrary.org/obo/IAO_0000116 -->
34+
35+
<owl:AnnotationProperty rdf:about="http://purl.obolibrary.org/obo/IAO_0000116"/>
36+
37+
38+
39+
<!-- http://purl.obolibrary.org/obo/IAO_0000232 -->
40+
41+
<owl:AnnotationProperty rdf:about="http://purl.obolibrary.org/obo/IAO_0000232"/>
42+
43+
44+
45+
<!-- http://purl.obolibrary.org/obo/RO_0002174 -->
46+
47+
<owl:AnnotationProperty rdf:about="http://purl.obolibrary.org/obo/RO_0002174"/>
48+
49+
50+
51+
<!-- http://purl.obolibrary.org/obo/RO_0002175 -->
52+
53+
<owl:AnnotationProperty rdf:about="http://purl.obolibrary.org/obo/RO_0002175"/>
54+
55+
56+
57+
<!-- http://purl.obolibrary.org/obo/UBPROP_0000001 -->
58+
59+
<owl:AnnotationProperty rdf:about="http://purl.obolibrary.org/obo/UBPROP_0000001"/>
60+
61+
62+
63+
<!-- http://purl.obolibrary.org/obo/UBPROP_0000003 -->
64+
65+
<owl:AnnotationProperty rdf:about="http://purl.obolibrary.org/obo/UBPROP_0000003"/>
66+
67+
68+
69+
<!-- http://purl.obolibrary.org/obo/UBPROP_0000007 -->
70+
71+
<owl:AnnotationProperty rdf:about="http://purl.obolibrary.org/obo/UBPROP_0000007"/>
72+
73+
74+
75+
<!-- http://purl.obolibrary.org/obo/UBPROP_0000008 -->
76+
77+
<owl:AnnotationProperty rdf:about="http://purl.obolibrary.org/obo/UBPROP_0000008"/>
78+
79+
80+
81+
<!-- http://purl.obolibrary.org/obo/UBPROP_0000009 -->
82+
83+
<owl:AnnotationProperty rdf:about="http://purl.obolibrary.org/obo/UBPROP_0000009"/>
84+
85+
86+
87+
<!-- http://purl.obolibrary.org/obo/UBPROP_0000012 -->
88+
89+
<owl:AnnotationProperty rdf:about="http://purl.obolibrary.org/obo/UBPROP_0000012"/>
90+
91+
92+
93+
<!-- http://www.geneontology.org/formats/oboInOwl#date_retrieved -->
94+
95+
<owl:AnnotationProperty rdf:about="http://www.geneontology.org/formats/oboInOwl#date_retrieved"/>
96+
97+
98+
99+
<!-- http://www.geneontology.org/formats/oboInOwl#external_class -->
100+
101+
<owl:AnnotationProperty rdf:about="http://www.geneontology.org/formats/oboInOwl#external_class"/>
102+
103+
104+
105+
<!-- http://www.geneontology.org/formats/oboInOwl#external_ontology -->
106+
107+
<owl:AnnotationProperty rdf:about="http://www.geneontology.org/formats/oboInOwl#external_ontology"/>
108+
109+
110+
111+
<!-- http://www.geneontology.org/formats/oboInOwl#hasAlternativeId -->
112+
113+
<owl:AnnotationProperty rdf:about="http://www.geneontology.org/formats/oboInOwl#hasAlternativeId"/>
114+
115+
116+
117+
<!-- http://www.geneontology.org/formats/oboInOwl#hasBroadSynonym -->
118+
119+
<owl:AnnotationProperty rdf:about="http://www.geneontology.org/formats/oboInOwl#hasBroadSynonym"/>
120+
121+
122+
123+
<!-- http://www.geneontology.org/formats/oboInOwl#hasDbXref -->
124+
125+
<owl:AnnotationProperty rdf:about="http://www.geneontology.org/formats/oboInOwl#hasDbXref"/>
126+
127+
128+
129+
<!-- http://www.geneontology.org/formats/oboInOwl#hasExactSynonym -->
130+
131+
<owl:AnnotationProperty rdf:about="http://www.geneontology.org/formats/oboInOwl#hasExactSynonym"/>
132+
133+
134+
135+
<!-- http://www.geneontology.org/formats/oboInOwl#hasNarrowSynonym -->
136+
137+
<owl:AnnotationProperty rdf:about="http://www.geneontology.org/formats/oboInOwl#hasNarrowSynonym"/>
138+
139+
140+
141+
<!-- http://www.geneontology.org/formats/oboInOwl#hasOBONamespace -->
142+
143+
<owl:AnnotationProperty rdf:about="http://www.geneontology.org/formats/oboInOwl#hasOBONamespace"/>
144+
145+
146+
147+
<!-- http://www.geneontology.org/formats/oboInOwl#hasRelatedSynonym -->
148+
149+
<owl:AnnotationProperty rdf:about="http://www.geneontology.org/formats/oboInOwl#hasRelatedSynonym"/>
150+
151+
152+
153+
<!-- http://www.geneontology.org/formats/oboInOwl#hasSynonymType -->
154+
155+
<owl:AnnotationProperty rdf:about="http://www.geneontology.org/formats/oboInOwl#hasSynonymType"/>
156+
157+
158+
159+
<!-- http://www.geneontology.org/formats/oboInOwl#id -->
160+
161+
<owl:AnnotationProperty rdf:about="http://www.geneontology.org/formats/oboInOwl#id"/>
162+
163+
164+
165+
<!-- http://www.geneontology.org/formats/oboInOwl#inSubset -->
166+
167+
<owl:AnnotationProperty rdf:about="http://www.geneontology.org/formats/oboInOwl#inSubset"/>
168+
169+
170+
171+
<!-- http://www.geneontology.org/formats/oboInOwl#notes -->
172+
173+
<owl:AnnotationProperty rdf:about="http://www.geneontology.org/formats/oboInOwl#notes"/>
174+
175+
176+
177+
<!-- http://www.geneontology.org/formats/oboInOwl#ontology -->
178+
179+
<owl:AnnotationProperty rdf:about="http://www.geneontology.org/formats/oboInOwl#ontology"/>
180+
181+
182+
183+
<!-- http://www.geneontology.org/formats/oboInOwl#shorthand -->
184+
185+
<owl:AnnotationProperty rdf:about="http://www.geneontology.org/formats/oboInOwl#shorthand"/>
186+
187+
188+
189+
<!-- http://www.geneontology.org/formats/oboInOwl#source -->
190+
191+
<owl:AnnotationProperty rdf:about="http://www.geneontology.org/formats/oboInOwl#source"/>
192+
193+
194+
195+
<!-- http://xmlns.com/foaf/0.1/depicted_by -->
196+
197+
<owl:AnnotationProperty rdf:about="http://xmlns.com/foaf/0.1/depicted_by"/>
198+
199+
200+
201+
<!--
202+
///////////////////////////////////////////////////////////////////////////////////////
203+
//
204+
// Object Properties
205+
//
206+
///////////////////////////////////////////////////////////////////////////////////////
207+
-->
208+
209+
210+
211+
212+
<!-- http://purl.obolibrary.org/obo/BFO_0000050 -->
213+
214+
<owl:ObjectProperty rdf:about="http://purl.obolibrary.org/obo/BFO_0000050">
215+
<owl:inverseOf rdf:resource="http://purl.obolibrary.org/obo/BFO_0000051"/>
216+
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#TransitiveProperty"/>
217+
<oboInOwl:hasDbXref>BFO:0000050</oboInOwl:hasDbXref>
218+
<oboInOwl:hasOBONamespace>uberon</oboInOwl:hasOBONamespace>
219+
<oboInOwl:id>part_of</oboInOwl:id>
220+
<oboInOwl:shorthand>part_of</oboInOwl:shorthand>
221+
<rdfs:label>part_of</rdfs:label>
222+
</owl:ObjectProperty>
223+
224+
225+
226+
<!-- http://purl.obolibrary.org/obo/BFO_0000051 -->
227+
228+
<owl:ObjectProperty rdf:about="http://purl.obolibrary.org/obo/BFO_0000051">
229+
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#TransitiveProperty"/>
230+
<oboInOwl:hasDbXref>BFO:0000051</oboInOwl:hasDbXref>
231+
<oboInOwl:hasOBONamespace>uberon</oboInOwl:hasOBONamespace>
232+
<oboInOwl:id>has_part</oboInOwl:id>
233+
<oboInOwl:shorthand>has_part</oboInOwl:shorthand>
234+
<rdfs:label>has_part</rdfs:label>
235+
</owl:ObjectProperty>
236+
237+
238+
239+
<!--
240+
///////////////////////////////////////////////////////////////////////////////////////
241+
//
242+
// Classes
243+
//
244+
///////////////////////////////////////////////////////////////////////////////////////
245+
-->
246+
247+
248+
249+
250+
<!-- http://purl.obolibrary.org/obo/UBERON_0000062 -->
251+
252+
<owl:Class rdf:about="http://purl.obolibrary.org/obo/UBERON_0000062">
253+
<rdfs:subClassOf>
254+
<owl:Restriction>
255+
<owl:onProperty rdf:resource="http://purl.obolibrary.org/obo/BFO_0000050"/>
256+
<owl:someValuesFrom rdf:resource="http://purl.obolibrary.org/obo/UBERON_0000467"/>
257+
</owl:Restriction>
258+
</rdfs:subClassOf>
259+
<obo:IAO_0000115>Anatomical structure that performs a specific function or group of functions [WP].</obo:IAO_0000115>
260+
<oboInOwl:hasDbXref rdf:resource="http://en.wikipedia.org/wiki/page1"/>
261+
<oboInOwl:hasDbXref rdf:resource="http://en.wikipedia.org/wiki/page2"/>
262+
<oboInOwl:hasDbXref rdf:resource="http://linkedlifedata.com/resource/umls/id/C0178784"/>
263+
<oboInOwl:hasDbXref rdf:resource="http://ncicb.nci.nih.gov/xml/owl/EVS/Organ"/>
264+
<oboInOwl:hasDbXref>WBbt:0003760</oboInOwl:hasDbXref>
265+
<oboInOwl:hasRelatedSynonym>anatomical unit</oboInOwl:hasRelatedSynonym>
266+
<oboInOwl:hasRelatedSynonym>body organ</oboInOwl:hasRelatedSynonym>
267+
<oboInOwl:hasRelatedSynonym>element</oboInOwl:hasRelatedSynonym>
268+
<oboInOwl:id>UBERON:0000062</oboInOwl:id>
269+
<rdfs:label>organ</rdfs:label>
270+
</owl:Class>
271+
<owl:Axiom>
272+
<owl:annotatedSource rdf:resource="http://purl.obolibrary.org/obo/UBERON_0000062"/>
273+
<owl:annotatedProperty rdf:resource="http://purl.obolibrary.org/obo/IAO_0000115"/>
274+
<owl:annotatedTarget>Anatomical structure that performs a specific function or group of functions [WP].</owl:annotatedTarget>
275+
<oboInOwl:hasDbXref rdf:resource="http://en.wikipedia.org/wiki/page1"/>
276+
<oboInOwl:hasDbXref rdf:resource="http://en.wikipedia.org/wiki/page2"/>
277+
</owl:Axiom>
278+
<owl:Axiom>
279+
<owl:annotatedSource rdf:resource="http://purl.obolibrary.org/obo/UBERON_0000062"/>
280+
<owl:annotatedProperty rdf:resource="http://www.geneontology.org/formats/oboInOwl#hasRelatedSynonym"/>
281+
<owl:annotatedTarget>body organ</owl:annotatedTarget>
282+
<oboInOwl:hasDbXref rdf:resource="UBERON:123"/>
283+
<oboInOwl:source rdf:resource="http://en.wikipedia.org/wiki/page1"/>
284+
<oboInOwl:source rdf:resource="http://en.wikipedia.org/wiki/page2"/>
285+
</owl:Axiom>
286+
287+
288+
289+
<!-- http://purl.obolibrary.org/obo/UBERON_0000467 -->
290+
291+
<owl:Class rdf:about="http://purl.obolibrary.org/obo/UBERON_0000467"/>
292+
</rdf:RDF>
293+
294+
295+
296+
<!-- Generated by the OWL API (version 4.5.26) https://github.com/owlcs/owlapi -->
297+

0 commit comments

Comments
 (0)