Skip to content

Commit c93244d

Browse files
committed
Update App.py output files
After changes to App.py update the ontology RDF generated by App.py.
1 parent aa1f501 commit c93244d

2 files changed

Lines changed: 124 additions & 40 deletions

File tree

sbolowl3.rdf

Lines changed: 62 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -27,30 +27,54 @@
2727
</owl:ObjectProperty>
2828

2929
<owl:ObjectProperty rdf:about="#type">
30-
<rdfs:domain rdf:resource="#Interaction"/>
31-
<rdfs:domain rdf:resource="#ExternallyDefined"/>
32-
<rdfs:domain rdf:resource="#Component"/>
33-
<rdfs:domain rdf:resource="#LocalSubComponent"/>
30+
<rdfs:domain>
31+
<owl:Class>
32+
<owl:unionOf rdf:parseType="Collection">
33+
<rdf:Description rdf:about="#Component"/>
34+
<rdf:Description rdf:about="#LocalSubComponent"/>
35+
<rdf:Description rdf:about="#ExternallyDefined"/>
36+
<rdf:Description rdf:about="#Interaction"/>
37+
</owl:unionOf>
38+
</owl:Class>
39+
</rdfs:domain>
3440
<rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string">type</rdfs:label>
3541
</owl:ObjectProperty>
3642

3743
<owl:ObjectProperty rdf:about="#role">
38-
<rdfs:domain rdf:resource="#Feature"/>
39-
<rdfs:domain rdf:resource="#Component"/>
40-
<rdfs:domain rdf:resource="#Participation"/>
44+
<rdfs:domain>
45+
<owl:Class>
46+
<owl:unionOf rdf:parseType="Collection">
47+
<rdf:Description rdf:about="#Component"/>
48+
<rdf:Description rdf:about="#Feature"/>
49+
<rdf:Description rdf:about="#Participation"/>
50+
</owl:unionOf>
51+
</owl:Class>
52+
</rdfs:domain>
4153
<rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string">role</rdfs:label>
4254
</owl:ObjectProperty>
4355

4456
<owl:ObjectProperty rdf:about="#hasSequence">
45-
<rdfs:domain rdf:resource="#Location"/>
46-
<rdfs:domain rdf:resource="#Component"/>
57+
<rdfs:domain>
58+
<owl:Class>
59+
<owl:unionOf rdf:parseType="Collection">
60+
<rdf:Description rdf:about="#Component"/>
61+
<rdf:Description rdf:about="#Location"/>
62+
</owl:unionOf>
63+
</owl:Class>
64+
</rdfs:domain>
4765
<rdfs:range rdf:resource="#Sequence"/>
4866
<rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string">hasSequence</rdfs:label>
4967
</owl:ObjectProperty>
5068

5169
<owl:ObjectProperty rdf:about="#hasFeature">
52-
<rdfs:domain rdf:resource="#ComponentReference"/>
53-
<rdfs:domain rdf:resource="#Component"/>
70+
<rdfs:domain>
71+
<owl:Class>
72+
<owl:unionOf rdf:parseType="Collection">
73+
<rdf:Description rdf:about="#Component"/>
74+
<rdf:Description rdf:about="#ComponentReference"/>
75+
</owl:unionOf>
76+
</owl:Class>
77+
</rdfs:domain>
5478
<rdfs:range rdf:resource="#Feature"/>
5579
<rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string">hasFeature</rdfs:label>
5680
</owl:ObjectProperty>
@@ -82,8 +106,14 @@
82106

83107
<owl:ObjectProperty rdf:about="#orientation">
84108
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#FunctionalProperty"/>
85-
<rdfs:domain rdf:resource="#Feature"/>
86-
<rdfs:domain rdf:resource="#Location"/>
109+
<rdfs:domain>
110+
<owl:Class>
111+
<owl:unionOf rdf:parseType="Collection">
112+
<rdf:Description rdf:about="#Feature"/>
113+
<rdf:Description rdf:about="#Location"/>
114+
</owl:unionOf>
115+
</owl:Class>
116+
</rdfs:domain>
87117
<rdfs:range rdf:resource="#Orientation"/>
88118
<rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string">orientation</rdfs:label>
89119
</owl:ObjectProperty>
@@ -108,17 +138,23 @@
108138
</owl:ObjectProperty>
109139

