-
Notifications
You must be signed in to change notification settings - Fork 0
/
ekgf-story-impl-sparql.ttl
265 lines (186 loc) · 9.39 KB
/
ekgf-story-impl-sparql.ttl
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
@prefix : <https://ekgf.org/ontology/story-impl-sparql#> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix story: <https://ekgf.org/ontology/story#> .
@prefix concept: <https://ekgf.org/ontology/concept#> .
@prefix sparql-story: <https://ekgf.org/ontology/story-impl-sparql#> .
@base <https://ekgf.org/ontology/story-impl-sparql#> .
<https://ekgf.org/ontology/story-impl-sparql#> rdf:type owl:Ontology ;
owl:imports
concept:,
story: ;
rdfs:comment
"""The SPARQL Story Implementation Ontology defines the concepts needed to implement a Story with a SPARQL 1.1 statement (query or update).
The Story ontology itself is: https://ekgf.org/ontology/story#"""@en ;
rdfs:label "The SPARQL Story Implementation Ontology"@en .
#################################################################
# Object Properties
#################################################################
### https://ekgf.org/ontology/story-impl-sparql#flavor
sparql-story:flavor rdf:type owl:ObjectProperty ;
rdfs:domain sparql-story:StorySPARQLImplementation ;
rdfs:range sparql-story:SPARQLFlavor ;
rdfs:label
"Suports SPARQL Flavor"@en-us,
"Supports SPARQL Flavour"@en .
#################################################################
# Data properties
#################################################################
### https://ekgf.org/ontology/story-impl-sparql#sparqlFile
sparql-story:sparqlFile rdf:type
owl:DatatypeProperty,
owl:FunctionalProperty ;
rdfs:domain sparql-story:StorySPARQLImplementation ;
rdfs:comment
"""The name of the file name that contains the SPARQL implementation of the given Story.
This name is assumed to be relative to the directory where the Turtle file containing the StoryImplementation lives."""@en ;
rdfs:label "SPARQL File"@en .
### https://ekgf.org/ontology/story-impl-sparql#sparqlStatement
sparql-story:sparqlStatement rdf:type
owl:DatatypeProperty,
owl:FunctionalProperty ;
rdfs:domain sparql-story:StorySPARQLImplementation ;
rdfs:comment "The SPARQL Statement as it is read from the file pointed to by `sparqlFile`"@en ;
rdfs:label "SPARQL Statement"@en .
#################################################################
# Classes
#################################################################
### https://ekgf.org/ontology/story-impl-sparql#ASK
sparql-story:ASK rdf:type owl:Class ;
rdfs:subClassOf sparql-story:StorySPARQLQueryImplementation ;
rdfs:isDefinedBy <https://ekgf.org/ontology/story-impl-sparql#> .
### https://ekgf.org/ontology/story-impl-sparql#CONSTRUCT
sparql-story:CONSTRUCT rdf:type owl:Class ;
rdfs:subClassOf sparql-story:StorySPARQLQueryImplementation ;
rdfs:isDefinedBy <https://ekgf.org/ontology/story-impl-sparql#> .
### https://ekgf.org/ontology/story-impl-sparql#DELETE
sparql-story:DELETE rdf:type owl:Class ;
rdfs:subClassOf sparql-story:StorySPARQLUpdateImplementation ;
rdfs:isDefinedBy <https://ekgf.org/ontology/story-impl-sparql#> .
### https://ekgf.org/ontology/story-impl-sparql#DESCRIBE
sparql-story:DESCRIBE rdf:type owl:Class ;
rdfs:subClassOf sparql-story:StorySPARQLQueryImplementation ;
rdfs:isDefinedBy <https://ekgf.org/ontology/story-impl-sparql#> .
### https://ekgf.org/ontology/story-impl-sparql#DROP
sparql-story:DROP rdf:type owl:Class ;
rdfs:subClassOf sparql-story:StorySPARQLUpdateImplementation ;
rdfs:isDefinedBy <https://ekgf.org/ontology/story-impl-sparql#> .
### https://ekgf.org/ontology/story-impl-sparql#INSERT
sparql-story:UPDATE rdf:type owl:Class ;
rdfs:subClassOf sparql-story:StorySPARQLUpdateImplementation ;
rdfs:isDefinedBy <https://ekgf.org/ontology/story-impl-sparql#> .
### https://ekgf.org/ontology/story-impl-sparql#RDFoxSPARQL
sparql-story:RDFoxSPARQL rdf:type owl:Class ;
rdfs:subClassOf sparql-story:SPARQL11 ;
rdfs:isDefinedBy <https://ekgf.org/ontology/story-impl-sparql#> .
### https://ekgf.org/ontology/story-impl-sparql#SELECT
sparql-story:SELECT rdf:type owl:Class ;
rdfs:subClassOf sparql-story:StorySPARQLQueryImplementation ;
rdfs:isDefinedBy <https://ekgf.org/ontology/story-impl-sparql#> .
### https://ekgf.org/ontology/story-impl-sparql#SPARQL10
sparql-story:SPARQL10 rdf:type owl:Class ;
rdfs:subClassOf sparql-story:SPARQLFlavor ;
rdfs:label "SPARQL 1.0"@en ;
rdfs:isDefinedBy <https://ekgf.org/ontology/story-impl-sparql#> .
### https://ekgf.org/ontology/story-impl-sparql#SPARQL11
sparql-story:SPARQL11 rdf:type owl:Class ;
rdfs:subClassOf sparql-story:SPARQLFlavor ;
rdfs:label "SPARQL 1.1"@en ;
rdfs:isDefinedBy <https://ekgf.org/ontology/story-impl-sparql#> .
### https://ekgf.org/ontology/story-impl-sparql#SPARQLDatabaseProduct
sparql-story:SPARQLDatabaseProduct rdf:type owl:Class ;
rdfs:isDefinedBy <https://ekgf.org/ontology/story-impl-sparql#> .
### https://ekgf.org/ontology/story-impl-sparql#SPARQLDatabaseVendor
sparql-story:SPARQLDatabaseVendor rdf:type owl:Class ;
rdfs:isDefinedBy <https://ekgf.org/ontology/story-impl-sparql#> .
### https://ekgf.org/ontology/story-impl-sparql#SPARQLFlavor
sparql-story:SPARQLFlavor rdf:type owl:Class ;
rdfs:isDefinedBy <https://ekgf.org/ontology/story-impl-sparql#> .
### https://ekgf.org/ontology/story-impl-sparql#StardogSPARQL
sparql-story:StardogSPARQL rdf:type owl:Class ;
rdfs:subClassOf sparql-story:SPARQL11 ;
rdfs:isDefinedBy <https://ekgf.org/ontology/story-impl-sparql#> .
### https://ekgf.org/ontology/story-impl-sparql#StoryImplementation
sparql-story:StoryImplementation rdf:type owl:Class ;
rdfs:isDefinedBy <https://ekgf.org/ontology/story-impl-sparql#> .
### https://ekgf.org/ontology/story-impl-sparql#StorySPARQLImplementation
sparql-story:StorySPARQLImplementation rdf:type owl:Class ;
rdfs:subClassOf sparql-story:StoryImplementation ;
rdfs:isDefinedBy <https://ekgf.org/ontology/story-impl-sparql#> .
### https://ekgf.org/ontology/story-impl-sparql#StorySPARQLQueryImplementation
sparql-story:StorySPARQLQueryImplementation rdf:type owl:Class ;
rdfs:subClassOf sparql-story:StorySPARQLImplementation ;
rdfs:comment "Story SPARQL Implementation for query statements like `SELECT`, `CONSTRUCT`, `ASK` and `DESCRIBE`"@en ;
rdfs:isDefinedBy <https://ekgf.org/ontology/story-impl-sparql#> .
### https://ekgf.org/ontology/story-impl-sparql#StorySPARQLUpdateImplementation
sparql-story:StorySPARQLUpdateImplementation rdf:type owl:Class ;
rdfs:subClassOf sparql-story:StorySPARQLImplementation ;
rdfs:comment "Story SPARQL Implementation for update statements like `INSERT/DELETE/WHERE` etc"@en ;
rdfs:isDefinedBy <https://ekgf.org/ontology/story-impl-sparql#> .
#################################################################
# Individuals
#################################################################
### https://ekgf.org/ontology/story-impl-sparql#AllegroGraph
sparql-story:AllegroGraph rdf:type
owl:NamedIndividual,
sparql-story:SPARQLDatabaseProduct .
### https://ekgf.org/ontology/story-impl-sparql#AmazonWebServicesInc
sparql-story:AmazonWebServicesInc rdf:type
owl:NamedIndividual,
sparql-story:SPARQLDatabaseVendor .
### https://ekgf.org/ontology/story-impl-sparql#AnzoGraph
sparql-story:AnzoGraph rdf:type
owl:NamedIndividual,
sparql-story:SPARQLDatabaseProduct .
### https://ekgf.org/ontology/story-impl-sparql#BlazeGraph
sparql-story:BlazeGraph rdf:type
owl:NamedIndividual,
sparql-story:SPARQLDatabaseProduct .
### https://ekgf.org/ontology/story-impl-sparql#CambridgeSemantics
sparql-story:CambridgeSemantics rdf:type
owl:NamedIndividual,
sparql-story:SPARQLDatabaseVendor .
### https://ekgf.org/ontology/story-impl-sparql#GraphDb
sparql-story:GraphDb rdf:type
owl:NamedIndividual,
sparql-story:SPARQLDatabaseProduct .
### https://ekgf.org/ontology/story-impl-sparql#Neptune
sparql-story:Neptune rdf:type
owl:NamedIndividual,
sparql-story:SPARQLDatabaseProduct .
### https://ekgf.org/ontology/story-impl-sparql#Ontotext
sparql-story:Ontotext rdf:type
owl:NamedIndividual,
sparql-story:SPARQLDatabaseVendor .
### https://ekgf.org/ontology/story-impl-sparql#OxfordSemanticTechnologies
sparql-story:OxfordSemanticTechnologies rdf:type
owl:NamedIndividual,
sparql-story:SPARQLDatabaseVendor .
### https://ekgf.org/ontology/story-impl-sparql#RDFox
sparql-story:RDFox rdf:type
owl:NamedIndividual,
sparql-story:SPARQLDatabaseProduct .
### https://ekgf.org/ontology/story-impl-sparql#Stardog
sparql-story:Stardog rdf:type
owl:NamedIndividual,
sparql-story:SPARQLDatabaseProduct .
### https://ekgf.org/ontology/story-impl-sparql#StardogUnion
sparql-story:StardogUnion rdf:type
owl:NamedIndividual,
sparql-story:SPARQLDatabaseVendor .
### https://ekgf.org/ontology/story-impl-sparql#Virtuoso
sparql-story:Virtuoso rdf:type
owl:NamedIndividual,
sparql-story:SPARQLDatabaseProduct .
#################################################################
# General axioms
#################################################################
[
rdf:type owl:AllDifferent ;
owl:distinctMembers rdf:nil
] .
### Generated by the OWL API (version 4.5.9.2019-02-01T07:24:44Z) https://github.com/owlcs/owlapi