-
Notifications
You must be signed in to change notification settings - Fork 0
/
Sandbox.owl
262 lines (166 loc) · 11.3 KB
/
Sandbox.owl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
<?xml version="1.0"?>
<rdf:RDF xmlns="https://schema.ocpx.info/model/opencannabis#"
xml:base="https://schema.ocpx.info/model/opencannabis"
xmlns:ocp="https://schema.ocpx.info/model/opencannabis#ocp:"
xmlns:ogp="http://ogp.me/ns#"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:xml="http://www.w3.org/XML/1998/namespace"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#">
<owl:Ontology rdf:about="https://schema.ocpx.info/model/opencannabis">
<owl:versionIRI rdf:resource="https://schema.ocpx.info/model/v1/opencannabis"/>
<owl:imports rdf:resource="http://www.w3.org/2006/vcard/ns"/>
<owl:imports rdf:resource="https://ogp.me/ns/ogp.me.rdf"/>
</owl:Ontology>
<!--
///////////////////////////////////////////////////////////////////////////////////////
//
// Annotation properties
//
///////////////////////////////////////////////////////////////////////////////////////
-->
<!-- https://schema.ocpx.info/model/opencannabis#ocp:product.display -->
<owl:AnnotationProperty rdf:about="https://schema.ocpx.info/model/opencannabis#ocp:product.display">
<rdfs:comment xml:lang="en-us">Defines the primary display name for a given cannabis product.</rdfs:comment>
<rdfs:isDefinedBy xml:lang="en-us">http://ocpx.info/ns#</rdfs:isDefinedBy>
<rdfs:label xml:lang="en-us">Display Name</rdfs:label>
<rdfs:subPropertyOf rdf:resource="http://ogp.me/ns#title"/>
</owl:AnnotationProperty>
<!-- https://schema.ocpx.info/model/opencannabis#ocp:product.dosage -->
<owl:AnnotationProperty rdf:about="https://schema.ocpx.info/model/opencannabis#ocp:product.dosage">
<rdfs:comment xml:lang="en-us">Non-medical advice regarding the typical dosage range for a given cannabis product.</rdfs:comment>
<rdfs:isDefinedBy>http://ocpx.info/ns#</rdfs:isDefinedBy>
<rdfs:label xml:lang="en-us">Dosage Advice</rdfs:label>
<rdfs:subPropertyOf rdf:resource="http://www.w3.org/2000/01/rdf-schema#comment"/>
</owl:AnnotationProperty>
<!-- https://schema.ocpx.info/model/opencannabis#ocp:product.group -->
<owl:AnnotationProperty rdf:about="https://schema.ocpx.info/model/opencannabis#ocp:product.group">
<rdfs:comment xml:lang="en-us">The main collection name of the object as it should appear on a menu, assuming no product variance.</rdfs:comment>
<rdfs:isDefinedBy>http://ocpx.info/ns#</rdfs:isDefinedBy>
<rdfs:label xml:lang="en-us">Product Group</rdfs:label>
<rdfs:subPropertyOf rdf:resource="http://www.w3.org/2000/01/rdf-schema#label"/>
</owl:AnnotationProperty>
<!-- https://schema.ocpx.info/model/opencannabis#ocp:product.name -->
<owl:AnnotationProperty rdf:about="https://schema.ocpx.info/model/opencannabis#ocp:product.name">
<rdfs:comment xml:lang="en-us">The title of the object as it should appear on a menu, assuming no product variance.</rdfs:comment>
<rdfs:isDefinedBy>http://ocpx.info/ns#</rdfs:isDefinedBy>
<rdfs:label xml:lang="en-us">Product Name</rdfs:label>
<rdfs:subPropertyOf rdf:resource="http://www.w3.org/2000/01/rdf-schema#label"/>
</owl:AnnotationProperty>
<!-- https://schema.ocpx.info/model/opencannabis#ocp:product.summary -->
<owl:AnnotationProperty rdf:about="https://schema.ocpx.info/model/opencannabis#ocp:product.summary">
<rdfs:comment xml:lang="en-us">Short marketing text describing this product.</rdfs:comment>
<rdfs:isDefinedBy>http://ocpx.info/ns#</rdfs:isDefinedBy>
<rdfs:label xml:lang="en-us">Product Summary</rdfs:label>
<rdfs:subPropertyOf rdf:resource="http://ogp.me/ns#description"/>
</owl:AnnotationProperty>
<!-- https://schema.ocpx.info/model/opencannabis#ocp:product.variant -->
<owl:AnnotationProperty rdf:about="https://schema.ocpx.info/model/opencannabis#ocp:product.variant">
<rdfs:comment xml:lang="en-us">The variance portion of the object title as it should appear on a menu.</rdfs:comment>
<rdfs:isDefinedBy>http://ocpx.info/ns#</rdfs:isDefinedBy>
<rdfs:label xml:lang="en-us">Product Variant</rdfs:label>
<rdfs:subPropertyOf rdf:resource="http://www.w3.org/2000/01/rdf-schema#label"/>
</owl:AnnotationProperty>
<!-- https://schema.ocpx.info/model/opencannabis#ocp:strain -->
<owl:AnnotationProperty rdf:about="https://schema.ocpx.info/model/opencannabis#ocp:strain">
<rdfs:comment xml:lang="en-us">Link to the strain entity which this product is composed of.</rdfs:comment>
<rdfs:isDefinedBy>http://ocpx.info/ns#</rdfs:isDefinedBy>
<rdfs:label xml:lang="en-us">Strain Link</rdfs:label>
<rdfs:subPropertyOf rdf:resource="http://www.w3.org/2000/01/rdf-schema#seeAlso"/>
</owl:AnnotationProperty>
<!-- https://schema.ocpx.info/model/opencannabis#ocp:strain.name -->
<owl:AnnotationProperty rdf:about="https://schema.ocpx.info/model/opencannabis#ocp:strain.name">
<rdfs:comment xml:lang="en-us">Display name of the strain which this product is composed of.</rdfs:comment>
<rdfs:isDefinedBy>http://ocpx.info/ns#</rdfs:isDefinedBy>
<rdfs:label xml:lang="en-us">Strain Name</rdfs:label>
<rdfs:subPropertyOf rdf:resource="http://www.w3.org/2000/01/rdf-schema#seeAlso"/>
</owl:AnnotationProperty>
<!-- https://schema.ocpx.info/model/opencannabis#ocp:strain.usid -->
<owl:AnnotationProperty rdf:about="https://schema.ocpx.info/model/opencannabis#ocp:strain.usid">
<rdfs:comment xml:lang="en-us">Unique identifier for the strain which this product is composed of.</rdfs:comment>
<rdfs:isDefinedBy>http://ocpx.info/ns#</rdfs:isDefinedBy>
<rdfs:label xml:lang="en-us">Strain Identifier</rdfs:label>
<rdfs:subPropertyOf rdf:resource="http://www.w3.org/2000/01/rdf-schema#seeAlso"/>
</owl:AnnotationProperty>
<!--
///////////////////////////////////////////////////////////////////////////////////////
//
// Object Properties
//
///////////////////////////////////////////////////////////////////////////////////////
-->
<!-- https://schema.ocpx.info/model/opencannabis#ocp:brand -->
<owl:ObjectProperty rdf:about="https://schema.ocpx.info/model/opencannabis#ocp:brand">
<rdfs:range rdf:resource="https://schema.ocpx.info/model/opencannabis#ref"/>
<rdfs:comment xml:lang="en-us">Defines a link to the brand that manufactures this product.</rdfs:comment>
<rdfs:isDefinedBy>http://ocpx.info/ns#</rdfs:isDefinedBy>
<rdfs:label xml:lang="en-us">Brand Link</rdfs:label>
</owl:ObjectProperty>
<!-- https://schema.ocpx.info/model/opencannabis#ocp:brand.name -->
<owl:ObjectProperty rdf:about="https://schema.ocpx.info/model/opencannabis#ocp:brand.name">
<rdfs:range rdf:resource="https://schema.ocpx.info/model/opencannabis#name"/>
<rdfs:comment xml:lang="en-us">Specifies the name of the brand that manufactures this product.</rdfs:comment>
<rdfs:isDefinedBy>http://ocpx.info/ns#</rdfs:isDefinedBy>
<rdfs:label xml:lang="en-us">Brand Name</rdfs:label>
</owl:ObjectProperty>
<!-- https://schema.ocpx.info/model/opencannabis#ocp:material.grow -->
<owl:ObjectProperty rdf:about="https://schema.ocpx.info/model/opencannabis#ocp:material.grow">
<rdfs:range rdf:resource="https://schema.ocpx.info/model/opencannabis#symbol"/>
<rdfs:comment xml:lang="en-us">Defines the "grow" value for a given cannabis product, as applicable (for example, "Indoor" or "Greenhouse").</rdfs:comment>
<rdfs:isDefinedBy>http://ocpx.info/ns#</rdfs:isDefinedBy>
<rdfs:label xml:lang="en-us">Material Grow</rdfs:label>
</owl:ObjectProperty>
<!-- https://schema.ocpx.info/model/opencannabis#ocp:material.species -->
<owl:ObjectProperty rdf:about="https://schema.ocpx.info/model/opencannabis#ocp:material.species">
<rdfs:range rdf:resource="https://schema.ocpx.info/model/opencannabis#symbol"/>
<rdfs:comment xml:lang="en-us">Defines the species of a given cannabis product (for example, "Sativa" or "Indica").</rdfs:comment>
<rdfs:isDefinedBy>http://ocpx.info/ns#</rdfs:isDefinedBy>
<rdfs:label xml:lang="en-us">Material Species</rdfs:label>
</owl:ObjectProperty>
<!-- https://schema.ocpx.info/model/opencannabis#ocp:product.category -->
<owl:ObjectProperty rdf:about="https://schema.ocpx.info/model/opencannabis#ocp:product.category">
<rdfs:range rdf:resource="https://schema.ocpx.info/model/opencannabis#symbol"/>
<rdfs:comment xml:lang="en-us">Describes the main categorical type of a given cannabis product.</rdfs:comment>
<rdfs:isDefinedBy>http://ocpx.info/ns#</rdfs:isDefinedBy>
<rdfs:label xml:lang="en-us">Product Category</rdfs:label>
</owl:ObjectProperty>
<!--
///////////////////////////////////////////////////////////////////////////////////////
//
// Classes
//
///////////////////////////////////////////////////////////////////////////////////////
-->
<!-- https://schema.ocpx.info/model/opencannabis#group -->
<owl:Class rdf:about="https://schema.ocpx.info/model/opencannabis#group">
<rdfs:subClassOf rdf:resource="https://schema.ocpx.info/model/opencannabis#name"/>
</owl:Class>
<!-- https://schema.ocpx.info/model/opencannabis#name -->
<owl:Class rdf:about="https://schema.ocpx.info/model/opencannabis#name">
<rdfs:subClassOf rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
</owl:Class>
<!-- https://schema.ocpx.info/model/opencannabis#product -->
<owl:Class rdf:about="https://schema.ocpx.info/model/opencannabis#product">
<rdfs:subClassOf rdf:resource="https://schema.ocpx.info/model/opencannabis#name"/>
</owl:Class>
<!-- https://schema.ocpx.info/model/opencannabis#ref -->
<owl:Class rdf:about="https://schema.ocpx.info/model/opencannabis#ref">
<rdfs:subClassOf rdf:resource="http://ogp.me/ns/class#url"/>
<rdfs:comment xml:lang="en-us">Defines a link reference to some durable entity.</rdfs:comment>
<rdfs:isDefinedBy>http://ocpx.info/ns#</rdfs:isDefinedBy>
<rdfs:label xml:lang="en-us">Link Reference</rdfs:label>
</owl:Class>
<!-- https://schema.ocpx.info/model/opencannabis#strain -->
<owl:Class rdf:about="https://schema.ocpx.info/model/opencannabis#strain">
<rdfs:subClassOf rdf:resource="https://schema.ocpx.info/model/opencannabis#name"/>
</owl:Class>
<!-- https://schema.ocpx.info/model/opencannabis#symbol -->
<owl:Class rdf:about="https://schema.ocpx.info/model/opencannabis#symbol">
<rdfs:subClassOf rdf:resource="https://schema.ocpx.info/model/opencannabis#name"/>
<rdfs:comment xml:lang="en-us">Defines a symbolic name with defined semantic meaning.</rdfs:comment>
<rdfs:isDefinedBy>http://ocpx.info/ns#</rdfs:isDefinedBy>
<rdfs:label xml:lang="en-us">Defined Symbol</rdfs:label>
</owl:Class>
</rdf:RDF>
<!-- Generated by the OWL API (version 4.5.9.2019-02-01T07:24:44Z) https://github.com/owlcs/owlapi -->