Ralph Hodgson

"has" refactoring, "enum" prefixes added to enum properties, QA on

clashes
This diff could not be displayed because it is too large.
1 -# Saved by TopBraid on Sun Aug 07 15:58:36 PDT 2011 1 +# Saved by TopBraid on Sun Aug 07 17:28:32 PDT 2011
2 # baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr 2 # baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr
3 # imports: http://www.reportinghub.no/ep/schema/1.1.1/ddr 3 # imports: http://www.reportinghub.no/ep/schema/1.1.1/ddr
4 +# imports: file:///www.reportinghub.no/examples/xml/NPD_110412124707.xml
4 # imports: http://www.reportinghub.no/ep/schema/1.1/activity 5 # imports: http://www.reportinghub.no/ep/schema/1.1/activity
5 # imports: http://spinrdf.org/spin 6 # imports: http://spinrdf.org/spin
6 # imports: http://topbraid.org/sxml 7 # imports: http://topbraid.org/sxml
...@@ -33,7 +34,7 @@ ddr:Cs_activity ...@@ -33,7 +34,7 @@ ddr:Cs_activity
33 sxml:element "witsml:activity"^^xsd:string . 34 sxml:element "witsml:activity"^^xsd:string .
34 35
35 ddr:Cs_alias 36 ddr:Cs_alias
36 - sxml:element "witsml:rigAlias"^^xsd:string , "witsml:alias" . 37 + sxml:element "witsml:alias" , "witsml:rigAlias"^^xsd:string .
37 38
38 ddr:Cs_bitRecord 39 ddr:Cs_bitRecord
39 sxml:element "witsml:bitRecord" . 40 sxml:element "witsml:bitRecord" .
...@@ -81,7 +82,7 @@ ddr:Cs_drillReportPorePressure ...@@ -81,7 +82,7 @@ ddr:Cs_drillReportPorePressure
81 sxml:element "witsml:drillReportPorePressure" . 82 sxml:element "witsml:drillReportPorePressure" .
82 83
83 ddr:Cs_drillReportStatusInfo 84 ddr:Cs_drillReportStatusInfo
84 - sxml:element "witsml:statusInfo"^^xsd:string , "witsml:drillReportStatusInfo" . 85 + sxml:element "witsml:drillReportStatusInfo" , "witsml:statusInfo"^^xsd:string .
85 86
86 ddr:Cs_drillReportStratInfo 87 ddr:Cs_drillReportStratInfo
87 sxml:element "witsml:drillReportStratInfo" . 88 sxml:element "witsml:drillReportStratInfo" .
...@@ -117,7 +118,7 @@ ddr:Cs_refWellWellboreRig ...@@ -117,7 +118,7 @@ ddr:Cs_refWellWellboreRig
117 sxml:element "witsml:refWellWellboreRig" . 118 sxml:element "witsml:refWellWellboreRig" .
118 119
119 ddr:Cs_wellAlias 120 ddr:Cs_wellAlias
120 - sxml:element "witsml:wellAlias" , "witsml:wellboreAlias"^^xsd:string . 121 + sxml:element "witsml:wellboreAlias"^^xsd:string , "witsml:wellAlias" .
121 122
122 ddr:Cs_wellCRS 123 ddr:Cs_wellCRS
123 sxml:element "witsml:wellCRS" . 124 sxml:element "witsml:wellCRS" .
...@@ -179,7 +180,7 @@ ddr:Thing ...@@ -179,7 +180,7 @@ ddr:Thing
179 sp:expression 180 sp:expression
180 [ rdf:type smf:buildURI ; 181 [ rdf:type smf:buildURI ;
181 sp:arg1 [ rdf:type fn:concat ; 182 sp:arg1 [ rdf:type fn:concat ;
182 - sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#has" ; 183 + sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#enum" ;
183 sp:arg2 _:b6 184 sp:arg2 _:b6
184 ] 185 ]
185 ] ; 186 ] ;
...@@ -231,245 +232,245 @@ ddr:Thing ...@@ -231,245 +232,245 @@ ddr:Thing
231 ] ; 232 ] ;
232 spin:rule 233 spin:rule
233 [ rdf:type sp:Construct ; 234 [ rdf:type sp:Construct ;
234 - rdfs:comment "STEP 004 - Construct UOM values"^^xsd:string ; 235 + rdfs:comment "STEP 002 - Construct datatype datetime values"^^xsd:string ;
235 sp:templates ([ sp:object _:b12 ; 236 sp:templates ([ sp:object _:b12 ;
236 - sp:predicate rdf:type ; 237 + sp:predicate _:b13 ;
237 - sp:subject _:b13
238 - ] [ sp:object _:b14 ;
239 - sp:predicate ddr:uom ;
240 - sp:subject _:b13
241 - ] [ sp:object _:b15 ;
242 - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
243 - sp:subject _:b13
244 - ] [ sp:object _:b13 ;
245 - sp:predicate _:b16 ;
246 sp:subject spin:_this 238 sp:subject spin:_this
247 ] [ sp:object rdf:Statement ; 239 ] [ sp:object rdf:Statement ;
248 sp:predicate rdf:type ; 240 sp:predicate rdf:type ;
249 - sp:subject _:b17 241 + sp:subject _:b14
250 ] [ sp:object spin:_this ; 242 ] [ sp:object spin:_this ;
251 sp:predicate rdf:subject ; 243 sp:predicate rdf:subject ;
252 - sp:subject _:b17 244 + sp:subject _:b14
253 - ] [ sp:object _:b16 ; 245 + ] [ sp:object _:b13 ;
254 sp:predicate rdf:predicate ; 246 sp:predicate rdf:predicate ;
255 - sp:subject _:b17 247 + sp:subject _:b14
256 - ] [ sp:object _:b15 ; 248 + ] [ sp:object _:b12 ;
257 sp:predicate rdf:object ; 249 sp:predicate rdf:object ;
258 - sp:subject _:b17 250 + sp:subject _:b14
259 - ] [ sp:object _:b17 ; 251 + ] [ sp:object _:b14 ;
260 sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; 252 sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ;
261 - sp:subject _:b18 253 + sp:subject _:b15
262 ]) ; 254 ]) ;
263 - sp:where ([ sp:object _:b18 ; 255 + sp:where ([ sp:object _:b15 ;
264 sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; 256 sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
265 sp:subject spin:_this 257 sp:subject spin:_this
266 - ] [ sp:object _:b19 ; 258 + ] [ sp:object _:b16 ;
267 sp:predicate rdf:type ; 259 sp:predicate rdf:type ;
268 - sp:subject _:b18 260 + sp:subject _:b15
269 - ] [ sp:object _:b14 ;
270 - sp:predicate ddr:uom ;
271 - sp:subject _:b18
272 ] [ rdf:type sp:NotExists ; 261 ] [ rdf:type sp:NotExists ;
273 sp:elements ([ sp:object 262 sp:elements ([ sp:object
274 - [ sp:varName "aNode"^^xsd:string 263 + [ sp:varName "uom"^^xsd:string
275 ] ; 264 ] ;
276 - sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; 265 + sp:predicate ddr:uom ;
277 - sp:subject _:b18 266 + sp:subject _:b15
278 ]) 267 ])
279 ] [ rdf:type sp:Bind ; 268 ] [ rdf:type sp:Bind ;
280 sp:expression 269 sp:expression
281 [ rdf:type afn:localname ; 270 [ rdf:type afn:localname ;
282 - sp:arg1 _:b19 271 + sp:arg1 _:b16
283 ] ; 272 ] ;
284 - sp:variable _:b20 273 + sp:variable _:b17
285 ] [ rdf:type sp:Bind ; 274 ] [ rdf:type sp:Bind ;
286 sp:expression 275 sp:expression
287 [ rdf:type smf:buildURI ; 276 [ rdf:type smf:buildURI ;
288 sp:arg1 [ rdf:type fn:concat ; 277 sp:arg1 [ rdf:type fn:concat ;
289 - sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#has" ; 278 + sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#" ;
290 - sp:arg2 [ rdf:type smf:titleCase ; 279 + sp:arg2 _:b17
291 - sp:arg1 _:b20
292 - ]
293 ] 280 ]
294 ] ; 281 ] ;
295 - sp:variable _:b16 282 + sp:variable _:b13
296 - ] [ sp:object owl:ObjectProperty ; 283 + ] [ sp:object owl:DatatypeProperty ;
297 sp:predicate rdf:type ; 284 sp:predicate rdf:type ;
298 - sp:subject _:b16 285 + sp:subject _:b13
299 - ] [ sp:object _:b16 ; 286 + ] [ sp:object _:b13 ;
300 sp:predicate owl:onProperty ; 287 sp:predicate owl:onProperty ;
301 - sp:subject _:b21 288 + sp:subject _:b18
302 - ] [ sp:object _:b12 ; 289 + ] [ sp:object _:b19 ;
303 sp:predicate owl:allValuesFrom ; 290 sp:predicate owl:allValuesFrom ;
304 - sp:subject _:b21 291 + sp:subject _:b18
305 - ] [ sp:object _:b22 ;
306 - sp:predicate rdf:type ;
307 - sp:subject spin:_this
308 ] [ rdf:type sp:TriplePath ; 292 ] [ rdf:type sp:TriplePath ;
309 - sp:object _:b21 ; 293 + sp:object xsd:dateTime ;
310 sp:path [ rdf:type sp:ModPath ; 294 sp:path [ rdf:type sp:ModPath ;
311 sp:modMax -2 ; 295 sp:modMax -2 ;
312 sp:modMin 0 ; 296 sp:modMin 0 ;
313 sp:subPath rdfs:subClassOf 297 sp:subPath rdfs:subClassOf
314 ] ; 298 ] ;
315 - sp:subject _:b22 299 + sp:subject _:b19
316 - ] [ sp:object _:b23 ; 300 + ] [ sp:object _:b20 ;
317 sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; 301 sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
318 - sp:subject _:b18 302 + sp:subject _:b15
319 ] [ sp:object sxml:TextNode ; 303 ] [ sp:object sxml:TextNode ;
320 sp:predicate rdf:type ; 304 sp:predicate rdf:type ;
321 - sp:subject _:b23 305 + sp:subject _:b20
322 - ] [ sp:object _:b24 ; 306 + ] [ sp:object _:b21 ;
323 sp:predicate sxml:text ; 307 sp:predicate sxml:text ;
324 - sp:subject _:b23 308 + sp:subject _:b20
309 + ] [ sp:object _:b22 ;
310 + sp:predicate rdf:type ;
311 + sp:subject spin:_this
312 + ] [ rdf:type sp:TriplePath ;
313 + sp:object _:b18 ;
314 + sp:path [ rdf:type sp:ModPath ;
315 + sp:modMax -2 ;
316 + sp:modMin 0 ;
317 + sp:subPath rdfs:subClassOf
318 + ] ;
319 + sp:subject _:b22
325 ] [ rdf:type sp:Bind ; 320 ] [ rdf:type sp:Bind ;
326 sp:expression 321 sp:expression
327 - [ rdf:type xsd:double ; 322 + [ rdf:type xsd:dateTime ;
328 - sp:arg1 _:b24 323 + sp:arg1 _:b21
329 ] ; 324 ] ;
330 - sp:variable _:b15 325 + sp:variable _:b12
331 ]) 326 ])
332 ] ; 327 ] ;
333 spin:rule 328 spin:rule
334 [ rdf:type sp:Construct ; 329 [ rdf:type sp:Construct ;
335 rdfs:comment "STEP 020 - Construct all other object properties - WIP"^^xsd:string ; 330 rdfs:comment "STEP 020 - Construct all other object properties - WIP"^^xsd:string ;
336 - sp:templates ([ sp:object _:b25 ; 331 + sp:templates ([ sp:object _:b23 ;
337 - sp:predicate _:b26 ; 332 + sp:predicate _:b24 ;
338 sp:subject spin:_this 333 sp:subject spin:_this
339 ] [ sp:object rdf:Statement ; 334 ] [ sp:object rdf:Statement ;
340 sp:predicate rdf:type ; 335 sp:predicate rdf:type ;
341 - sp:subject _:b27 336 + sp:subject _:b25
342 ] [ sp:object spin:_this ; 337 ] [ sp:object spin:_this ;
343 sp:predicate rdf:subject ; 338 sp:predicate rdf:subject ;
344 - sp:subject _:b27 339 + sp:subject _:b25
345 - ] [ sp:object _:b26 ; 340 + ] [ sp:object _:b24 ;
346 sp:predicate rdf:predicate ; 341 sp:predicate rdf:predicate ;
347 - sp:subject _:b27 342 + sp:subject _:b25
348 - ] [ sp:object _:b25 ; 343 + ] [ sp:object _:b23 ;
349 sp:predicate rdf:object ; 344 sp:predicate rdf:object ;
350 - sp:subject _:b27
351 - ] [ sp:object _:b27 ;
352 - sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ;
353 sp:subject _:b25 345 sp:subject _:b25
346 + ] [ sp:object _:b25 ;
347 + sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ;
348 + sp:subject _:b23
354 ]) ; 349 ]) ;
355 - sp:where ([ sp:object _:b28 ; 350 + sp:where ([ sp:object _:b26 ;
356 sp:predicate owl:allValuesFrom ; 351 sp:predicate owl:allValuesFrom ;
357 - sp:subject _:b29 352 + sp:subject _:b27
358 - ] [ sp:object _:b26 ; 353 + ] [ sp:object _:b24 ;
359 sp:predicate owl:onProperty ; 354 sp:predicate owl:onProperty ;
360 - sp:subject _:b29 355 + sp:subject _:b27
361 - ] [ sp:object _:b28 ; 356 + ] [ sp:object _:b26 ;
362 sp:predicate rdf:type ; 357 sp:predicate rdf:type ;
363 - sp:subject _:b25 358 + sp:subject _:b23
364 - ] [ sp:object _:b25 ; 359 + ] [ sp:object _:b23 ;
365 sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; 360 sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
366 sp:subject spin:_this 361 sp:subject spin:_this
367 - ] [ sp:object _:b30 ; 362 + ] [ sp:object _:b28 ;
368 sp:predicate rdf:type ; 363 sp:predicate rdf:type ;
369 sp:subject spin:_this 364 sp:subject spin:_this
370 ] [ rdf:type sp:TriplePath ; 365 ] [ rdf:type sp:TriplePath ;
371 - sp:object _:b29 ; 366 + sp:object _:b27 ;
372 sp:path [ rdf:type sp:ModPath ; 367 sp:path [ rdf:type sp:ModPath ;
373 sp:modMax -2 ; 368 sp:modMax -2 ;
374 sp:modMin 0 ; 369 sp:modMin 0 ;
375 sp:subPath rdfs:subClassOf 370 sp:subPath rdfs:subClassOf
376 ] ; 371 ] ;
377 - sp:subject _:b30 372 + sp:subject _:b28
378 ]) 373 ])
379 ] ; 374 ] ;
380 spin:rule 375 spin:rule
381 [ rdf:type sp:Construct ; 376 [ rdf:type sp:Construct ;
382 - rdfs:comment "STEP 002 - Construct datatype datetime values"^^xsd:string ; 377 + rdfs:comment "STEP 004 - Construct UOM values"^^xsd:string ;
383 - sp:templates ([ sp:object _:b31 ; 378 + sp:templates ([ sp:object _:b29 ;
384 - sp:predicate _:b32 ; 379 + sp:predicate rdf:type ;
380 + sp:subject _:b30
381 + ] [ sp:object _:b31 ;
382 + sp:predicate ddr:uom ;
383 + sp:subject _:b30
384 + ] [ sp:object _:b32 ;
385 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
386 + sp:subject _:b30
387 + ] [ sp:object _:b30 ;
388 + sp:predicate _:b33 ;
385 sp:subject spin:_this 389 sp:subject spin:_this
386 ] [ sp:object rdf:Statement ; 390 ] [ sp:object rdf:Statement ;
387 sp:predicate rdf:type ; 391 sp:predicate rdf:type ;
388 - sp:subject _:b33 392 + sp:subject _:b34
389 ] [ sp:object spin:_this ; 393 ] [ sp:object spin:_this ;
390 sp:predicate rdf:subject ; 394 sp:predicate rdf:subject ;
391 - sp:subject _:b33 395 + sp:subject _:b34
392 - ] [ sp:object _:b32 ; 396 + ] [ sp:object _:b33 ;
393 sp:predicate rdf:predicate ; 397 sp:predicate rdf:predicate ;
394 - sp:subject _:b33 398 + sp:subject _:b34
395 - ] [ sp:object _:b31 ; 399 + ] [ sp:object _:b32 ;
396 sp:predicate rdf:object ; 400 sp:predicate rdf:object ;
397 - sp:subject _:b33
398 - ] [ sp:object _:b33 ;
399 - sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ;
400 sp:subject _:b34 401 sp:subject _:b34
402 + ] [ sp:object _:b34 ;
403 + sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ;
404 + sp:subject _:b35
401 ]) ; 405 ]) ;
402 - sp:where ([ sp:object _:b34 ; 406 + sp:where ([ sp:object _:b35 ;
403 sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; 407 sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
404 sp:subject spin:_this 408 sp:subject spin:_this
405 - ] [ sp:object _:b35 ; 409 + ] [ sp:object _:b36 ;
406 sp:predicate rdf:type ; 410 sp:predicate rdf:type ;
407 - sp:subject _:b34 411 + sp:subject _:b35
412 + ] [ sp:object _:b31 ;
413 + sp:predicate ddr:uom ;
414 + sp:subject _:b35
408 ] [ rdf:type sp:NotExists ; 415 ] [ rdf:type sp:NotExists ;
409 sp:elements ([ sp:object 416 sp:elements ([ sp:object
410 - [ sp:varName "uom"^^xsd:string 417 + [ sp:varName "aNode"^^xsd:string
411 ] ; 418 ] ;
412 - sp:predicate ddr:uom ; 419 + sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ;
413 - sp:subject _:b34 420 + sp:subject _:b35
414 ]) 421 ])
415 ] [ rdf:type sp:Bind ; 422 ] [ rdf:type sp:Bind ;
416 sp:expression 423 sp:expression
417 [ rdf:type afn:localname ; 424 [ rdf:type afn:localname ;
418 - sp:arg1 _:b35 425 + sp:arg1 _:b36
419 ] ; 426 ] ;
420 - sp:variable _:b36 427 + sp:variable _:b37
421 ] [ rdf:type sp:Bind ; 428 ] [ rdf:type sp:Bind ;
422 sp:expression 429 sp:expression
423 [ rdf:type smf:buildURI ; 430 [ rdf:type smf:buildURI ;
424 sp:arg1 [ rdf:type fn:concat ; 431 sp:arg1 [ rdf:type fn:concat ;
425 - sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#" ; 432 + sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#has" ;
426 - sp:arg2 _:b36 433 + sp:arg2 [ rdf:type smf:titleCase ;
434 + sp:arg1 _:b37
435 + ]
427 ] 436 ]
428 ] ; 437 ] ;
429 - sp:variable _:b32 438 + sp:variable _:b33
430 - ] [ sp:object owl:DatatypeProperty ; 439 + ] [ sp:object owl:ObjectProperty ;
431 sp:predicate rdf:type ; 440 sp:predicate rdf:type ;
432 - sp:subject _:b32 441 + sp:subject _:b33
433 - ] [ sp:object _:b32 ; 442 + ] [ sp:object _:b33 ;
434 sp:predicate owl:onProperty ; 443 sp:predicate owl:onProperty ;
435 - sp:subject _:b37 444 + sp:subject _:b38
436 - ] [ sp:object _:b38 ; 445 + ] [ sp:object _:b29 ;
437 sp:predicate owl:allValuesFrom ; 446 sp:predicate owl:allValuesFrom ;
438 - sp:subject _:b37
439 - ] [ rdf:type sp:TriplePath ;
440 - sp:object xsd:dateTime ;
441 - sp:path [ rdf:type sp:ModPath ;
442 - sp:modMax -2 ;
443 - sp:modMin 0 ;
444 - sp:subPath rdfs:subClassOf
445 - ] ;
446 sp:subject _:b38 447 sp:subject _:b38
447 ] [ sp:object _:b39 ; 448 ] [ sp:object _:b39 ;
448 - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
449 - sp:subject _:b34
450 - ] [ sp:object sxml:TextNode ;
451 - sp:predicate rdf:type ;
452 - sp:subject _:b39
453 - ] [ sp:object _:b40 ;
454 - sp:predicate sxml:text ;
455 - sp:subject _:b39
456 - ] [ sp:object _:b41 ;
457 sp:predicate rdf:type ; 449 sp:predicate rdf:type ;
458 sp:subject spin:_this 450 sp:subject spin:_this
459 ] [ rdf:type sp:TriplePath ; 451 ] [ rdf:type sp:TriplePath ;
460 - sp:object _:b37 ; 452 + sp:object _:b38 ;
461 sp:path [ rdf:type sp:ModPath ; 453 sp:path [ rdf:type sp:ModPath ;
462 sp:modMax -2 ; 454 sp:modMax -2 ;
463 sp:modMin 0 ; 455 sp:modMin 0 ;
464 sp:subPath rdfs:subClassOf 456 sp:subPath rdfs:subClassOf
465 ] ; 457 ] ;
466 - sp:subject _:b41 458 + sp:subject _:b39
459 + ] [ sp:object _:b40 ;
460 + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
461 + sp:subject _:b35
462 + ] [ sp:object sxml:TextNode ;
463 + sp:predicate rdf:type ;
464 + sp:subject _:b40
465 + ] [ sp:object _:b41 ;
466 + sp:predicate sxml:text ;
467 + sp:subject _:b40
467 ] [ rdf:type sp:Bind ; 468 ] [ rdf:type sp:Bind ;
468 sp:expression 469 sp:expression
469 - [ rdf:type xsd:dateTime ; 470 + [ rdf:type xsd:double ;
470 - sp:arg1 _:b40 471 + sp:arg1 _:b41
471 ] ; 472 ] ;
472 - sp:variable _:b31 473 + sp:variable _:b32
473 ]) 474 ])
474 ] ; 475 ] ;
475 spin:rule 476 spin:rule
...@@ -575,284 +576,284 @@ ddr:version ...@@ -575,284 +576,284 @@ ddr:version
575 576
576 <http://www.reportinghub.no/ep/transform/1.1/ddr> 577 <http://www.reportinghub.no/ep/transform/1.1/ddr>
577 rdf:type owl:Ontology ; 578 rdf:type owl:Ontology ;
578 - owl:imports <http://www.reportinghub.no/ep/schema/1.1/activity> , <http://www.reportinghub.no/ep/schema/1.1.1/ddr> , <http://topbraid.org/sxml> , <http://spinrdf.org/spin> ; 579 + owl:imports <file:///www.reportinghub.no/examples/xml/NPD_110412124707.xml> , <http://spinrdf.org/spin> , <http://topbraid.org/sxml> , <http://www.reportinghub.no/ep/schema/1.1.1/ddr> , <http://www.reportinghub.no/ep/schema/1.1/activity> ;
579 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 580 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
580 581
581 owl:Thing 582 owl:Thing
582 spin:query 583 spin:query
583 [ rdf:type sp:Select ; 584 [ rdf:type sp:Select ;
584 - sp:resultVariables (_:b52 _:b53 _:b54 _:b55) ; 585 + sp:where ([ sp:object
586 + [ sp:varName "p"^^xsd:string
587 + ] ;
588 + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
589 + sp:subject _:b52
590 + ] [ rdf:type sp:NotExists ;
591 + sp:elements ([ sp:object
592 + [ sp:varName "b"^^xsd:string
593 + ] ;
594 + sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ;
595 + sp:subject _:b52
596 + ])
597 + ])
598 + ] ;
599 + spin:query
600 + [ rdf:type sp:Select ;
601 + sp:resultVariables (_:b53 _:b54 _:b55 _:b56) ;
602 + sp:where ([ sp:object _:b56 ;
603 + sp:predicate <http://www.w3.org/ns/sawsdl#modelReference> ;
604 + sp:subject _:b55
605 + ] [ sp:object _:b55 ;
606 + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
607 + sp:subject _:b54
608 + ] [ rdf:type sp:Union ;
609 + sp:elements (([ sp:object <http://topbraid.org/sxsd#Sequence> ;
610 + sp:predicate rdf:type ;
611 + sp:subject _:b54
612 + ]) ([ sp:object <http://topbraid.org/sxsd#Choice> ;
613 + sp:predicate rdf:type ;
614 + sp:subject _:b54
615 + ]))
616 + ] [ sp:object _:b54 ;
617 + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
618 + sp:subject _:b53
619 + ])
620 + ] ;
621 + spin:query
622 + [ rdf:type sp:Select ;
623 + sp:resultVariables (_:b57 _:b58 _:b59 _:b60) ;
585 sp:where ([ sp:object <http://topbraid.org/sxsd#ComplexType> ; 624 sp:where ([ sp:object <http://topbraid.org/sxsd#ComplexType> ;
586 sp:predicate rdf:type ; 625 sp:predicate rdf:type ;
587 - sp:subject _:b56 626 + sp:subject _:b61
588 ] [ rdf:type sp:TriplePath ; 627 ] [ rdf:type sp:TriplePath ;
589 - sp:object _:b57 ; 628 + sp:object _:b62 ;
590 sp:path [ rdf:type sp:ModPath ; 629 sp:path [ rdf:type sp:ModPath ;
591 sp:modMax -2 ; 630 sp:modMax -2 ;
592 sp:modMin 0 ; 631 sp:modMin 0 ;
593 sp:subPath <http://www.topbraid.org/2007/05/composite.owl#child> 632 sp:subPath <http://www.topbraid.org/2007/05/composite.owl#child>
594 ] ; 633 ] ;
595 - sp:subject _:b56 634 + sp:subject _:b61
596 - ] [ sp:object _:b58 ; 635 + ] [ sp:object _:b63 ;
597 sp:predicate <http://topbraid.org/sxsd#name> ; 636 sp:predicate <http://topbraid.org/sxsd#name> ;
598 - sp:subject _:b56 637 + sp:subject _:b61
599 - ] [ sp:object _:b55 ; 638 + ] [ sp:object _:b60 ;
600 sp:predicate <http://www.w3.org/ns/sawsdl#modelReference> ; 639 sp:predicate <http://www.w3.org/ns/sawsdl#modelReference> ;
601 - sp:subject _:b57 640 + sp:subject _:b62
602 - ] [ sp:object _:b59 ; 641 + ] [ sp:object _:b64 ;
603 sp:predicate <http://topbraid.org/sxsd#name> ; 642 sp:predicate <http://topbraid.org/sxsd#name> ;
604 - sp:subject _:b57 643 + sp:subject _:b62
605 ] [ rdf:type sp:Bind ; 644 ] [ rdf:type sp:Bind ;
606 sp:expression 645 sp:expression
607 [ rdf:type spif:titleCase ; 646 [ rdf:type spif:titleCase ;
608 - sp:arg1 _:b59 647 + sp:arg1 _:b64
609 ] ; 648 ] ;
610 - sp:variable _:b60 649 + sp:variable _:b65
611 ] [ rdf:type sp:Bind ; 650 ] [ rdf:type sp:Bind ;
612 sp:expression 651 sp:expression
613 [ rdf:type smf:buildURI ; 652 [ rdf:type smf:buildURI ;
614 sp:arg1 [ rdf:type fn:concat ; 653 sp:arg1 [ rdf:type fn:concat ;
615 sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#has" ; 654 sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#has" ;
616 - sp:arg2 _:b60 655 + sp:arg2 _:b65
617 ] 656 ]
618 ] ; 657 ] ;
619 - sp:variable _:b54 658 + sp:variable _:b59
620 ] [ rdf:type sp:Bind ; 659 ] [ rdf:type sp:Bind ;
621 sp:expression 660 sp:expression
622 [ rdf:type spif:titleCase ; 661 [ rdf:type spif:titleCase ;
623 - sp:arg1 _:b58 ; 662 + sp:arg1 _:b63 ;
624 sp:arg2 "[a-z]s" 663 sp:arg2 "[a-z]s"
625 ] ; 664 ] ;
626 - sp:variable _:b61 665 + sp:variable _:b66
627 ] [ rdf:type sp:Bind ; 666 ] [ rdf:type sp:Bind ;
628 sp:expression 667 sp:expression
629 [ rdf:type smf:buildURI ; 668 [ rdf:type smf:buildURI ;
630 sp:arg1 [ rdf:type fn:concat ; 669 sp:arg1 [ rdf:type fn:concat ;
631 sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#" ; 670 sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#" ;
632 - sp:arg2 _:b61 671 + sp:arg2 _:b66
633 ] 672 ]
634 ] ; 673 ] ;
635 - sp:variable _:b53 674 + sp:variable _:b58
636 ] [ rdf:type sp:Bind ; 675 ] [ rdf:type sp:Bind ;
637 sp:expression 676 sp:expression
638 [ rdf:type smf:buildURI ; 677 [ rdf:type smf:buildURI ;
639 sp:arg1 [ rdf:type fn:concat ; 678 sp:arg1 [ rdf:type fn:concat ;
640 sp:arg1 "http://www.reportinghub.no/map/ddr#" ; 679 sp:arg1 "http://www.reportinghub.no/map/ddr#" ;
641 - sp:arg2 _:b61 ; 680 + sp:arg2 _:b66 ;
642 sp:arg3 "-has" ; 681 sp:arg3 "-has" ;
643 - sp:arg4 _:b60 682 + sp:arg4 _:b65
644 ] 683 ]
645 ] ; 684 ] ;
646 - sp:variable _:b52 685 + sp:variable _:b57
647 - ])
648 - ] ;
649 - spin:query
650 - [ rdf:type sp:Select ;
651 - sp:resultVariables (_:b62 _:b63 _:b64 _:b65) ;
652 - sp:where ([ sp:object _:b65 ;
653 - sp:predicate <http://www.w3.org/ns/sawsdl#modelReference> ;
654 - sp:subject _:b64
655 - ] [ sp:object _:b64 ;
656 - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
657 - sp:subject _:b63
658 - ] [ rdf:type sp:Union ;
659 - sp:elements (([ sp:object <http://topbraid.org/sxsd#Sequence> ;
660 - sp:predicate rdf:type ;
661 - sp:subject _:b63
662 - ]) ([ sp:object <http://topbraid.org/sxsd#Choice> ;
663 - sp:predicate rdf:type ;
664 - sp:subject _:b63
665 - ]))
666 - ] [ sp:object _:b63 ;
667 - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
668 - sp:subject _:b62
669 - ])
670 - ] ;
671 - spin:query
672 - [ rdf:type sp:Select ;
673 - sp:where ([ sp:object
674 - [ sp:varName "p"^^xsd:string
675 - ] ;
676 - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
677 - sp:subject _:b66
678 - ] [ rdf:type sp:NotExists ;
679 - sp:elements ([ sp:object
680 - [ sp:varName "b"^^xsd:string
681 - ] ;
682 - sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ;
683 - sp:subject _:b66
684 - ])
685 ]) 686 ])
686 ] . 687 ] .
687 688
688 -_:b42 689 +_:b29
689 - sp:varName "text"^^xsd:string . 690 + sp:varName "rangeU"^^xsd:string .
690 -
691 -_:b43
692 - sp:varName "dtpnameU"^^xsd:string .
693 -
694 -_:b45
695 - sp:varName "child"^^xsd:string .
696 -
697 -_:b46
698 - sp:varName "childType"^^xsd:string .
699 -
700 -_:b47
701 - sp:varName "childLocalName"^^xsd:string .
702 -
703 -_:b48
704 - sp:varName "valuesRestriction"^^xsd:string .
705 -
706 -_:b49
707 - sp:varName "rangeType"^^xsd:string .
708 -
709 -_:b50
710 - sp:varName "textNode"^^xsd:string .
711 -
712 -_:b51
713 - sp:varName "instType"^^xsd:string .
714 691
715 _:b31 692 _:b31
716 - sp:varName "dateTime"^^xsd:string . 693 + sp:varName "uom"^^xsd:string .
717 694
718 _:b32 695 _:b32
719 - sp:varName "dtpnameU"^^xsd:string . 696 + sp:varName "value"^^xsd:string .
720 697
721 -_:b34 698 +_:b33
722 - sp:varName "child"^^xsd:string . 699 + sp:varName "opnameU"^^xsd:string .
723 700
724 _:b35 701 _:b35
725 - sp:varName "childType"^^xsd:string . 702 + sp:varName "child"^^xsd:string .
726 703
727 _:b36 704 _:b36
728 - sp:varName "childLocalName"^^xsd:string . 705 + sp:varName "childType"^^xsd:string .
729 706
730 _:b37 707 _:b37
731 - sp:varName "valuesRestriction"^^xsd:string . 708 + sp:varName "childLocalName"^^xsd:string .
732 709
733 _:b38 710 _:b38
734 - sp:varName "rangeType"^^xsd:string . 711 + sp:varName "allValuesRestriction"^^xsd:string .
735 712
736 _:b39 713 _:b39
737 - sp:varName "textNode"^^xsd:string . 714 + sp:varName "instType"^^xsd:string .
738 715
739 _:b40 716 _:b40
740 - sp:varName "text"^^xsd:string . 717 + sp:varName "textNode"^^xsd:string .
741 718
742 _:b41 719 _:b41
743 - sp:varName "instType"^^xsd:string . 720 + sp:varName "text"^^xsd:string .
744 721
745 -_:b25 722 +_:b23
746 sp:varName "child"^^xsd:string . 723 sp:varName "child"^^xsd:string .
747 724
748 -_:b26 725 +_:b24
749 sp:varName "formalProperty"^^xsd:string . 726 sp:varName "formalProperty"^^xsd:string .
750 727
751 -_:b28 728 +_:b26
752 sp:varName "childType"^^xsd:string . 729 sp:varName "childType"^^xsd:string .
753 730
754 -_:b29 731 +_:b27
755 sp:varName "valuesRestriction"^^xsd:string . 732 sp:varName "valuesRestriction"^^xsd:string .
756 733
757 -_:b30 734 +_:b28
758 sp:varName "instType"^^xsd:string . 735 sp:varName "instType"^^xsd:string .
759 736
760 _:b12 737 _:b12
761 - sp:varName "rangeU"^^xsd:string . 738 + sp:varName "dateTime"^^xsd:string .
762 739
763 -_:b14 740 +_:b13
764 - sp:varName "uom"^^xsd:string . 741 + sp:varName "dtpnameU"^^xsd:string .
765 742
766 _:b15 743 _:b15
767 - sp:varName "value"^^xsd:string . 744 + sp:varName "child"^^xsd:string .
768 745
769 _:b16 746 _:b16
770 - sp:varName "opnameU"^^xsd:string . 747 + sp:varName "childType"^^xsd:string .
748 +
749 +_:b17
750 + sp:varName "childLocalName"^^xsd:string .
771 751
772 _:b18 752 _:b18
773 - sp:varName "child"^^xsd:string . 753 + sp:varName "valuesRestriction"^^xsd:string .
774 754
775 _:b19 755 _:b19
776 - sp:varName "childType"^^xsd:string . 756 + sp:varName "rangeType"^^xsd:string .
777 757
778 _:b20 758 _:b20
779 - sp:varName "childLocalName"^^xsd:string . 759 + sp:varName "textNode"^^xsd:string .
780 760
781 _:b21 761 _:b21
782 - sp:varName "allValuesRestriction"^^xsd:string . 762 + sp:varName "text"^^xsd:string .
783 763
784 _:b22 764 _:b22
785 sp:varName "instType"^^xsd:string . 765 sp:varName "instType"^^xsd:string .
786 766
787 -_:b23 767 +_:b42
788 - sp:varName "textNode"^^xsd:string .
789 -
790 -_:b24
791 sp:varName "text"^^xsd:string . 768 sp:varName "text"^^xsd:string .
792 769
793 -_:b1 sp:varName "enumeratedValue"^^xsd:string . 770 +_:b43
771 + sp:varName "dtpnameU"^^xsd:string .
794 772
795 -_:b2 sp:varName "opnameU"^^xsd:string . 773 +_:b45
774 + sp:varName "child"^^xsd:string .
796 775
797 -_:b4 sp:varName "child"^^xsd:string . 776 +_:b46
777 + sp:varName "childType"^^xsd:string .
798 778
799 -_:b5 sp:varName "childType"^^xsd:string . 779 +_:b47
780 + sp:varName "childLocalName"^^xsd:string .
800 781
801 -_:b6 sp:varName "childLocalName"^^xsd:string . 782 +_:b48
783 + sp:varName "valuesRestriction"^^xsd:string .
802 784
803 -_:b7 sp:varName "valuesRestriction"^^xsd:string . 785 +_:b49
786 + sp:varName "rangeType"^^xsd:string .
804 787
805 -_:b8 sp:varName "rangeU"^^xsd:string . 788 +_:b50
789 + sp:varName "textNode"^^xsd:string .
806 790
807 -_:b9 sp:varName "instType"^^xsd:string . 791 +_:b51
792 + sp:varName "instType"^^xsd:string .
808 793
809 -_:b10 794 +_:b57
810 - sp:varName "textNode"^^xsd:string . 795 + sp:varName "ddrCPU"^^xsd:string .
811 796
812 -_:b11 797 +_:b58
813 - sp:varName "text"^^xsd:string . 798 + sp:varName "ddrCU"^^xsd:string .
814 799
815 -_:b66 800 +_:b59
816 - sp:varName "c"^^xsd:string . 801 + sp:varName "ddrPU"^^xsd:string .
802 +
803 +_:b60
804 + sp:varName "mre"^^xsd:string .
805 +
806 +_:b61
807 + sp:varName "s"^^xsd:string .
817 808
818 _:b62 809 _:b62
819 - sp:varName "pp"^^xsd:string . 810 + sp:varName "c"^^xsd:string .
820 811
821 _:b63 812 _:b63
822 - sp:varName "p"^^xsd:string . 813 + sp:varName "name"^^xsd:string .
823 814
824 _:b64 815 _:b64
825 - sp:varName "s"^^xsd:string . 816 + sp:varName "pname"^^xsd:string .
826 817
827 _:b65 818 _:b65
828 - sp:varName "e"^^xsd:string . 819 + sp:varName "tcpname"^^xsd:string .
829 820
830 -_:b52 821 +_:b66
831 - sp:varName "ddrCPU"^^xsd:string . 822 + sp:varName "tcname"^^xsd:string .
832 823
833 _:b53 824 _:b53
834 - sp:varName "ddrCU"^^xsd:string . 825 + sp:varName "pp"^^xsd:string .
835 826
836 _:b54 827 _:b54
837 - sp:varName "ddrPU"^^xsd:string . 828 + sp:varName "p"^^xsd:string .
838 829
839 _:b55 830 _:b55
840 - sp:varName "mre"^^xsd:string . 831 + sp:varName "s"^^xsd:string .
841 832
842 _:b56 833 _:b56
843 - sp:varName "s"^^xsd:string . 834 + sp:varName "e"^^xsd:string .
844 835
845 -_:b57 836 +_:b52
846 sp:varName "c"^^xsd:string . 837 sp:varName "c"^^xsd:string .
847 838
848 -_:b58 839 +_:b4 sp:varName "child"^^xsd:string .
849 - sp:varName "name"^^xsd:string .
850 840
851 -_:b59 841 +_:b5 sp:varName "childType"^^xsd:string .
852 - sp:varName "pname"^^xsd:string .
853 842
854 -_:b60 843 +_:b6 sp:varName "childLocalName"^^xsd:string .
855 - sp:varName "tcpname"^^xsd:string .
856 844
857 -_:b61 845 +_:b2 sp:varName "opnameU"^^xsd:string .
858 - sp:varName "tcname"^^xsd:string . 846 +
847 +_:b7 sp:varName "valuesRestriction"^^xsd:string .
848 +
849 +_:b8 sp:varName "rangeU"^^xsd:string .
850 +
851 +_:b9 sp:varName "instType"^^xsd:string .
852 +
853 +_:b10
854 + sp:varName "textNode"^^xsd:string .
855 +
856 +_:b11
857 + sp:varName "text"^^xsd:string .
858 +
859 +_:b1 sp:varName "enumeratedValue"^^xsd:string .
......
1 -# Saved by TopBraid on Sun Aug 07 15:58:36 PDT 2011 1 +# Saved by TopBraid on Sun Aug 07 17:28:32 PDT 2011
2 # baseURI: null 2 # baseURI: null
3 3
4 @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . 4 @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......
1 -# Saved by TopBraid on Sun Aug 07 12:56:22 PDT 2011 1 +# Saved by TopBraid on Sun Aug 07 17:28:32 PDT 2011
2 # baseURI: http://www.reportinghub.no/ep/transform/1.1/normalization 2 # baseURI: http://www.reportinghub.no/ep/transform/1.1/normalization
3 # imports: http://www.reportinghub.no/ep/schema/1.1/activity 3 # imports: http://www.reportinghub.no/ep/schema/1.1/activity
4 # imports: http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport 4 # imports: http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport
......
1 -# Saved by TopBraid on Sun Aug 07 12:56:22 PDT 2011 1 +# Saved by TopBraid on Sun Aug 07 17:28:32 PDT 2011
2 # baseURI: null 2 # baseURI: null
3 3
4 @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . 4 @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......