110140
<owl:ObjectProperty rdf:about="#hasLocation">
111-
<rdfs:domain rdf:resource="#SequenceFeature"/>
112-
<rdfs:domain rdf:resource="#SubComponent"/>
113-
<rdfs:domain rdf:resource="#LocalSubComponent"/>
141+
<rdfs:domain>
142+
<owl:Class>
143+
<owl:unionOf rdf:parseType="Collection">
144+
<rdf:Description rdf:about="#SubComponent"/>
145+
<rdf:Description rdf:about="#LocalSubComponent"/>
146+
<rdf:Description rdf:about="#SequenceFeature"/>
147+
</owl:unionOf>
148+
</owl:Class>
149+
</rdfs:domain>
114150
<rdfs:range rdf:resource="#Location"/>
115151
<rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string">hasLocation</rdfs:label>
116152
</owl:ObjectProperty>
117153

118154
<owl:ObjectProperty rdf:about="#inChildOf">
119155
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#FunctionalProperty"/>
120-
<rdfs:domain rdf:resource="#SubComponent"/>
121-
<rdfs:range rdf:resource="#Component"/>
156+
<rdfs:domain rdf:resource="#ComponentReference"/>
157+
<rdfs:range rdf:resource="#SubComponent"/>
122158
<rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string">inChildOf</rdfs:label>
123159
</owl:ObjectProperty>
124160

@@ -253,8 +289,14 @@
253289

254290
<owl:ObjectProperty rdf:about="#source">
255291
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#FunctionalProperty"/>
256-
<rdfs:domain rdf:resource="#Attachment"/>
257-
<rdfs:domain rdf:resource="#Model"/>
292+
<rdfs:domain>
293+
<owl:Class>
294+
<owl:unionOf rdf:parseType="Collection">
295+
<rdf:Description rdf:about="#Model"/>
296+
<rdf:Description rdf:about="#Attachment"/>
297+
</owl:unionOf>
298+
</owl:Class>
299+
</rdfs:domain>
258300
<rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string">source</rdfs:label>
259301
</owl:ObjectProperty>
260302

sbolowl3.txt

Lines changed: 62 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -27,30 +27,54 @@
2727
</owl:ObjectProperty>
2828

2929
<owl:ObjectProperty rdf:about="#type">
30-
<rdfs:domain rdf:resource="#Interaction"/>
31-
<rdfs:domain rdf:resource="#ExternallyDefined"/>
32-
<rdfs:domain rdf:resource="#Component"/>
33-
<rdfs:domain rdf:resource="#LocalSubComponent"/>
30+
<rdfs:domain>
31+
<owl:Class>
32+
<owl:unionOf rdf:parseType="Collection">
33+
<rdf:Description rdf:about="#Component"/>
34+
<rdf:Description rdf:about="#LocalSubComponent"/>
35+
<rdf:Description rdf:about="#ExternallyDefined"/>
36+
<rdf:Description rdf:about="#Interaction"/>
37+
</owl:unionOf>
38+
</owl:Class>
39+
</rdfs:domain>
3440
<rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string">type</rdfs:label>
3541
</owl:ObjectProperty>
3642

3743
<owl:ObjectProperty rdf:about="#role">
38-
<rdfs:domain rdf:resource="#Feature"/>
39-
<rdfs:domain rdf:resource="#Component"/>
40-
<rdfs:domain rdf:resource="#Participation"/>
44+
<rdfs:domain>
45+
<owl:Class>
46+
<owl:unionOf rdf:parseType="Collection">
47+
<rdf:Description rdf:about="#Component"/>
48+
<rdf:Description rdf:about="#Feature"/>
49+
<rdf:Description rdf:about="#Participation"/>
50+
</owl:unionOf>
51+
</owl:Class>
52+
</rdfs:domain>
4153
<rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string">role</rdfs:label>
4254
</owl:ObjectProperty>
4355

