-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathshop.ttl
More file actions
268 lines (243 loc) · 12.6 KB
/
Copy pathshop.ttl
File metadata and controls
268 lines (243 loc) · 12.6 KB
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
262
263
264
265
266
267
268
@prefix schema: <http://schema.org/> .
@prefix cvocab: <http://open-services.net/ns/core#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix gr: <http://purl.org/goodrelations/v1#> .
@prefix sioc: <http://rdfs.org/sioc/ns#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix siocs: <http://rdfs.org/sioc/services#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix wdrs: <http://www.w3.org/2007/05/powder-s#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix oplshop: <http://www.openlinksw.com/ontology/shop#> .
@prefix xhv: <http://www.w3.org/1999/xhtml/vocab#> .
@prefix cc: <http://creativecommons.org/ns#> .
<http://www.openlinksw.com/ontology/shop#>
a owl:Ontology ;
rdfs:label """OpenLink Shop Ontology"""^^xsd:string ;
dcterms:title """OpenLink Shop Ontology"""^^xsd:string ;
rdfs:comment """Ontology that defines entity and relation types used to describe shop.
Examples include carts, currency, items etc."""@en ;
wdrs:describedby <http://www.openlinksw.com/ontology/shop> ;
schema:creator <http://www.openlinksw.com/#this> ;
dcterms:created "2014-05-18T13:00:00-05:00"^^xsd:dateTime ;
dcterms:modified "2019-07-24T13:38:00-05:00"^^xsd:dateTime ;
owl:versionInfo "1.0.0"^^xsd:string ;
<http://open.vocab.org/terms/defines> oplshop:ShopCart ,
oplshop:ShopCartItem ,
oplshop:contains ,
oplshop:quantity ,
oplshop:hasOffering ,
oplshop:numItems ,
oplshop:numOfferings ,
oplshop:Shop ,
oplshop:hasShop ,
oplshop:usesCurrency ,
oplshop:hasPaymentId ,
oplshop:hasPurchaseId ,
oplshop:updated ;
schema:about oplshop:ShopCart ,
oplshop:ShopCartItem ,
oplshop:contains ,
oplshop:quantity ,
oplshop:hasOffering ,
oplshop:numItems ,
oplshop:numOfferings ,
oplshop:Shop ,
oplshop:hasShop ,
oplshop:usesCurrency ,
oplshop:hasPaymentId ,
oplshop:hasPurchaseId ,
oplshop:updated .
<http://www.openlinksw.com/DAV/data/turtle/shop.ttl>
a foaf:Document , schema:TechArticle ;
rdfs:label """OpenLink Shop Ontology Description Document (Turtle)"""^^xsd:string ;
cc:license <http://creativecommons.org/licenses/by-sa/3.0/> ;
schema:creator <http://www.openlinksw.com/#this> ;
rdfs:comment """This is a turtle document that uses Linked Data oriented content to describe an OpenLink ontology for Shop."""@en ;
foaf:primaryTopic <http://www.openlinksw.com/ontology/shop#> ;
dcterms:created "2014-05-18T13:00:00-05:00"^^xsd:dateTime ;
dcterms:modified "2019-07-24T13:38:00-05:00"^^xsd:dateTime ;
xhv:canonical <http://www.openlinksw.com/ontology/shop> ;
xhv:describes <http://www.openlinksw.com/ontology/shop#> ;
schema:about <http://www.openlinksw.com/ontology/shop#> ;
dcterms:subject <http://www.openlinksw.com/ontology/shop#> .
<http://www.openlinksw.com/data/turtle/shop.ttl>
a foaf:Document , schema:TechArticle ;
rdfs:label """OpenLink Shop Ontology Description Document (Turtle)"""^^xsd:string ;
schema:creator <http://www.openlinksw.com/#this> ;
cc:license <http://creativecommons.org/licenses/by-sa/3.0/> ;
rdfs:comment """This is a turtle document that uses Linked Data oriented content to describe the OpenLink Shop Ontology."""@en ;
foaf:primaryTopic <http://www.openlinksw.com/ontology/shop#> ;
xhv:canonical <http://www.openlinksw.com/ontology/shop> ;
xhv:describes <http://www.openlinksw.com/ontology/shop#> ;
dcterms:created "2014-05-18T13:00:00-05:00"^^xsd:dateTime ;
dcterms:modified "2015-03-20T13:38:00-05:00"^^xsd:dateTime ;
schema:about <http://www.openlinksw.com/ontology/shop#> ;
dcterms:subject <http://www.openlinksw.com/ontology/shop#> .
<http://www.openlinksw.com/ontology/shop>
a foaf:Document , schema:TechArticle ;
rdfs:label """OpenLink Shop Ontology Description Document"""^^xsd:string ;
cc:license <http://creativecommons.org/licenses/by-sa/3.0/> ;
schema:creator <http://www.openlinksw.com/#this> ;
rdfs:comment """This is a document that uses Linked Data oriented content to describe OpenLink Shop Ontology."""@en ;
dcterms:subject <http://www.openlinksw.com/ontology/shop#> ;
dcterms:created "2014-05-18T13:00:00-05:00"^^xsd:dateTime ;
dcterms:modified "2015-03-20T13:38:00-05:00"^^xsd:dateTime ;
foaf:primaryTopic <http://www.openlinksw.com/ontology/shop#> ;
foaf:topic oplshop:ShopCart ,
oplshop:ShopCartItem ,
oplshop:contains ,
oplshop:quantity ,
oplshop:hasOffering ,
oplshop:numItems ,
oplshop:numOfferings ,
oplshop:Shop ,
oplshop:hasShop ,
oplshop:usesCurrency ,
oplshop:hasPaymentId ,
oplshop:hasPurchaseId ,
oplshop:updated ;
rdfs:seeAlso <http://virtuoso.openlinksw.com/offers/> ,
<http://uda.openlinksw.com/offers/> ,
<http://www.openlinksw.com/data/turtle/offers.ttl> ,
<http://www.openlinksw.com/data/turtle/contracts.ttl> ,
<http://www.openlinksw.com/data/turtle/products.ttl> ,
<http://www.openlinksw.com/data/turtle/purchases.ttl> ,
<http://www.openlinksw.com/data/turtle/payments.ttl> ,
<http://www.openlinksw.com/data/turtle/software.ttl> ,
<http://www.openlinksw.com/data/turtle/machines.ttl> ,
<http://www.openlinksw.com/data/turtle/vendors.ttl> ,
<http://www.openlinksw.com/data/turtle/features.ttl> ,
<http://www.openlinksw.com/data/turtle/licenses.ttl> .
# <-------------- Classes --------------> #
oplshop:ShopCart a owl:Class ;
rdfs:label "Shop Cart" ;
dcterms:title "Shop Cart" ;
skos:altLabel "Shop Cart" ;
rdfs:comment """Shop cart entity type (Class)."""@en ;
dcterms:description """Shop cart entity type (Class)."""@en ;
rdfs:isDefinedBy <http://www.openlinksw.com/ontology/shop#> ;
rdfs:subClassOf sioc:Container .
oplshop:ShopCartItem a owl:Class ;
rdfs:label "Shop Cart Item" ;
dcterms:title "Shop Cart Item" ;
skos:altLabel "Shop Cart Item" ;
rdfs:comment """A shop cart item consists of a schema:Offer and a quantity."""@en ;
dcterms:description """A shop cart item consists of a schema:Offer and a quantity."""@en ;
rdfs:isDefinedBy <http://www.openlinksw.com/ontology/shop#> ;
rdfs:subClassOf sioc:Item .
oplshop:Shop a owl:Class ;
rdfs:label "Shop" ;
dcterms:title "Shop" ;
skos:altLabel "Shop" ;
rdfs:comment """A shop instance. One shop has a set of carts, each of which belongs to a given user. Each ODS user has exactly one cart per shop."""@en ;
dcterms:description """A shop instance. One shop has a set of carts, each of which belongs to a given user. Each ODS user has exactly one cart per shop."""@en ;
rdfs:isDefinedBy <http://www.openlinksw.com/ontology/shop#> ;
rdfs:subClassOf siocs:Service .
# <-------------- Properties --------------> #
oplshop:contains
a owl:ObjectProperty, rdf:Property ;
rdfs:label "contains" ;
dcterms:title "contains" ;
skos:altLabel "Contains" ;
rdfs:comment """Associates a Shop Cart with one or more Shop Cart Items."""@en ;
dcterms:description """Associates a Shop Cart with one or more Shop Cart Items."""@en ;
rdfs:isDefinedBy <http://www.openlinksw.com/ontology/shop#> ;
rdfs:domain oplshop:ShopCart ;
rdfs:range oplshop:ShopCartItem ;
rdfs:subPropertyOf sioc:container_of .
oplshop:quantity
a owl:DatatypeProperty, rdf:Property ;
rdfs:label "quantity" ;
dcterms:title "quantity" ;
skos:altLabel "Quantity" ;
rdfs:comment """The quantity of the item in the shop cart. States how many items the customer wants to purchase."""@en ;
dcterms:description """The quantity of the item in the shop cart. States how many items the customer wants to purchase."""@en ;
rdfs:isDefinedBy <http://www.openlinksw.com/ontology/shop#> ;
rdfs:domain oplshop:ShopCartItem ;
rdfs:range xsd:integer .
oplshop:hasOffering
a owl:ObjectProperty, rdf:Property ;
rdfs:label "hasOffering" ;
dcterms:title "hasOffering" ;
skos:altLabel "Offering" ;
rdfs:comment """The schema:Offer a shop cart item refers to."""@en ;
dcterms:description """The schema:Offer a shop cart item refers to."""@en ;
rdfs:isDefinedBy <http://www.openlinksw.com/ontology/shop#> ;
rdfs:domain oplshop:ShopCartItem ;
rdfs:range schema:Offer .
oplshop:numItems
a owl:DatatypeProperty, rdf:Property ;
rdfs:label "numItems" ;
dcterms:title "numItems" ;
skos:altLabel "Number of items" ;
rdfs:comment """The number of items in a shop cart."""@en ;
dcterms:description """The number of items in a shop cart."""@en ;
rdfs:domain oplshop:ShopCart ;
rdfs:range xsd:integer ;
rdfs:isDefinedBy <http://www.openlinksw.com/ontology/shop#> ;
owl:equivalentProperty sioc:num_items .
oplshop:numOfferings
a owl:DatatypeProperty, rdf:Property ;
rdfs:label "numOfferings" ;
dcterms:title "numOfferings" ;
skos:altLabel "Number of offerings" ;
rdfs:comment """The total number of offerings in a shop cart, i.e. the sum of all items' quantities."""@en ;
dcterms:title """The total number of offerings in a shop cart, i.e. the sum of all items' quantities."""@en ;
rdfs:isDefinedBy <http://www.openlinksw.com/ontology/shop#> ;
rdfs:domain oplshop:ShopCart ;
rdfs:range xsd:integer .
oplshop:hasShop
a owl:ObjectProperty, rdf:Property ;
rdfs:label "hasShop" ;
dcterms:title "hasShop" ;
skos:altLabel "shop" ;
rdfs:comment """The shop a shop cart belongs to."""@en ;
dcterms:title """The shop a shop cart belongs to."""@en ;
rdfs:isDefinedBy <http://www.openlinksw.com/ontology/shop#> ;
rdfs:domain oplshop:ShopCart ;
rdfs:range oplshop:Shop .
oplshop:usesCurrency
a owl:DatatypeProperty, rdf:Property ;
rdfs:label "usesCurrency" ;
dcterms:title "usesCurrency" ;
skos:altLabel "Uses Currency" ;
rdfs:comment """The main currency used in this shop."""@en ;
dcterms:title """The main currency used in this shop."""@en ;
rdfs:isDefinedBy <http://www.openlinksw.com/ontology/shop#> ;
rdfs:domain oplshop:Shop ;
rdfs:range xsd:string .
oplshop:hasPaymentId
a owl:DatatypeProperty, rdf:Property ;
rdfs:label "hasPaymentId" ;
dcterms:title "hasPaymentId" ;
skos:altLabel "Payment ID" ;
rdfs:comment """The ID of the payment intent associated with the cart contents."""@en ;
dcterms:title """The ID of the payment intent."""@en ;
rdfs:isDefinedBy <http://www.openlinksw.com/ontology/shop#> ;
rdfs:domain oplshop:ShopCart ;
rdfs:range xsd:string .
oplshop:hasPurchaseId
a owl:DatatypeProperty, rdf:Property ;
rdfs:label "hasPurchaseId" ;
dcterms:title "hasPurchaseId" ;
skos:altLabel "Purchase ID" ;
rdfs:comment """The ID of the OpenLink purchase associated with this cart."""@en ;
dcterms:title """The ID of the purchase."""@en ;
rdfs:isDefinedBy <http://www.openlinksw.com/ontology/shop#> ;
rdfs:domain oplshop:ShopCart ;
rdfs:range xsd:string .
oplshop:updated
a owl:DatatypeProperty, rdf:Property ;
rdfs:label "updated" ;
dcterms:title "updated" ;
skos:altLabel "Updated" ;
rdfs:comment """Have the contents of the cart been updated. If so, more licenses may need generating and the Payment Intent will need updating."""@en ;
dcterms:title """Have the contents of the cart been updated?"""@en ;
rdfs:isDefinedBy <http://www.openlinksw.com/ontology/shop#> ;
rdfs:domain oplshop:ShopCart ;
rdfs:range xsd:boolean .
skos:related owl:equivalentProperty rdfs:seeAlso .