Holger Knublauch

Set spin:thisUnbound to true at STEP 18 and 20

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