4456
<owl:ObjectProperty rdf:about="#hasSequence">
45-
<rdfs:domain rdf:resource="#Location"/>
46-
<rdfs:domain rdf:resource="#Component"/>
57+
<rdfs:domain>
58+
<owl:Class>
59+
<owl:unionOf rdf:parseType="Collection">
60+
<rdf:Description rdf:about="#Component"/>
61+
<rdf:Description rdf:about="#Location"/>
62+
</owl:unionOf>
63+
</owl:Class>
64+
</rdfs:domain>
4765
<rdfs:range rdf:resource="#Sequence"/>
4866
<rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string">hasSequence</rdfs:label>
4967
</owl:ObjectProperty>
5068

5169
<owl:ObjectProperty rdf:about="#hasFeature">
52-
<rdfs:domain rdf:resource="#ComponentReference"/>
53-
<rdfs:domain rdf:resource="#Component"/>
70+
<rdfs:domain>
71+
<owl:Class>
72+
<owl:unionOf rdf:parseType="Collection">
73+
<rdf:Description rdf:about="#Component"/>
74+
<rdf:Description rdf:about="#ComponentReference"/>
75+
</owl:unionOf>
76+
</owl:Class>
77+
</rdfs:domain>
5478
<rdfs:range rdf:resource="#Feature"/>
5579
<rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string">hasFeature</rdfs:label>
5680
</owl:ObjectProperty>
@@ -82,8 +106,14 @@
82106

83107
<owl:ObjectProperty rdf:about="#orientation">
84108
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#FunctionalProperty"/>
85-
<rdfs:domain rdf:resource="#Feature"/>
86-
<rdfs:domain rdf:resource="#Location"/>
109+
<rdfs:domain>
110+
<owl:Class>
111+
<owl:unionOf rdf:parseType="Collection">
112+
<rdf:Description rdf:about="#Feature"/>
113+
<rdf:Description rdf:about="#Location"/>
114+
</owl:unionOf>
115+
</owl:Class>
116+
</rdfs:domain>
87117
<rdfs:range rdf:resource="#Orientation"/>
88118
<rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string">orientation</rdfs:label>
89119
</owl:ObjectProperty>
@@ -108,17 +138,23 @@
108138
</owl:ObjectProperty>
109139

110140
<owl:ObjectProperty rdf:about="#hasLocation">
111-
<rdfs:domain rdf:resource="#SequenceFeature"/>
112-
<rdfs:domain rdf:resource="#SubComponent"/>
113-
<rdfs:domain rdf:resource="#LocalSubComponent"/>
141+
<rdfs:domain>
142+
<owl:Class>
143+
<owl:unionOf rdf:parseType="Collection">
144+
<rdf:Description rdf:about="#SubComponent"/>
145+
<rdf:Description rdf:about="#LocalSubComponent"/>
146+
<rdf:Description rdf:about="#SequenceFeature"/>
147+
</owl:unionOf>
148+
</owl:Class>
149+
</rdfs:domain>
114150
<rdfs:range rdf:resource="#Location"/>
115151
<rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string">hasLocation</rdfs:label>
116152
</owl:ObjectProperty>
117153

118154
<owl:ObjectProperty rdf:about="#inChildOf">
119155
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#FunctionalProperty"/>
120-
<rdfs:domain rdf:resource="#SubComponent"/>
121-
<rdfs:range rdf:resource="#Component"/>
156+
<rdfs:domain rdf:resource="#ComponentReference"/>
157+
<rdfs:range rdf:resource="#SubComponent"/>
122158
<rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string">inChildOf</rdfs:label>
123159
</owl:ObjectProperty>
124160

@@ -253,8 +289,14 @@
253289

254290
<owl:ObjectProperty rdf:about="#source">
255291
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#FunctionalProperty"/>
256-
<rdfs:domain rdf:resource="#Attachment"/>
257-
<rdfs:domain rdf:resource="#Model"/>
292+
<rdfs:domain>
293+
<owl:Class>
294+
<owl:unionOf rdf:parseType="Collection">
295+
<rdf:Description rdf:about="#Model"/>
296+
<rdf:Description rdf:about="#Attachment"/>
297+
</owl:unionOf>
298+
</owl:Class>
299+
</rdfs:domain>
258300
<rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string">source</rdfs:label>
259301
</owl:ObjectProperty>
260302

0 commit comments

Comments
 (0)