Showing
1 changed file
with
435 additions
and
438 deletions
1 | -# Saved by TopBraid on Wed Jul 27 19:58:27 PDT 2011 | ||
2 | # baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr | 1 | # baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr |
3 | -# imports: http://www.reportinghub.no/ep/schema/1.1.1/ddr | ||
4 | -# imports: http://www.reportinghub.no/1.1/map/ddr | ||
5 | -# imports: http://www.reportinghub.no/1.1/schema/map | ||
6 | # imports: http://spinrdf.org/spin | 2 | # imports: http://spinrdf.org/spin |
7 | # imports: http://topbraid.org/sxml | 3 | # imports: http://topbraid.org/sxml |
4 | +# imports: http://www.reportinghub.no/ep/schema/1.1.1/ddr | ||
8 | 5 | ||
9 | @prefix NPD_110412124707: <file:///www.reportinghub.no/input/NPD_110412124707.xml#> . | 6 | @prefix NPD_110412124707: <file:///www.reportinghub.no/input/NPD_110412124707.xml#> . |
10 | @prefix afn: <http://jena.hpl.hp.com/ARQ/function#> . | 7 | @prefix afn: <http://jena.hpl.hp.com/ARQ/function#> . |
... | @@ -24,7 +21,7 @@ ddr:Cs_activity | ... | @@ -24,7 +21,7 @@ ddr:Cs_activity |
24 | sxml:element "witsml:activity"^^xsd:string . | 21 | sxml:element "witsml:activity"^^xsd:string . |
25 | 22 | ||
26 | ddr:Cs_alias | 23 | ddr:Cs_alias |
27 | - sxml:element "witsml:rigAlias"^^xsd:string , "witsml:alias" . | 24 | + sxml:element "witsml:alias" , "witsml:rigAlias"^^xsd:string . |
28 | 25 | ||
29 | ddr:Cs_bitRecord | 26 | ddr:Cs_bitRecord |
30 | sxml:element "witsml:bitRecord" . | 27 | sxml:element "witsml:bitRecord" . |
... | @@ -72,7 +69,7 @@ ddr:Cs_drillReportPorePressure | ... | @@ -72,7 +69,7 @@ ddr:Cs_drillReportPorePressure |
72 | sxml:element "witsml:drillReportPorePressure" . | 69 | sxml:element "witsml:drillReportPorePressure" . |
73 | 70 | ||
74 | ddr:Cs_drillReportStatusInfo | 71 | ddr:Cs_drillReportStatusInfo |
75 | - sxml:element "witsml:statusInfo"^^xsd:string , "witsml:drillReportStatusInfo" . | 72 | + sxml:element "witsml:drillReportStatusInfo" , "witsml:statusInfo"^^xsd:string . |
76 | 73 | ||
77 | ddr:Cs_drillReportStratInfo | 74 | ddr:Cs_drillReportStratInfo |
78 | sxml:element "witsml:drillReportStratInfo" . | 75 | sxml:element "witsml:drillReportStratInfo" . |
... | @@ -108,7 +105,7 @@ ddr:Cs_refWellWellboreRig | ... | @@ -108,7 +105,7 @@ ddr:Cs_refWellWellboreRig |
108 | sxml:element "witsml:refWellWellboreRig" . | 105 | sxml:element "witsml:refWellWellboreRig" . |
109 | 106 | ||
110 | ddr:Cs_wellAlias | 107 | ddr:Cs_wellAlias |
111 | - sxml:element "witsml:wellAlias" , "witsml:wellboreAlias"^^xsd:string . | 108 | + sxml:element "witsml:wellboreAlias"^^xsd:string , "witsml:wellAlias" . |
112 | 109 | ||
113 | ddr:Cs_wellCRS | 110 | ddr:Cs_wellCRS |
114 | sxml:element "witsml:wellCRS" . | 111 | sxml:element "witsml:wellCRS" . |
... | @@ -125,473 +122,473 @@ ddr:Obj_drillReport | ... | @@ -125,473 +122,473 @@ ddr:Obj_drillReport |
125 | ddr:Thing | 122 | ddr:Thing |
126 | spin:rule | 123 | spin:rule |
127 | [ rdf:type sp:Construct ; | 124 | [ rdf:type sp:Construct ; |
128 | - rdfs:comment "STEP 030 - Construct ep-activity type statements"^^xsd:string ; | 125 | + rdfs:comment "STEP 020 - Construct all other object properties - WIP"^^xsd:string ; |
129 | - sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> ; | 126 | + sp:templates ([ sp:object _:b1 ; |
127 | + sp:predicate _:b2 ; | ||
128 | + sp:subject _:b3 | ||
129 | + ] [ sp:object rdf:Statement ; | ||
130 | sp:predicate rdf:type ; | 130 | sp:predicate rdf:type ; |
131 | + sp:subject _:b4 | ||
132 | + ] [ sp:object _:b3 ; | ||
133 | + sp:predicate rdf:subject ; | ||
134 | + sp:subject _:b4 | ||
135 | + ] [ sp:object _:b2 ; | ||
136 | + sp:predicate rdf:predicate ; | ||
137 | + sp:subject _:b4 | ||
138 | + ] [ sp:object _:b1 ; | ||
139 | + sp:predicate rdf:object ; | ||
140 | + sp:subject _:b4 | ||
141 | + ] [ sp:object _:b4 ; | ||
142 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; | ||
131 | sp:subject _:b1 | 143 | sp:subject _:b1 |
132 | ]) ; | 144 | ]) ; |
133 | - sp:where ([ sp:object ddr:Cs_activity ; | 145 | + sp:where ([ sp:object _:b1 ; |
146 | + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | ||
147 | + sp:subject _:b3 | ||
148 | + ] [ sp:object _:b5 ; | ||
134 | sp:predicate rdf:type ; | 149 | sp:predicate rdf:type ; |
135 | sp:subject _:b1 | 150 | sp:subject _:b1 |
151 | + ] [ sp:object _:b6 ; | ||
152 | + sp:predicate rdf:type ; | ||
153 | + sp:subject _:b3 | ||
154 | + ] [ rdf:type sp:TriplePath ; | ||
155 | + sp:object _:b7 ; | ||
156 | + sp:path [ rdf:type sp:ModPath ; | ||
157 | + sp:modMax -2 ; | ||
158 | + sp:modMin 0 ; | ||
159 | + sp:subPath rdfs:subClassOf | ||
160 | + ] ; | ||
161 | + sp:subject _:b6 | ||
162 | + ] [ sp:object _:b8 ; | ||
163 | + sp:predicate rdfs:subClassOf ; | ||
164 | + sp:subject _:b7 | ||
165 | + ] [ sp:object owl:Restriction ; | ||
166 | + sp:predicate rdf:type ; | ||
167 | + sp:subject _:b8 | ||
168 | + ] [ sp:object _:b2 ; | ||
169 | + sp:predicate owl:onProperty ; | ||
170 | + sp:subject _:b8 | ||
171 | + ] [ sp:object _:b5 ; | ||
172 | + sp:predicate owl:allValuesFrom ; | ||
173 | + sp:subject _:b8 | ||
136 | ]) | 174 | ]) |
137 | ] ; | 175 | ] ; |
138 | spin:rule | 176 | spin:rule |
139 | [ rdf:type sp:Construct ; | 177 | [ rdf:type sp:Construct ; |
140 | - rdfs:comment "STEP 002 - Construct datatype datetime values"^^xsd:string ; | 178 | + rdfs:comment "STEP 003 - Construct datatype string values"^^xsd:string ; |
141 | - sp:templates ([ sp:object _:b2 ; | 179 | + sp:templates ([ sp:object _:b9 ; |
142 | - sp:predicate _:b3 ; | 180 | + sp:predicate _:b10 ; |
143 | - sp:subject _:b4 | 181 | + sp:subject _:b11 |
144 | ] [ sp:object rdf:Statement ; | 182 | ] [ sp:object rdf:Statement ; |
145 | sp:predicate rdf:type ; | 183 | sp:predicate rdf:type ; |
146 | - sp:subject _:b5 | 184 | + sp:subject _:b12 |
147 | - ] [ sp:object _:b4 ; | 185 | + ] [ sp:object _:b11 ; |
148 | sp:predicate rdf:subject ; | 186 | sp:predicate rdf:subject ; |
149 | - sp:subject _:b5 | 187 | + sp:subject _:b12 |
150 | - ] [ sp:object _:b3 ; | 188 | + ] [ sp:object _:b10 ; |
151 | sp:predicate rdf:predicate ; | 189 | sp:predicate rdf:predicate ; |
152 | - sp:subject _:b5 | 190 | + sp:subject _:b12 |
153 | - ] [ sp:object _:b2 ; | 191 | + ] [ sp:object _:b9 ; |
154 | sp:predicate rdf:object ; | 192 | sp:predicate rdf:object ; |
155 | - sp:subject _:b5 | 193 | + sp:subject _:b12 |
156 | - ] [ sp:object _:b5 ; | 194 | + ] [ sp:object _:b12 ; |
157 | sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; | 195 | sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; |
158 | - sp:subject _:b6 | 196 | + sp:subject _:b13 |
159 | ]) ; | 197 | ]) ; |
160 | - sp:where ([ sp:object _:b6 ; | 198 | + sp:where ([ sp:object _:b13 ; |
161 | sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | 199 | sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; |
162 | - sp:subject _:b4 | 200 | + sp:subject _:b11 |
163 | - ] [ sp:object _:b7 ; | 201 | + ] [ sp:object _:b14 ; |
164 | sp:predicate rdf:type ; | 202 | sp:predicate rdf:type ; |
165 | - sp:subject _:b6 | 203 | + sp:subject _:b13 |
166 | ] [ rdf:type sp:NotExists ; | 204 | ] [ rdf:type sp:NotExists ; |
167 | sp:elements ([ sp:object | 205 | sp:elements ([ sp:object |
168 | [ sp:varName "uom"^^xsd:string | 206 | [ sp:varName "uom"^^xsd:string |
169 | ] ; | 207 | ] ; |
170 | sp:predicate ddr:uom ; | 208 | sp:predicate ddr:uom ; |
171 | - sp:subject _:b6 | 209 | + sp:subject _:b13 |
172 | ]) | 210 | ]) |
173 | ] [ rdf:type sp:Bind ; | 211 | ] [ rdf:type sp:Bind ; |
174 | sp:expression | 212 | sp:expression |
175 | [ rdf:type afn:localname ; | 213 | [ rdf:type afn:localname ; |
176 | - sp:arg1 _:b7 | 214 | + sp:arg1 _:b14 |
177 | ] ; | 215 | ] ; |
178 | - sp:variable _:b8 | 216 | + sp:variable _:b15 |
179 | ] [ rdf:type sp:Bind ; | 217 | ] [ rdf:type sp:Bind ; |
180 | sp:expression | 218 | sp:expression |
181 | [ rdf:type smf:buildURI ; | 219 | [ rdf:type smf:buildURI ; |
182 | sp:arg1 [ rdf:type fn:concat ; | 220 | sp:arg1 [ rdf:type fn:concat ; |
183 | sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#" ; | 221 | sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#" ; |
184 | - sp:arg2 _:b8 | 222 | + sp:arg2 _:b15 |
185 | ] | 223 | ] |
186 | ] ; | 224 | ] ; |
187 | - sp:variable _:b3 | 225 | + sp:variable _:b10 |
188 | ] [ sp:object owl:DatatypeProperty ; | 226 | ] [ sp:object owl:DatatypeProperty ; |
189 | sp:predicate rdf:type ; | 227 | sp:predicate rdf:type ; |
190 | - sp:subject _:b3 | 228 | + sp:subject _:b10 |
191 | - ] [ sp:object _:b9 ; | 229 | + ] [ sp:object _:b16 ; |
192 | sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | 230 | sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; |
193 | - sp:subject _:b6 | 231 | + sp:subject _:b13 |
194 | ] [ sp:object sxml:TextNode ; | 232 | ] [ sp:object sxml:TextNode ; |
195 | sp:predicate rdf:type ; | 233 | sp:predicate rdf:type ; |
196 | - sp:subject _:b9 | 234 | + sp:subject _:b16 |
197 | - ] [ sp:object _:b10 ; | 235 | + ] [ sp:object _:b9 ; |
198 | sp:predicate sxml:text ; | 236 | sp:predicate sxml:text ; |
199 | - sp:subject _:b9 | 237 | + sp:subject _:b16 |
200 | - ] [ sp:object _:b11 ; | 238 | + ] [ sp:object _:b17 ; |
201 | sp:predicate rdf:type ; | 239 | sp:predicate rdf:type ; |
202 | - sp:subject _:b4 | 240 | + sp:subject _:b11 |
203 | ] [ rdf:type sp:TriplePath ; | 241 | ] [ rdf:type sp:TriplePath ; |
204 | - sp:object _:b12 ; | 242 | + sp:object _:b18 ; |
205 | sp:path [ rdf:type sp:ModPath ; | 243 | sp:path [ rdf:type sp:ModPath ; |
206 | sp:modMax -2 ; | 244 | sp:modMax -2 ; |
207 | sp:modMin 0 ; | 245 | sp:modMin 0 ; |
208 | sp:subPath rdfs:subClassOf | 246 | sp:subPath rdfs:subClassOf |
209 | ] ; | 247 | ] ; |
210 | - sp:subject _:b11 | 248 | + sp:subject _:b17 |
211 | - ] [ sp:object _:b13 ; | 249 | + ] [ sp:object _:b19 ; |
212 | sp:predicate rdfs:subClassOf ; | 250 | sp:predicate rdfs:subClassOf ; |
213 | - sp:subject _:b12 | 251 | + sp:subject _:b18 |
214 | ] [ sp:object owl:Restriction ; | 252 | ] [ sp:object owl:Restriction ; |
215 | sp:predicate rdf:type ; | 253 | sp:predicate rdf:type ; |
216 | - sp:subject _:b13 | 254 | + sp:subject _:b19 |
217 | - ] [ sp:object _:b14 ; | 255 | + ] [ sp:object _:b20 ; |
218 | sp:predicate owl:allValuesFrom ; | 256 | sp:predicate owl:allValuesFrom ; |
219 | - sp:subject _:b13 | 257 | + sp:subject _:b19 |
220 | - ] [ sp:object _:b3 ; | 258 | + ] [ sp:object _:b10 ; |
221 | sp:predicate owl:onProperty ; | 259 | sp:predicate owl:onProperty ; |
222 | - sp:subject _:b13 | 260 | + sp:subject _:b19 |
223 | ] [ rdf:type sp:TriplePath ; | 261 | ] [ rdf:type sp:TriplePath ; |
224 | - sp:object xsd:dateTime ; | 262 | + sp:object xsd:string ; |
225 | sp:path [ rdf:type sp:ModPath ; | 263 | sp:path [ rdf:type sp:ModPath ; |
226 | sp:modMax -2 ; | 264 | sp:modMax -2 ; |
227 | sp:modMin 0 ; | 265 | sp:modMin 0 ; |
228 | sp:subPath rdfs:subClassOf | 266 | sp:subPath rdfs:subClassOf |
229 | ] ; | 267 | ] ; |
230 | - sp:subject _:b14 | 268 | + sp:subject _:b20 |
231 | - ] [ rdf:type sp:Bind ; | ||
232 | - sp:expression | ||
233 | - [ rdf:type xsd:dateTime ; | ||
234 | - sp:arg1 _:b10 | ||
235 | - ] ; | ||
236 | - sp:variable _:b2 | ||
237 | ]) | 269 | ]) |
238 | ] ; | 270 | ] ; |
239 | spin:rule | 271 | spin:rule |
240 | [ rdf:type sp:Construct ; | 272 | [ rdf:type sp:Construct ; |
241 | - rdfs:comment "STEP 004 - Construct UOM values"^^xsd:string ; | 273 | + rdfs:comment "STEP 006 - Construct Enumerated Values"^^xsd:string ; |
242 | - sp:templates ([ sp:object _:b15 ; | 274 | + sp:templates ([ sp:object _:b21 ; |
243 | - sp:predicate rdf:type ; | 275 | + sp:predicate _:b22 ; |
244 | - sp:subject _:b16 | 276 | + sp:subject _:b23 |
245 | - ] [ sp:object _:b17 ; | ||
246 | - sp:predicate ddr:uom ; | ||
247 | - sp:subject _:b16 | ||
248 | - ] [ sp:object _:b18 ; | ||
249 | - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
250 | - sp:subject _:b16 | ||
251 | - ] [ sp:object _:b16 ; | ||
252 | - sp:predicate _:b19 ; | ||
253 | - sp:subject _:b20 | ||
254 | ] [ sp:object rdf:Statement ; | 277 | ] [ sp:object rdf:Statement ; |
255 | sp:predicate rdf:type ; | 278 | sp:predicate rdf:type ; |
256 | - sp:subject _:b21 | 279 | + sp:subject _:b24 |
257 | - ] [ sp:object _:b20 ; | 280 | + ] [ sp:object _:b23 ; |
258 | sp:predicate rdf:subject ; | 281 | sp:predicate rdf:subject ; |
259 | - sp:subject _:b21 | 282 | + sp:subject _:b24 |
260 | - ] [ sp:object _:b19 ; | 283 | + ] [ sp:object _:b22 ; |
261 | sp:predicate rdf:predicate ; | 284 | sp:predicate rdf:predicate ; |
262 | - sp:subject _:b21 | 285 | + sp:subject _:b24 |
263 | - ] [ sp:object _:b18 ; | ||
264 | - sp:predicate rdf:object ; | ||
265 | - sp:subject _:b21 | ||
266 | ] [ sp:object _:b21 ; | 286 | ] [ sp:object _:b21 ; |
287 | + sp:predicate rdf:object ; | ||
288 | + sp:subject _:b24 | ||
289 | + ] [ sp:object _:b24 ; | ||
267 | sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; | 290 | sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; |
268 | - sp:subject _:b22 | 291 | + sp:subject _:b25 |
269 | ]) ; | 292 | ]) ; |
270 | - sp:where ([ sp:object _:b22 ; | 293 | + sp:where ([ sp:object _:b25 ; |
271 | sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | 294 | sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; |
272 | - sp:subject _:b20 | 295 | + sp:subject _:b23 |
273 | - ] [ sp:object _:b23 ; | 296 | + ] [ sp:object _:b26 ; |
274 | sp:predicate rdf:type ; | 297 | sp:predicate rdf:type ; |
275 | - sp:subject _:b22 | 298 | + sp:subject _:b25 |
276 | - ] [ sp:object _:b17 ; | ||
277 | - sp:predicate ddr:uom ; | ||
278 | - sp:subject _:b22 | ||
279 | ] [ rdf:type sp:NotExists ; | 299 | ] [ rdf:type sp:NotExists ; |
280 | sp:elements ([ sp:object | 300 | sp:elements ([ sp:object |
281 | - [ sp:varName "aNode"^^xsd:string | 301 | + [ sp:varName "uom"^^xsd:string |
282 | ] ; | 302 | ] ; |
283 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; | 303 | + sp:predicate ddr:uom ; |
284 | - sp:subject _:b22 | 304 | + sp:subject _:b25 |
285 | ]) | 305 | ]) |
286 | ] [ rdf:type sp:Bind ; | 306 | ] [ rdf:type sp:Bind ; |
287 | sp:expression | 307 | sp:expression |
288 | - [ rdf:type afn:localname ; | 308 | + [ rdf:type smf:titleCase ; |
289 | - sp:arg1 _:b23 | 309 | + sp:arg1 [ rdf:type afn:localname ; |
310 | + sp:arg1 _:b26 | ||
311 | + ] | ||
290 | ] ; | 312 | ] ; |
291 | - sp:variable _:b24 | 313 | + sp:variable _:b27 |
292 | ] [ rdf:type sp:Bind ; | 314 | ] [ rdf:type sp:Bind ; |
293 | sp:expression | 315 | sp:expression |
294 | [ rdf:type smf:buildURI ; | 316 | [ rdf:type smf:buildURI ; |
295 | sp:arg1 [ rdf:type fn:concat ; | 317 | sp:arg1 [ rdf:type fn:concat ; |
296 | sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#has" ; | 318 | sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#has" ; |
297 | - sp:arg2 [ rdf:type smf:titleCase ; | 319 | + sp:arg2 _:b27 |
298 | - sp:arg1 _:b24 | ||
299 | - ] | ||
300 | ] | 320 | ] |
301 | ] ; | 321 | ] ; |
302 | - sp:variable _:b19 | 322 | + sp:variable _:b22 |
303 | ] [ sp:object owl:ObjectProperty ; | 323 | ] [ sp:object owl:ObjectProperty ; |
304 | sp:predicate rdf:type ; | 324 | sp:predicate rdf:type ; |
305 | - sp:subject _:b19 | 325 | + sp:subject _:b22 |
306 | - ] [ sp:object _:b25 ; | 326 | + ] [ sp:object _:b28 ; |
307 | sp:predicate rdf:type ; | 327 | sp:predicate rdf:type ; |
308 | - sp:subject _:b20 | 328 | + sp:subject _:b23 |
309 | ] [ rdf:type sp:TriplePath ; | 329 | ] [ rdf:type sp:TriplePath ; |
310 | - sp:object _:b26 ; | 330 | + sp:object _:b29 ; |
311 | sp:path [ rdf:type sp:ModPath ; | 331 | sp:path [ rdf:type sp:ModPath ; |
312 | sp:modMax -2 ; | 332 | sp:modMax -2 ; |
313 | sp:modMin 0 ; | 333 | sp:modMin 0 ; |
314 | sp:subPath rdfs:subClassOf | 334 | sp:subPath rdfs:subClassOf |
315 | ] ; | 335 | ] ; |
316 | - sp:subject _:b25 | 336 | + sp:subject _:b28 |
317 | - ] [ sp:object _:b27 ; | 337 | + ] [ sp:object _:b30 ; |
318 | sp:predicate rdfs:subClassOf ; | 338 | sp:predicate rdfs:subClassOf ; |
319 | - sp:subject _:b26 | 339 | + sp:subject _:b29 |
320 | ] [ sp:object owl:Restriction ; | 340 | ] [ sp:object owl:Restriction ; |
321 | sp:predicate rdf:type ; | 341 | sp:predicate rdf:type ; |
322 | - sp:subject _:b27 | 342 | + sp:subject _:b30 |
323 | - ] [ sp:object _:b15 ; | 343 | + ] [ sp:object _:b22 ; |
324 | - sp:predicate owl:allValuesFrom ; | ||
325 | - sp:subject _:b27 | ||
326 | - ] [ sp:object _:b19 ; | ||
327 | sp:predicate owl:onProperty ; | 344 | sp:predicate owl:onProperty ; |
328 | - sp:subject _:b27 | 345 | + sp:subject _:b30 |
329 | - ] [ sp:object _:b28 ; | 346 | + ] [ sp:object _:b31 ; |
347 | + sp:predicate owl:allValuesFrom ; | ||
348 | + sp:subject _:b30 | ||
349 | + ] [ rdf:type sp:TriplePath ; | ||
350 | + sp:object <http://www.linkedmodel.org/schema/dtype#EnumeratedValue> ; | ||
351 | + sp:path [ rdf:type sp:ModPath ; | ||
352 | + sp:modMax -2 ; | ||
353 | + sp:modMin 0 ; | ||
354 | + sp:subPath rdfs:subClassOf | ||
355 | + ] ; | ||
356 | + sp:subject _:b31 | ||
357 | + ] [ sp:object _:b32 ; | ||
330 | sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | 358 | sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; |
331 | - sp:subject _:b22 | 359 | + sp:subject _:b25 |
332 | ] [ sp:object sxml:TextNode ; | 360 | ] [ sp:object sxml:TextNode ; |
333 | sp:predicate rdf:type ; | 361 | sp:predicate rdf:type ; |
334 | - sp:subject _:b28 | 362 | + sp:subject _:b32 |
335 | - ] [ sp:object _:b29 ; | 363 | + ] [ sp:object _:b33 ; |
336 | sp:predicate sxml:text ; | 364 | sp:predicate sxml:text ; |
337 | - sp:subject _:b28 | 365 | + sp:subject _:b32 |
338 | - ] [ rdf:type sp:Bind ; | 366 | + ] [ sp:object _:b31 ; |
339 | - sp:expression | 367 | + sp:predicate rdf:type ; |
340 | - [ rdf:type xsd:double ; | 368 | + sp:subject _:b21 |
341 | - sp:arg1 _:b29 | 369 | + ] [ sp:object _:b33 ; |
342 | - ] ; | 370 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; |
343 | - sp:variable _:b18 | 371 | + sp:subject _:b21 |
344 | ]) | 372 | ]) |
345 | ] ; | 373 | ] ; |
346 | spin:rule | 374 | spin:rule |
347 | [ rdf:type sp:Construct ; | 375 | [ rdf:type sp:Construct ; |
348 | - rdfs:comment "STEP 006 - Construct Enumerated Values"^^xsd:string ; | 376 | + rdfs:comment "STEP 004 - Construct UOM values"^^xsd:string ; |
349 | - sp:templates ([ sp:object _:b30 ; | 377 | + sp:templates ([ sp:object _:b34 ; |
350 | - sp:predicate _:b31 ; | 378 | + sp:predicate rdf:type ; |
351 | - sp:subject _:b32 | 379 | + sp:subject _:b35 |
380 | + ] [ sp:object _:b36 ; | ||
381 | + sp:predicate ddr:uom ; | ||
382 | + sp:subject _:b35 | ||
383 | + ] [ sp:object _:b37 ; | ||
384 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
385 | + sp:subject _:b35 | ||
386 | + ] [ sp:object _:b35 ; | ||
387 | + sp:predicate _:b38 ; | ||
388 | + sp:subject _:b39 | ||
352 | ] [ sp:object rdf:Statement ; | 389 | ] [ sp:object rdf:Statement ; |
353 | sp:predicate rdf:type ; | 390 | sp:predicate rdf:type ; |
354 | - sp:subject _:b33 | 391 | + sp:subject _:b40 |
355 | - ] [ sp:object _:b32 ; | 392 | + ] [ sp:object _:b39 ; |
356 | sp:predicate rdf:subject ; | 393 | sp:predicate rdf:subject ; |
357 | - sp:subject _:b33 | 394 | + sp:subject _:b40 |
358 | - ] [ sp:object _:b31 ; | 395 | + ] [ sp:object _:b38 ; |
359 | sp:predicate rdf:predicate ; | 396 | sp:predicate rdf:predicate ; |
360 | - sp:subject _:b33 | 397 | + sp:subject _:b40 |
361 | - ] [ sp:object _:b30 ; | 398 | + ] [ sp:object _:b37 ; |
362 | sp:predicate rdf:object ; | 399 | sp:predicate rdf:object ; |
363 | - sp:subject _:b33 | 400 | + sp:subject _:b40 |
364 | - ] [ sp:object _:b33 ; | 401 | + ] [ sp:object _:b40 ; |
365 | sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; | 402 | sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; |
366 | - sp:subject _:b34 | 403 | + sp:subject _:b41 |
367 | ]) ; | 404 | ]) ; |
368 | - sp:where ([ sp:object _:b34 ; | 405 | + sp:where ([ sp:object _:b41 ; |
369 | sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | 406 | sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; |
370 | - sp:subject _:b32 | 407 | + sp:subject _:b39 |
371 | - ] [ sp:object _:b35 ; | 408 | + ] [ sp:object _:b42 ; |
372 | sp:predicate rdf:type ; | 409 | sp:predicate rdf:type ; |
373 | - sp:subject _:b34 | 410 | + sp:subject _:b41 |
411 | + ] [ sp:object _:b36 ; | ||
412 | + sp:predicate ddr:uom ; | ||
413 | + sp:subject _:b41 | ||
374 | ] [ rdf:type sp:NotExists ; | 414 | ] [ rdf:type sp:NotExists ; |
375 | sp:elements ([ sp:object | 415 | sp:elements ([ sp:object |
376 | - [ sp:varName "uom"^^xsd:string | 416 | + [ sp:varName "aNode"^^xsd:string |
377 | ] ; | 417 | ] ; |
378 | - sp:predicate ddr:uom ; | 418 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; |
379 | - sp:subject _:b34 | 419 | + sp:subject _:b41 |
380 | ]) | 420 | ]) |
381 | ] [ rdf:type sp:Bind ; | 421 | ] [ rdf:type sp:Bind ; |
382 | sp:expression | 422 | sp:expression |
383 | - [ rdf:type smf:titleCase ; | 423 | + [ rdf:type afn:localname ; |
384 | - sp:arg1 [ rdf:type afn:localname ; | 424 | + sp:arg1 _:b42 |
385 | - sp:arg1 _:b35 | ||
386 | - ] | ||
387 | ] ; | 425 | ] ; |
388 | - sp:variable _:b36 | 426 | + sp:variable _:b43 |
389 | ] [ rdf:type sp:Bind ; | 427 | ] [ rdf:type sp:Bind ; |
390 | sp:expression | 428 | sp:expression |
391 | [ rdf:type smf:buildURI ; | 429 | [ rdf:type smf:buildURI ; |
392 | sp:arg1 [ rdf:type fn:concat ; | 430 | sp:arg1 [ rdf:type fn:concat ; |
393 | sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#has" ; | 431 | sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#has" ; |
394 | - sp:arg2 _:b36 | 432 | + sp:arg2 [ rdf:type smf:titleCase ; |
433 | + sp:arg1 _:b43 | ||
434 | + ] | ||
395 | ] | 435 | ] |
396 | ] ; | 436 | ] ; |
397 | - sp:variable _:b31 | 437 | + sp:variable _:b38 |
398 | ] [ sp:object owl:ObjectProperty ; | 438 | ] [ sp:object owl:ObjectProperty ; |
399 | sp:predicate rdf:type ; | 439 | sp:predicate rdf:type ; |
400 | - sp:subject _:b31 | 440 | + sp:subject _:b38 |
401 | - ] [ sp:object _:b37 ; | 441 | + ] [ sp:object _:b44 ; |
402 | sp:predicate rdf:type ; | 442 | sp:predicate rdf:type ; |
403 | - sp:subject _:b32 | 443 | + sp:subject _:b39 |
404 | ] [ rdf:type sp:TriplePath ; | 444 | ] [ rdf:type sp:TriplePath ; |
405 | - sp:object _:b38 ; | 445 | + sp:object _:b45 ; |
406 | sp:path [ rdf:type sp:ModPath ; | 446 | sp:path [ rdf:type sp:ModPath ; |
407 | sp:modMax -2 ; | 447 | sp:modMax -2 ; |
408 | sp:modMin 0 ; | 448 | sp:modMin 0 ; |
409 | sp:subPath rdfs:subClassOf | 449 | sp:subPath rdfs:subClassOf |
410 | ] ; | 450 | ] ; |
411 | - sp:subject _:b37 | 451 | + sp:subject _:b44 |
412 | - ] [ sp:object _:b39 ; | 452 | + ] [ sp:object _:b46 ; |
413 | sp:predicate rdfs:subClassOf ; | 453 | sp:predicate rdfs:subClassOf ; |
414 | - sp:subject _:b38 | 454 | + sp:subject _:b45 |
415 | ] [ sp:object owl:Restriction ; | 455 | ] [ sp:object owl:Restriction ; |
416 | sp:predicate rdf:type ; | 456 | sp:predicate rdf:type ; |
417 | - sp:subject _:b39 | 457 | + sp:subject _:b46 |
418 | - ] [ sp:object _:b31 ; | 458 | + ] [ sp:object _:b34 ; |
419 | - sp:predicate owl:onProperty ; | ||
420 | - sp:subject _:b39 | ||
421 | - ] [ sp:object _:b40 ; | ||
422 | sp:predicate owl:allValuesFrom ; | 459 | sp:predicate owl:allValuesFrom ; |
423 | - sp:subject _:b39 | 460 | + sp:subject _:b46 |
424 | - ] [ rdf:type sp:TriplePath ; | 461 | + ] [ sp:object _:b38 ; |
425 | - sp:object <http://www.linkedmodel.org/schema/dtype#EnumeratedValue> ; | 462 | + sp:predicate owl:onProperty ; |
426 | - sp:path [ rdf:type sp:ModPath ; | 463 | + sp:subject _:b46 |
427 | - sp:modMax -2 ; | 464 | + ] [ sp:object _:b47 ; |
428 | - sp:modMin 0 ; | ||
429 | - sp:subPath rdfs:subClassOf | ||
430 | - ] ; | ||
431 | - sp:subject _:b40 | ||
432 | - ] [ sp:object _:b41 ; | ||
433 | sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | 465 | sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; |
434 | - sp:subject _:b34 | 466 | + sp:subject _:b41 |
435 | ] [ sp:object sxml:TextNode ; | 467 | ] [ sp:object sxml:TextNode ; |
436 | sp:predicate rdf:type ; | 468 | sp:predicate rdf:type ; |
437 | - sp:subject _:b41 | 469 | + sp:subject _:b47 |
438 | - ] [ sp:object _:b42 ; | 470 | + ] [ sp:object _:b48 ; |
439 | sp:predicate sxml:text ; | 471 | sp:predicate sxml:text ; |
440 | - sp:subject _:b41 | 472 | + sp:subject _:b47 |
441 | - ] [ sp:object _:b40 ; | 473 | + ] [ rdf:type sp:Bind ; |
442 | - sp:predicate rdf:type ; | 474 | + sp:expression |
443 | - sp:subject _:b30 | 475 | + [ rdf:type xsd:double ; |
444 | - ] [ sp:object _:b42 ; | 476 | + sp:arg1 _:b48 |
445 | - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | 477 | + ] ; |
446 | - sp:subject _:b30 | 478 | + sp:variable _:b37 |
447 | ]) | 479 | ]) |
448 | ] ; | 480 | ] ; |
449 | spin:rule | 481 | spin:rule |
450 | [ rdf:type sp:Construct ; | 482 | [ rdf:type sp:Construct ; |
451 | - rdfs:comment "STEP 003 - Construct datatype string values"^^xsd:string ; | 483 | + rdfs:comment "STEP 002 - Construct datatype datetime values"^^xsd:string ; |
452 | - sp:templates ([ sp:object _:b43 ; | 484 | + sp:templates ([ sp:object _:b49 ; |
453 | - sp:predicate _:b44 ; | 485 | + sp:predicate _:b50 ; |
454 | - sp:subject _:b45 | 486 | + sp:subject _:b51 |
455 | ] [ sp:object rdf:Statement ; | 487 | ] [ sp:object rdf:Statement ; |
456 | sp:predicate rdf:type ; | 488 | sp:predicate rdf:type ; |
457 | - sp:subject _:b46 | 489 | + sp:subject _:b52 |
458 | - ] [ sp:object _:b45 ; | 490 | + ] [ sp:object _:b51 ; |
459 | sp:predicate rdf:subject ; | 491 | sp:predicate rdf:subject ; |
460 | - sp:subject _:b46 | 492 | + sp:subject _:b52 |
461 | - ] [ sp:object _:b44 ; | 493 | + ] [ sp:object _:b50 ; |
462 | sp:predicate rdf:predicate ; | 494 | sp:predicate rdf:predicate ; |
463 | - sp:subject _:b46 | 495 | + sp:subject _:b52 |
464 | - ] [ sp:object _:b43 ; | 496 | + ] [ sp:object _:b49 ; |
465 | sp:predicate rdf:object ; | 497 | sp:predicate rdf:object ; |
466 | - sp:subject _:b46 | 498 | + sp:subject _:b52 |
467 | - ] [ sp:object _:b46 ; | 499 | + ] [ sp:object _:b52 ; |
468 | sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; | 500 | sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; |
469 | - sp:subject _:b47 | 501 | + sp:subject _:b53 |
470 | ]) ; | 502 | ]) ; |
471 | - sp:where ([ sp:object _:b47 ; | 503 | + sp:where ([ sp:object _:b53 ; |
472 | sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | 504 | sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; |
473 | - sp:subject _:b45 | 505 | + sp:subject _:b51 |
474 | - ] [ sp:object _:b48 ; | 506 | + ] [ sp:object _:b54 ; |
475 | sp:predicate rdf:type ; | 507 | sp:predicate rdf:type ; |
476 | - sp:subject _:b47 | 508 | + sp:subject _:b53 |
477 | ] [ rdf:type sp:NotExists ; | 509 | ] [ rdf:type sp:NotExists ; |
478 | sp:elements ([ sp:object | 510 | sp:elements ([ sp:object |
479 | [ sp:varName "uom"^^xsd:string | 511 | [ sp:varName "uom"^^xsd:string |
480 | ] ; | 512 | ] ; |
481 | sp:predicate ddr:uom ; | 513 | sp:predicate ddr:uom ; |
482 | - sp:subject _:b47 | 514 | + sp:subject _:b53 |
483 | ]) | 515 | ]) |
484 | ] [ rdf:type sp:Bind ; | 516 | ] [ rdf:type sp:Bind ; |
485 | sp:expression | 517 | sp:expression |
486 | [ rdf:type afn:localname ; | 518 | [ rdf:type afn:localname ; |
487 | - sp:arg1 _:b48 | 519 | + sp:arg1 _:b54 |
488 | ] ; | 520 | ] ; |
489 | - sp:variable _:b49 | 521 | + sp:variable _:b55 |
490 | ] [ rdf:type sp:Bind ; | 522 | ] [ rdf:type sp:Bind ; |
491 | sp:expression | 523 | sp:expression |
492 | [ rdf:type smf:buildURI ; | 524 | [ rdf:type smf:buildURI ; |
493 | sp:arg1 [ rdf:type fn:concat ; | 525 | sp:arg1 [ rdf:type fn:concat ; |
494 | sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#" ; | 526 | sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#" ; |
495 | - sp:arg2 _:b49 | 527 | + sp:arg2 _:b55 |
496 | ] | 528 | ] |
497 | ] ; | 529 | ] ; |
498 | - sp:variable _:b44 | 530 | + sp:variable _:b50 |
499 | ] [ sp:object owl:DatatypeProperty ; | 531 | ] [ sp:object owl:DatatypeProperty ; |
500 | sp:predicate rdf:type ; | 532 | sp:predicate rdf:type ; |
501 | - sp:subject _:b44 | 533 | + sp:subject _:b50 |
502 | - ] [ sp:object _:b50 ; | 534 | + ] [ sp:object _:b56 ; |
503 | sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | 535 | sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; |
504 | - sp:subject _:b47 | 536 | + sp:subject _:b53 |
505 | ] [ sp:object sxml:TextNode ; | 537 | ] [ sp:object sxml:TextNode ; |
506 | sp:predicate rdf:type ; | 538 | sp:predicate rdf:type ; |
507 | - sp:subject _:b50 | 539 | + sp:subject _:b56 |
508 | - ] [ sp:object _:b43 ; | 540 | + ] [ sp:object _:b57 ; |
509 | sp:predicate sxml:text ; | 541 | sp:predicate sxml:text ; |
510 | - sp:subject _:b50 | 542 | + sp:subject _:b56 |
511 | - ] [ sp:object _:b51 ; | 543 | + ] [ sp:object _:b58 ; |
512 | sp:predicate rdf:type ; | 544 | sp:predicate rdf:type ; |
513 | - sp:subject _:b45 | 545 | + sp:subject _:b51 |
514 | ] [ rdf:type sp:TriplePath ; | 546 | ] [ rdf:type sp:TriplePath ; |
515 | - sp:object _:b52 ; | 547 | + sp:object _:b59 ; |
516 | sp:path [ rdf:type sp:ModPath ; | 548 | sp:path [ rdf:type sp:ModPath ; |
517 | sp:modMax -2 ; | 549 | sp:modMax -2 ; |
518 | sp:modMin 0 ; | 550 | sp:modMin 0 ; |
519 | sp:subPath rdfs:subClassOf | 551 | sp:subPath rdfs:subClassOf |
520 | ] ; | 552 | ] ; |
521 | - sp:subject _:b51 | 553 | + sp:subject _:b58 |
522 | - ] [ sp:object _:b53 ; | 554 | + ] [ sp:object _:b60 ; |
523 | sp:predicate rdfs:subClassOf ; | 555 | sp:predicate rdfs:subClassOf ; |
524 | - sp:subject _:b52 | 556 | + sp:subject _:b59 |
525 | ] [ sp:object owl:Restriction ; | 557 | ] [ sp:object owl:Restriction ; |
526 | sp:predicate rdf:type ; | 558 | sp:predicate rdf:type ; |
527 | - sp:subject _:b53 | 559 | + sp:subject _:b60 |
528 | - ] [ sp:object _:b54 ; | 560 | + ] [ sp:object _:b61 ; |
529 | sp:predicate owl:allValuesFrom ; | 561 | sp:predicate owl:allValuesFrom ; |
530 | - sp:subject _:b53 | 562 | + sp:subject _:b60 |
531 | - ] [ sp:object _:b44 ; | 563 | + ] [ sp:object _:b50 ; |
532 | sp:predicate owl:onProperty ; | 564 | sp:predicate owl:onProperty ; |
533 | - sp:subject _:b53 | 565 | + sp:subject _:b60 |
534 | ] [ rdf:type sp:TriplePath ; | 566 | ] [ rdf:type sp:TriplePath ; |
535 | - sp:object xsd:string ; | 567 | + sp:object xsd:dateTime ; |
536 | sp:path [ rdf:type sp:ModPath ; | 568 | sp:path [ rdf:type sp:ModPath ; |
537 | sp:modMax -2 ; | 569 | sp:modMax -2 ; |
538 | sp:modMin 0 ; | 570 | sp:modMin 0 ; |
539 | sp:subPath rdfs:subClassOf | 571 | sp:subPath rdfs:subClassOf |
540 | ] ; | 572 | ] ; |
541 | - sp:subject _:b54 | 573 | + sp:subject _:b61 |
574 | + ] [ rdf:type sp:Bind ; | ||
575 | + sp:expression | ||
576 | + [ rdf:type xsd:dateTime ; | ||
577 | + sp:arg1 _:b57 | ||
578 | + ] ; | ||
579 | + sp:variable _:b49 | ||
542 | ]) | 580 | ]) |
543 | ] ; | 581 | ] ; |
544 | spin:rule | 582 | spin:rule |
545 | [ rdf:type sp:Construct ; | 583 | [ rdf:type sp:Construct ; |
546 | - rdfs:comment "STEP 020 - Construct all other object properties - WIP"^^xsd:string ; | 584 | + rdfs:comment "STEP 030 - Construct ep-activity type statements"^^xsd:string ; |
547 | - sp:templates ([ sp:object _:b55 ; | 585 | + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> ; |
548 | - sp:predicate _:b56 ; | ||
549 | - sp:subject _:b57 | ||
550 | - ] [ sp:object rdf:Statement ; | ||
551 | sp:predicate rdf:type ; | 586 | sp:predicate rdf:type ; |
552 | - sp:subject _:b58 | 587 | + sp:subject _:b62 |
553 | - ] [ sp:object _:b57 ; | ||
554 | - sp:predicate rdf:subject ; | ||
555 | - sp:subject _:b58 | ||
556 | - ] [ sp:object _:b56 ; | ||
557 | - sp:predicate rdf:predicate ; | ||
558 | - sp:subject _:b58 | ||
559 | - ] [ sp:object _:b55 ; | ||
560 | - sp:predicate rdf:object ; | ||
561 | - sp:subject _:b58 | ||
562 | - ] [ sp:object _:b58 ; | ||
563 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; | ||
564 | - sp:subject _:b55 | ||
565 | ]) ; | 588 | ]) ; |
566 | - sp:where ([ sp:object _:b55 ; | 589 | + sp:where ([ sp:object ddr:Cs_activity ; |
567 | - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | ||
568 | - sp:subject _:b57 | ||
569 | - ] [ sp:object _:b59 ; | ||
570 | - sp:predicate rdf:type ; | ||
571 | - sp:subject _:b55 | ||
572 | - ] [ sp:object _:b60 ; | ||
573 | - sp:predicate rdf:type ; | ||
574 | - sp:subject _:b57 | ||
575 | - ] [ rdf:type sp:TriplePath ; | ||
576 | - sp:object _:b61 ; | ||
577 | - sp:path [ rdf:type sp:ModPath ; | ||
578 | - sp:modMax -2 ; | ||
579 | - sp:modMin 0 ; | ||
580 | - sp:subPath rdfs:subClassOf | ||
581 | - ] ; | ||
582 | - sp:subject _:b60 | ||
583 | - ] [ sp:object _:b62 ; | ||
584 | - sp:predicate rdfs:subClassOf ; | ||
585 | - sp:subject _:b61 | ||
586 | - ] [ sp:object owl:Restriction ; | ||
587 | sp:predicate rdf:type ; | 590 | sp:predicate rdf:type ; |
588 | sp:subject _:b62 | 591 | sp:subject _:b62 |
589 | - ] [ sp:object _:b56 ; | ||
590 | - sp:predicate owl:onProperty ; | ||
591 | - sp:subject _:b62 | ||
592 | - ] [ sp:object _:b59 ; | ||
593 | - sp:predicate owl:allValuesFrom ; | ||
594 | - sp:subject _:b62 | ||
595 | ]) | 592 | ]) |
596 | ] . | 593 | ] . |
597 | 594 | ||
... | @@ -608,298 +605,298 @@ ddr:version | ... | @@ -608,298 +605,298 @@ ddr:version |
608 | 605 | ||
609 | <http://www.reportinghub.no/ep/transform/1.1/ddr> | 606 | <http://www.reportinghub.no/ep/transform/1.1/ddr> |
610 | rdf:type owl:Ontology ; | 607 | rdf:type owl:Ontology ; |
611 | - owl:imports <http://www.reportinghub.no/1.1/schema/map> , <http://topbraid.org/sxml> , <http://www.reportinghub.no/1.1/map/ddr> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.1.1/ddr> ; | 608 | + owl:imports <http://spinrdf.org/spin> , <http://topbraid.org/sxml> , <http://www.reportinghub.no/ep/schema/1.1.1/ddr> ; |
612 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 609 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . |
613 | 610 | ||
614 | owl:Thing | 611 | owl:Thing |
615 | spin:query | 612 | spin:query |
616 | [ rdf:type sp:Select ; | 613 | [ rdf:type sp:Select ; |
617 | sp:resultVariables (_:b63 _:b64 _:b65 _:b66) ; | 614 | sp:resultVariables (_:b63 _:b64 _:b65 _:b66) ; |
615 | + sp:where ([ sp:object _:b66 ; | ||
616 | + sp:predicate <http://www.w3.org/ns/sawsdl#modelReference> ; | ||
617 | + sp:subject _:b65 | ||
618 | + ] [ sp:object _:b65 ; | ||
619 | + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | ||
620 | + sp:subject _:b64 | ||
621 | + ] [ rdf:type sp:Union ; | ||
622 | + sp:elements (([ sp:object <http://topbraid.org/sxsd#Sequence> ; | ||
623 | + sp:predicate rdf:type ; | ||
624 | + sp:subject _:b64 | ||
625 | + ]) ([ sp:object <http://topbraid.org/sxsd#Choice> ; | ||
626 | + sp:predicate rdf:type ; | ||
627 | + sp:subject _:b64 | ||
628 | + ])) | ||
629 | + ] [ sp:object _:b64 ; | ||
630 | + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | ||
631 | + sp:subject _:b63 | ||
632 | + ]) | ||
633 | + ] ; | ||
634 | + spin:query | ||
635 | + [ rdf:type sp:Select ; | ||
636 | + sp:resultVariables (_:b67 _:b68 _:b69 _:b70) ; | ||
618 | sp:where ([ sp:object <http://topbraid.org/sxsd#ComplexType> ; | 637 | sp:where ([ sp:object <http://topbraid.org/sxsd#ComplexType> ; |
619 | sp:predicate rdf:type ; | 638 | sp:predicate rdf:type ; |
620 | - sp:subject _:b67 | 639 | + sp:subject _:b71 |
621 | ] [ rdf:type sp:TriplePath ; | 640 | ] [ rdf:type sp:TriplePath ; |
622 | - sp:object _:b68 ; | 641 | + sp:object _:b72 ; |
623 | sp:path [ rdf:type sp:ModPath ; | 642 | sp:path [ rdf:type sp:ModPath ; |
624 | sp:modMax -2 ; | 643 | sp:modMax -2 ; |
625 | sp:modMin 0 ; | 644 | sp:modMin 0 ; |
626 | sp:subPath <http://www.topbraid.org/2007/05/composite.owl#child> | 645 | sp:subPath <http://www.topbraid.org/2007/05/composite.owl#child> |
627 | ] ; | 646 | ] ; |
628 | - sp:subject _:b67 | 647 | + sp:subject _:b71 |
629 | - ] [ sp:object _:b69 ; | 648 | + ] [ sp:object _:b73 ; |
630 | sp:predicate <http://topbraid.org/sxsd#name> ; | 649 | sp:predicate <http://topbraid.org/sxsd#name> ; |
631 | - sp:subject _:b67 | 650 | + sp:subject _:b71 |
632 | - ] [ sp:object _:b66 ; | ||
633 | - sp:predicate <http://www.w3.org/ns/sawsdl#modelReference> ; | ||
634 | - sp:subject _:b68 | ||
635 | ] [ sp:object _:b70 ; | 651 | ] [ sp:object _:b70 ; |
652 | + sp:predicate <http://www.w3.org/ns/sawsdl#modelReference> ; | ||
653 | + sp:subject _:b72 | ||
654 | + ] [ sp:object _:b74 ; | ||
636 | sp:predicate <http://topbraid.org/sxsd#name> ; | 655 | sp:predicate <http://topbraid.org/sxsd#name> ; |
637 | - sp:subject _:b68 | 656 | + sp:subject _:b72 |
638 | ] [ rdf:type sp:Bind ; | 657 | ] [ rdf:type sp:Bind ; |
639 | sp:expression | 658 | sp:expression |
640 | [ rdf:type spif:titleCase ; | 659 | [ rdf:type spif:titleCase ; |
641 | - sp:arg1 _:b70 | 660 | + sp:arg1 _:b74 |
642 | ] ; | 661 | ] ; |
643 | - sp:variable _:b71 | 662 | + sp:variable _:b75 |
644 | ] [ rdf:type sp:Bind ; | 663 | ] [ rdf:type sp:Bind ; |
645 | sp:expression | 664 | sp:expression |
646 | [ rdf:type smf:buildURI ; | 665 | [ rdf:type smf:buildURI ; |
647 | sp:arg1 [ rdf:type fn:concat ; | 666 | sp:arg1 [ rdf:type fn:concat ; |
648 | sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#has" ; | 667 | sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#has" ; |
649 | - sp:arg2 _:b71 | 668 | + sp:arg2 _:b75 |
650 | ] | 669 | ] |
651 | ] ; | 670 | ] ; |
652 | - sp:variable _:b65 | 671 | + sp:variable _:b69 |
653 | ] [ rdf:type sp:Bind ; | 672 | ] [ rdf:type sp:Bind ; |
654 | sp:expression | 673 | sp:expression |
655 | [ rdf:type spif:titleCase ; | 674 | [ rdf:type spif:titleCase ; |
656 | - sp:arg1 _:b69 ; | 675 | + sp:arg1 _:b73 ; |
657 | sp:arg2 "[a-z]s" | 676 | sp:arg2 "[a-z]s" |
658 | ] ; | 677 | ] ; |
659 | - sp:variable _:b72 | 678 | + sp:variable _:b76 |
660 | ] [ rdf:type sp:Bind ; | 679 | ] [ rdf:type sp:Bind ; |
661 | sp:expression | 680 | sp:expression |
662 | [ rdf:type smf:buildURI ; | 681 | [ rdf:type smf:buildURI ; |
663 | sp:arg1 [ rdf:type fn:concat ; | 682 | sp:arg1 [ rdf:type fn:concat ; |
664 | sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#" ; | 683 | sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#" ; |
665 | - sp:arg2 _:b72 | 684 | + sp:arg2 _:b76 |
666 | ] | 685 | ] |
667 | ] ; | 686 | ] ; |
668 | - sp:variable _:b64 | 687 | + sp:variable _:b68 |
669 | ] [ rdf:type sp:Bind ; | 688 | ] [ rdf:type sp:Bind ; |
670 | sp:expression | 689 | sp:expression |
671 | [ rdf:type smf:buildURI ; | 690 | [ rdf:type smf:buildURI ; |
672 | sp:arg1 [ rdf:type fn:concat ; | 691 | sp:arg1 [ rdf:type fn:concat ; |
673 | sp:arg1 "http://www.reportinghub.no/map/ddr#" ; | 692 | sp:arg1 "http://www.reportinghub.no/map/ddr#" ; |
674 | - sp:arg2 _:b72 ; | 693 | + sp:arg2 _:b76 ; |
675 | sp:arg3 "-has" ; | 694 | sp:arg3 "-has" ; |
676 | - sp:arg4 _:b71 | 695 | + sp:arg4 _:b75 |
677 | ] | 696 | ] |
678 | ] ; | 697 | ] ; |
679 | - sp:variable _:b63 | 698 | + sp:variable _:b67 |
680 | - ]) | ||
681 | - ] ; | ||
682 | - spin:query | ||
683 | - [ rdf:type sp:Select ; | ||
684 | - sp:resultVariables (_:b73 _:b74 _:b75 _:b76) ; | ||
685 | - sp:where ([ sp:object _:b76 ; | ||
686 | - sp:predicate <http://www.w3.org/ns/sawsdl#modelReference> ; | ||
687 | - sp:subject _:b75 | ||
688 | - ] [ sp:object _:b75 ; | ||
689 | - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | ||
690 | - sp:subject _:b74 | ||
691 | - ] [ rdf:type sp:Union ; | ||
692 | - sp:elements (([ sp:object <http://topbraid.org/sxsd#Sequence> ; | ||
693 | - sp:predicate rdf:type ; | ||
694 | - sp:subject _:b74 | ||
695 | - ]) ([ sp:object <http://topbraid.org/sxsd#Choice> ; | ||
696 | - sp:predicate rdf:type ; | ||
697 | - sp:subject _:b74 | ||
698 | - ])) | ||
699 | - ] [ sp:object _:b74 ; | ||
700 | - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | ||
701 | - sp:subject _:b73 | ||
702 | ]) | 699 | ]) |
703 | ] . | 700 | ] . |
704 | 701 | ||
705 | -_:b55 | 702 | +_:b66 |
706 | - sp:varName "child"^^xsd:string . | 703 | + sp:varName "e"^^xsd:string . |
707 | 704 | ||
708 | -_:b56 | 705 | +_:b65 |
709 | - sp:varName "formalProperty"^^xsd:string . | 706 | + sp:varName "s"^^xsd:string . |
710 | 707 | ||
711 | -_:b57 | 708 | +_:b64 |
712 | - sp:varName "inst"^^xsd:string . | 709 | + sp:varName "p"^^xsd:string . |
713 | 710 | ||
714 | -_:b59 | 711 | +_:b63 |
715 | - sp:varName "childType"^^xsd:string . | 712 | + sp:varName "pp"^^xsd:string . |
716 | 713 | ||
717 | -_:b60 | 714 | +_:b76 |
718 | - sp:varName "instType"^^xsd:string . | 715 | + sp:varName "tcname"^^xsd:string . |
719 | 716 | ||
720 | -_:b61 | 717 | +_:b75 |
721 | - sp:varName "instClass"^^xsd:string . | 718 | + sp:varName "tcpname"^^xsd:string . |
722 | 719 | ||
723 | -_:b62 | 720 | +_:b74 |
724 | - sp:varName "valuesRestriction"^^xsd:string . | 721 | + sp:varName "pname"^^xsd:string . |
725 | 722 | ||
726 | -_:b43 | 723 | +_:b73 |
727 | - sp:varName "text"^^xsd:string . | 724 | + sp:varName "name"^^xsd:string . |
728 | 725 | ||
729 | -_:b44 | 726 | +_:b72 |
730 | - sp:varName "dtpnameU"^^xsd:string . | 727 | + sp:varName "c"^^xsd:string . |
731 | 728 | ||
732 | -_:b45 | 729 | +_:b71 |
733 | - sp:varName "inst"^^xsd:string . | 730 | + sp:varName "s"^^xsd:string . |
734 | 731 | ||
735 | -_:b47 | 732 | +_:b70 |
736 | - sp:varName "child"^^xsd:string . | 733 | + sp:varName "mre"^^xsd:string . |
737 | 734 | ||
738 | -_:b48 | 735 | +_:b69 |
739 | - sp:varName "childType"^^xsd:string . | 736 | + sp:varName "ddrPU"^^xsd:string . |
740 | 737 | ||
741 | -_:b49 | 738 | +_:b68 |
742 | - sp:varName "childLocalName"^^xsd:string . | 739 | + sp:varName "ddrCU"^^xsd:string . |
743 | 740 | ||
744 | -_:b50 | 741 | +_:b67 |
745 | - sp:varName "textNode"^^xsd:string . | 742 | + sp:varName "ddrCPU"^^xsd:string . |
746 | 743 | ||
747 | -_:b51 | 744 | +_:b8 sp:varName "valuesRestriction"^^xsd:string . |
748 | - sp:varName "instType"^^xsd:string . | ||
749 | 745 | ||
750 | -_:b52 | 746 | +_:b7 sp:varName "instClass"^^xsd:string . |
751 | - sp:varName "instClass"^^xsd:string . | ||
752 | 747 | ||
753 | -_:b53 | 748 | +_:b6 sp:varName "instType"^^xsd:string . |
754 | - sp:varName "valuesRestriction"^^xsd:string . | ||
755 | 749 | ||
756 | -_:b54 | 750 | +_:b5 sp:varName "childType"^^xsd:string . |
757 | - sp:varName "rangeType"^^xsd:string . | ||
758 | 751 | ||
759 | -_:b30 | 752 | +_:b3 sp:varName "inst"^^xsd:string . |
760 | - sp:varName "enumeratedValue"^^xsd:string . | ||
761 | 753 | ||
762 | -_:b31 | 754 | +_:b2 sp:varName "formalProperty"^^xsd:string . |
763 | - sp:varName "opnameU"^^xsd:string . | ||
764 | 755 | ||
765 | -_:b32 | 756 | +_:b1 sp:varName "child"^^xsd:string . |
766 | - sp:varName "inst"^^xsd:string . | ||
767 | 757 | ||
768 | -_:b34 | 758 | +_:b20 |
769 | - sp:varName "child"^^xsd:string . | 759 | + sp:varName "rangeType"^^xsd:string . |
770 | 760 | ||
771 | -_:b35 | 761 | +_:b19 |
772 | - sp:varName "childType"^^xsd:string . | 762 | + sp:varName "valuesRestriction"^^xsd:string . |
773 | 763 | ||
774 | -_:b36 | 764 | +_:b18 |
775 | - sp:varName "childLocalName"^^xsd:string . | 765 | + sp:varName "instClass"^^xsd:string . |
776 | 766 | ||
777 | -_:b37 | 767 | +_:b17 |
778 | sp:varName "instType"^^xsd:string . | 768 | sp:varName "instType"^^xsd:string . |
779 | 769 | ||
780 | -_:b38 | 770 | +_:b16 |
781 | - sp:varName "instClass"^^xsd:string . | 771 | + sp:varName "textNode"^^xsd:string . |
782 | - | ||
783 | -_:b39 | ||
784 | - sp:varName "valuesRestriction"^^xsd:string . | ||
785 | 772 | ||
786 | -_:b40 | 773 | +_:b15 |
787 | - sp:varName "rangeU"^^xsd:string . | 774 | + sp:varName "childLocalName"^^xsd:string . |
788 | 775 | ||
789 | -_:b41 | 776 | +_:b14 |
790 | - sp:varName "textNode"^^xsd:string . | 777 | + sp:varName "childType"^^xsd:string . |
791 | 778 | ||
792 | -_:b42 | 779 | +_:b13 |
793 | - sp:varName "text"^^xsd:string . | 780 | + sp:varName "child"^^xsd:string . |
794 | 781 | ||
795 | -_:b15 | 782 | +_:b11 |
796 | - sp:varName "rangeU"^^xsd:string . | 783 | + sp:varName "inst"^^xsd:string . |
797 | 784 | ||
798 | -_:b17 | 785 | +_:b10 |
799 | - sp:varName "uom"^^xsd:string . | 786 | + sp:varName "dtpnameU"^^xsd:string . |
800 | 787 | ||
801 | -_:b18 | 788 | +_:b9 sp:varName "text"^^xsd:string . |
802 | - sp:varName "value"^^xsd:string . | ||
803 | 789 | ||
804 | -_:b19 | 790 | +_:b33 |
805 | - sp:varName "opnameU"^^xsd:string . | 791 | + sp:varName "text"^^xsd:string . |
806 | 792 | ||
807 | -_:b20 | 793 | +_:b32 |
808 | - sp:varName "inst"^^xsd:string . | 794 | + sp:varName "textNode"^^xsd:string . |
809 | 795 | ||
810 | -_:b22 | 796 | +_:b31 |
811 | - sp:varName "child"^^xsd:string . | 797 | + sp:varName "rangeU"^^xsd:string . |
812 | 798 | ||
813 | -_:b23 | 799 | +_:b30 |
814 | - sp:varName "childType"^^xsd:string . | 800 | + sp:varName "valuesRestriction"^^xsd:string . |
815 | 801 | ||
816 | -_:b24 | 802 | +_:b29 |
817 | - sp:varName "childLocalName"^^xsd:string . | 803 | + sp:varName "instClass"^^xsd:string . |
818 | 804 | ||
819 | -_:b25 | 805 | +_:b28 |
820 | sp:varName "instType"^^xsd:string . | 806 | sp:varName "instType"^^xsd:string . |
821 | 807 | ||
808 | +_:b27 | ||
809 | + sp:varName "childLocalName"^^xsd:string . | ||
810 | + | ||
822 | _:b26 | 811 | _:b26 |
823 | - sp:varName "instClass"^^xsd:string . | 812 | + sp:varName "childType"^^xsd:string . |
824 | 813 | ||
825 | -_:b27 | 814 | +_:b25 |
826 | - sp:varName "allValuesRestriction"^^xsd:string . | 815 | + sp:varName "child"^^xsd:string . |
827 | 816 | ||
828 | -_:b28 | 817 | +_:b23 |
829 | - sp:varName "textNode"^^xsd:string . | 818 | + sp:varName "inst"^^xsd:string . |
830 | 819 | ||
831 | -_:b29 | 820 | +_:b22 |
832 | - sp:varName "text"^^xsd:string . | 821 | + sp:varName "opnameU"^^xsd:string . |
833 | 822 | ||
834 | -_:b2 sp:varName "dateTime"^^xsd:string . | 823 | +_:b21 |
824 | + sp:varName "enumeratedValue"^^xsd:string . | ||
835 | 825 | ||
836 | -_:b3 sp:varName "dtpnameU"^^xsd:string . | 826 | +_:b48 |
827 | + sp:varName "text"^^xsd:string . | ||
837 | 828 | ||
838 | -_:b4 sp:varName "inst"^^xsd:string . | 829 | +_:b47 |
830 | + sp:varName "textNode"^^xsd:string . | ||
839 | 831 | ||
840 | -_:b6 sp:varName "child"^^xsd:string . | 832 | +_:b46 |
833 | + sp:varName "allValuesRestriction"^^xsd:string . | ||
841 | 834 | ||
842 | -_:b7 sp:varName "childType"^^xsd:string . | 835 | +_:b45 |
836 | + sp:varName "instClass"^^xsd:string . | ||
843 | 837 | ||
844 | -_:b8 sp:varName "childLocalName"^^xsd:string . | 838 | +_:b44 |
839 | + sp:varName "instType"^^xsd:string . | ||
845 | 840 | ||
846 | -_:b9 sp:varName "textNode"^^xsd:string . | 841 | +_:b43 |
842 | + sp:varName "childLocalName"^^xsd:string . | ||
847 | 843 | ||
848 | -_:b10 | 844 | +_:b42 |
849 | - sp:varName "text"^^xsd:string . | 845 | + sp:varName "childType"^^xsd:string . |
850 | 846 | ||
851 | -_:b11 | 847 | +_:b41 |
852 | - sp:varName "instType"^^xsd:string . | 848 | + sp:varName "child"^^xsd:string . |
853 | 849 | ||
854 | -_:b12 | 850 | +_:b39 |
855 | - sp:varName "instClass"^^xsd:string . | 851 | + sp:varName "inst"^^xsd:string . |
856 | 852 | ||
857 | -_:b13 | 853 | +_:b38 |
858 | - sp:varName "valuesRestriction"^^xsd:string . | 854 | + sp:varName "opnameU"^^xsd:string . |
859 | 855 | ||
860 | -_:b14 | 856 | +_:b37 |
861 | - sp:varName "rangeType"^^xsd:string . | 857 | + sp:varName "value"^^xsd:string . |
862 | 858 | ||
863 | -_:b73 | 859 | +_:b36 |
864 | - sp:varName "pp"^^xsd:string . | 860 | + sp:varName "uom"^^xsd:string . |
865 | 861 | ||
866 | -_:b74 | 862 | +_:b34 |
867 | - sp:varName "p"^^xsd:string . | 863 | + sp:varName "rangeU"^^xsd:string . |
868 | 864 | ||
869 | -_:b75 | 865 | +_:b61 |
870 | - sp:varName "s"^^xsd:string . | 866 | + sp:varName "rangeType"^^xsd:string . |
871 | 867 | ||
872 | -_:b76 | 868 | +_:b60 |
873 | - sp:varName "e"^^xsd:string . | 869 | + sp:varName "valuesRestriction"^^xsd:string . |
874 | 870 | ||
875 | -_:b63 | 871 | +_:b59 |
876 | - sp:varName "ddrCPU"^^xsd:string . | 872 | + sp:varName "instClass"^^xsd:string . |
877 | 873 | ||
878 | -_:b64 | 874 | +_:b58 |
879 | - sp:varName "ddrCU"^^xsd:string . | 875 | + sp:varName "instType"^^xsd:string . |
880 | 876 | ||
881 | -_:b65 | 877 | +_:b57 |
882 | - sp:varName "ddrPU"^^xsd:string . | 878 | + sp:varName "text"^^xsd:string . |
883 | 879 | ||
884 | -_:b66 | 880 | +_:b56 |
885 | - sp:varName "mre"^^xsd:string . | 881 | + sp:varName "textNode"^^xsd:string . |
886 | 882 | ||
887 | -_:b67 | 883 | +_:b55 |
888 | - sp:varName "s"^^xsd:string . | 884 | + sp:varName "childLocalName"^^xsd:string . |
889 | 885 | ||
890 | -_:b68 | 886 | +_:b54 |
891 | - sp:varName "c"^^xsd:string . | 887 | + sp:varName "childType"^^xsd:string . |
892 | 888 | ||
893 | -_:b69 | 889 | +_:b53 |
894 | - sp:varName "name"^^xsd:string . | 890 | + sp:varName "child"^^xsd:string . |
895 | 891 | ||
896 | -_:b70 | 892 | +_:b51 |
897 | - sp:varName "pname"^^xsd:string . | 893 | + sp:varName "inst"^^xsd:string . |
898 | 894 | ||
899 | -_:b71 | 895 | +_:b50 |
900 | - sp:varName "tcpname"^^xsd:string . | 896 | + sp:varName "dtpnameU"^^xsd:string . |
901 | 897 | ||
902 | -_:b72 | 898 | +_:b49 |
903 | - sp:varName "tcname"^^xsd:string . | 899 | + sp:varName "dateTime"^^xsd:string . |
904 | 900 | ||
905 | -_:b1 sp:varName "activity"^^xsd:string . | 901 | +_:b62 |
902 | + sp:varName "activity"^^xsd:string . | ... | ... |
-
Please register or login to post a comment