David Price

Fix Rig URI. Clean up well and wellbore names

1 -# Saved by TopBraid on Tue Oct 25 15:54:44 BST 2011
2 # baseURI: http://www.reportinghub.no/ep/spin/1.1/lib 1 # baseURI: http://www.reportinghub.no/ep/spin/1.1/lib
3 -# imports: http://www.reportinghub.no/ep/schema/1.0/drilling-equipment-type 2 +# imports: http://spinrdf.org/spin
4 -# imports: http://www.reportinghub.no/ep/schema/1.0/report 3 +# imports: http://www.reportinghub.no/ep/schema/1.0/activity
5 -# imports: http://www.witsml.org/schemas/1series
6 -# imports: http://www.reportinghub.no/ep/schema/1.0/core
7 -# imports: http://www.reportinghub.no/ep/schema/1.0/well
8 # imports: http://www.reportinghub.no/ep/schema/1.0/activity-purpose 4 # imports: http://www.reportinghub.no/ep/schema/1.0/activity-purpose
5 +# imports: http://www.reportinghub.no/ep/schema/1.0/core
6 +# imports: http://www.reportinghub.no/ep/schema/1.0/drilling-equipment-type
9 # imports: http://www.reportinghub.no/ep/schema/1.0/equipment 7 # imports: http://www.reportinghub.no/ep/schema/1.0/equipment
10 # imports: http://www.reportinghub.no/ep/schema/1.0/facility 8 # imports: http://www.reportinghub.no/ep/schema/1.0/facility
11 -# imports: http://www.reportinghub.no/ep/schema/1.0/activity 9 +# imports: http://www.reportinghub.no/ep/schema/1.0/report
12 -# imports: http://spinrdf.org/spin 10 +# imports: http://www.reportinghub.no/ep/schema/1.0/well
13 # imports: http://www.reportinghub.no/spin/rh 11 # imports: http://www.reportinghub.no/spin/rh
12 +# imports: http://www.witsml.org/schemas/1series
14 13
15 @prefix activity-purpose: <http://www.reportinghub.no/ep/schema/1.0/activity-purpose#> . 14 @prefix activity-purpose: <http://www.reportinghub.no/ep/schema/1.0/activity-purpose#> .
16 @prefix ddr: <http://www.witsml.org/schemas/1series#> . 15 @prefix ddr: <http://www.witsml.org/schemas/1series#> .
...@@ -29,7 +28,7 @@ ...@@ -29,7 +28,7 @@
29 28
30 <http://www.reportinghub.no/ep/spin/1.1/lib> 29 <http://www.reportinghub.no/ep/spin/1.1/lib>
31 rdf:type owl:Ontology ; 30 rdf:type owl:Ontology ;
32 - owl:imports <http://www.reportinghub.no/spin/rh> , <http://www.reportinghub.no/ep/schema/1.0/drilling-equipment-type> , <http://www.reportinghub.no/ep/schema/1.0/report> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://spinrdf.org/spin> , <http://www.witsml.org/schemas/1series> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/schema/1.0/activity-purpose> ; 31 + owl:imports <http://www.reportinghub.no/spin/rh> , <http://www.reportinghub.no/ep/schema/1.0/drilling-equipment-type> , <http://www.reportinghub.no/ep/schema/1.0/report> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://spinrdf.org/spin> , <http://www.witsml.org/schemas/1series> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/activity-purpose> , <http://www.reportinghub.no/ep/schema/1.0/facility> ;
33 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 32 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
34 33
35 ep-spin-lib:Function 34 ep-spin-lib:Function
...@@ -406,14 +405,17 @@ ep-spin-lib:buildRigURI ...@@ -406,14 +405,17 @@ ep-spin-lib:buildRigURI
406 rdfs:subClassOf ep-spin-lib:Function ; 405 rdfs:subClassOf ep-spin-lib:Function ;
407 spin:body 406 spin:body
408 [ rdf:type sp:Select ; 407 [ rdf:type sp:Select ;
409 - sp:resultVariables (_:b18) ; 408 + sp:resultVariables ([ sp:varName "uri"^^xsd:string
409 + ]) ;
410 sp:where ([ rdf:type sp:Bind ; 410 sp:where ([ rdf:type sp:Bind ;
411 sp:expression 411 sp:expression
412 [ rdf:type ep-spin-lib:buildURI ; 412 [ rdf:type ep-spin-lib:buildURI ;
413 - sp:arg1 "https://www.reportinghub.no/ep/data/Rig/" ; 413 + sp:arg1 "http://www.reportinghub.no/np/data/npd/Facility-" ;
414 sp:arg2 spin:_arg1 414 sp:arg2 spin:_arg1
415 ] ; 415 ] ;
416 - sp:variable _:b18 416 + sp:variable
417 + [ sp:varName "uri"^^xsd:string
418 + ]
417 ]) 419 ])
418 ] . 420 ] .
419 421
...@@ -423,7 +425,7 @@ ep-spin-lib:buildTemporalPartOfARigURI ...@@ -423,7 +425,7 @@ ep-spin-lib:buildTemporalPartOfARigURI
423 rdfs:subClassOf ep-spin-lib:Function ; 425 rdfs:subClassOf ep-spin-lib:Function ;
424 spin:body 426 spin:body
425 [ rdf:type sp:Select ; 427 [ rdf:type sp:Select ;
426 - sp:resultVariables (_:b19) ; 428 + sp:resultVariables (_:b18) ;
427 sp:where ([ rdf:type sp:Bind ; 429 sp:where ([ rdf:type sp:Bind ;
428 sp:expression 430 sp:expression
429 [ rdf:type ep-spin-lib:buildURI ; 431 [ rdf:type ep-spin-lib:buildURI ;
...@@ -436,7 +438,7 @@ ep-spin-lib:buildTemporalPartOfARigURI ...@@ -436,7 +438,7 @@ ep-spin-lib:buildTemporalPartOfARigURI
436 sp:arg5 spin:_arg3 438 sp:arg5 spin:_arg3
437 ] 439 ]
438 ] ; 440 ] ;
439 - sp:variable _:b19 441 + sp:variable _:b18
440 ]) 442 ])
441 ] . 443 ] .
442 444
...@@ -446,7 +448,7 @@ ep-spin-lib:buildTemporalPartOfAWellBoreDuringWellControlIncidentURI ...@@ -446,7 +448,7 @@ ep-spin-lib:buildTemporalPartOfAWellBoreDuringWellControlIncidentURI
446 rdfs:subClassOf ep-spin-lib:Function ; 448 rdfs:subClassOf ep-spin-lib:Function ;
447 spin:body 449 spin:body
448 [ rdf:type sp:Select ; 450 [ rdf:type sp:Select ;
449 - sp:resultVariables (_:b20) ; 451 + sp:resultVariables (_:b19) ;
450 sp:where ([ rdf:type sp:Bind ; 452 sp:where ([ rdf:type sp:Bind ;
451 sp:expression 453 sp:expression
452 [ rdf:type ep-spin-lib:buildURI ; 454 [ rdf:type ep-spin-lib:buildURI ;
...@@ -457,7 +459,7 @@ ep-spin-lib:buildTemporalPartOfAWellBoreDuringWellControlIncidentURI ...@@ -457,7 +459,7 @@ ep-spin-lib:buildTemporalPartOfAWellBoreDuringWellControlIncidentURI
457 sp:arg3 spin:_arg2 459 sp:arg3 spin:_arg2
458 ] 460 ]
459 ] ; 461 ] ;
460 - sp:variable _:b20 462 + sp:variable _:b19
461 ]) 463 ])
462 ] . 464 ] .
463 465
...@@ -467,7 +469,7 @@ ep-spin-lib:buildTemporalPartOfAWellBoreURI ...@@ -467,7 +469,7 @@ ep-spin-lib:buildTemporalPartOfAWellBoreURI
467 rdfs:subClassOf ep-spin-lib:Function ; 469 rdfs:subClassOf ep-spin-lib:Function ;
468 spin:body 470 spin:body
469 [ rdf:type sp:Select ; 471 [ rdf:type sp:Select ;
470 - sp:resultVariables (_:b21) ; 472 + sp:resultVariables (_:b20) ;
471 sp:where ([ rdf:type sp:Bind ; 473 sp:where ([ rdf:type sp:Bind ;
472 sp:expression 474 sp:expression
473 [ rdf:type ep-spin-lib:buildURI ; 475 [ rdf:type ep-spin-lib:buildURI ;
...@@ -480,7 +482,7 @@ ep-spin-lib:buildTemporalPartOfAWellBoreURI ...@@ -480,7 +482,7 @@ ep-spin-lib:buildTemporalPartOfAWellBoreURI
480 sp:arg5 spin:_arg3 482 sp:arg5 spin:_arg3
481 ] 483 ]
482 ] ; 484 ] ;
483 - sp:variable _:b21 485 + sp:variable _:b20
484 ]) 486 ])
485 ] . 487 ] .
486 488
...@@ -490,7 +492,7 @@ ep-spin-lib:buildURI ...@@ -490,7 +492,7 @@ ep-spin-lib:buildURI
490 rdfs:subClassOf ep-spin-lib:Function ; 492 rdfs:subClassOf ep-spin-lib:Function ;
491 spin:body 493 spin:body
492 [ rdf:type sp:Select ; 494 [ rdf:type sp:Select ;
493 - sp:resultVariables (_:b22) ; 495 + sp:resultVariables (_:b21) ;
494 sp:where ([ rdf:type sp:Bind ; 496 sp:where ([ rdf:type sp:Bind ;
495 sp:expression 497 sp:expression
496 [ rdf:type sp:iri ; 498 [ rdf:type sp:iri ;
...@@ -499,17 +501,17 @@ ep-spin-lib:buildURI ...@@ -499,17 +501,17 @@ ep-spin-lib:buildURI
499 sp:arg2 spin:_arg2 501 sp:arg2 spin:_arg2
500 ] 502 ]
501 ] ; 503 ] ;
502 - sp:variable _:b22 504 + sp:variable _:b21
503 ]) 505 ])
504 ] ; 506 ] ;
505 spin:constraint 507 spin:constraint
506 [ rdf:type spl:Argument ; 508 [ rdf:type spl:Argument ;
507 - spl:predicate sp:arg1 ; 509 + spl:predicate sp:arg2 ;
508 spl:valueType xsd:string 510 spl:valueType xsd:string
509 ] ; 511 ] ;
510 spin:constraint 512 spin:constraint
511 [ rdf:type spl:Argument ; 513 [ rdf:type spl:Argument ;
512 - spl:predicate sp:arg2 ; 514 + spl:predicate sp:arg1 ;
513 spl:valueType xsd:string 515 spl:valueType xsd:string
514 ] . 516 ] .
515 517
...@@ -519,7 +521,7 @@ ep-spin-lib:buildWellBoreDirectionalSurveyURI ...@@ -519,7 +521,7 @@ ep-spin-lib:buildWellBoreDirectionalSurveyURI
519 rdfs:subClassOf ep-spin-lib:Function ; 521 rdfs:subClassOf ep-spin-lib:Function ;
520 spin:body 522 spin:body
521 [ rdf:type sp:Select ; 523 [ rdf:type sp:Select ;
522 - sp:resultVariables (_:b23) ; 524 + sp:resultVariables (_:b22) ;
523 sp:where ([ rdf:type sp:Bind ; 525 sp:where ([ rdf:type sp:Bind ;
524 sp:expression 526 sp:expression
525 [ rdf:type ep-spin-lib:buildURI ; 527 [ rdf:type ep-spin-lib:buildURI ;
...@@ -532,7 +534,7 @@ ep-spin-lib:buildWellBoreDirectionalSurveyURI ...@@ -532,7 +534,7 @@ ep-spin-lib:buildWellBoreDirectionalSurveyURI
532 sp:arg5 spin:_arg3 534 sp:arg5 spin:_arg3
533 ] 535 ]
534 ] ; 536 ] ;
535 - sp:variable _:b23 537 + sp:variable _:b22
536 ]) 538 ])
537 ] . 539 ] .
538 540
...@@ -542,7 +544,7 @@ ep-spin-lib:buildWellBoreDrillBitRunURI ...@@ -542,7 +544,7 @@ ep-spin-lib:buildWellBoreDrillBitRunURI
542 rdfs:subClassOf ep-spin-lib:Function ; 544 rdfs:subClassOf ep-spin-lib:Function ;
543 spin:body 545 spin:body
544 [ rdf:type sp:Select ; 546 [ rdf:type sp:Select ;
545 - sp:resultVariables (_:b24) ; 547 + sp:resultVariables (_:b23) ;
546 sp:where ([ rdf:type sp:Bind ; 548 sp:where ([ rdf:type sp:Bind ;
547 sp:expression 549 sp:expression
548 [ rdf:type ep-spin-lib:buildURI ; 550 [ rdf:type ep-spin-lib:buildURI ;
...@@ -555,7 +557,7 @@ ep-spin-lib:buildWellBoreDrillBitRunURI ...@@ -555,7 +557,7 @@ ep-spin-lib:buildWellBoreDrillBitRunURI
555 sp:arg5 spin:_arg3 557 sp:arg5 spin:_arg3
556 ] 558 ]
557 ] ; 559 ] ;
558 - sp:variable _:b24 560 + sp:variable _:b23
559 ]) 561 ])
560 ] . 562 ] .
561 563
...@@ -565,7 +567,7 @@ ep-spin-lib:buildWellBoreDrillBitURI ...@@ -565,7 +567,7 @@ ep-spin-lib:buildWellBoreDrillBitURI
565 rdfs:subClassOf ep-spin-lib:Function ; 567 rdfs:subClassOf ep-spin-lib:Function ;
566 spin:body 568 spin:body
567 [ rdf:type sp:Select ; 569 [ rdf:type sp:Select ;
568 - sp:resultVariables (_:b25) ; 570 + sp:resultVariables (_:b24) ;
569 sp:where ([ rdf:type sp:Bind ; 571 sp:where ([ rdf:type sp:Bind ;
570 sp:expression 572 sp:expression
571 [ rdf:type ep-spin-lib:buildURI ; 573 [ rdf:type ep-spin-lib:buildURI ;
...@@ -576,7 +578,7 @@ ep-spin-lib:buildWellBoreDrillBitURI ...@@ -576,7 +578,7 @@ ep-spin-lib:buildWellBoreDrillBitURI
576 sp:arg3 spin:_arg2 578 sp:arg3 spin:_arg2
577 ] 579 ]
578 ] ; 580 ] ;
579 - sp:variable _:b25 581 + sp:variable _:b24
580 ]) 582 ])
581 ] . 583 ] .
582 584
...@@ -586,7 +588,7 @@ ep-spin-lib:buildWellBoreKickOffURI ...@@ -586,7 +588,7 @@ ep-spin-lib:buildWellBoreKickOffURI
586 rdfs:subClassOf ep-spin-lib:Function ; 588 rdfs:subClassOf ep-spin-lib:Function ;
587 spin:body 589 spin:body
588 [ rdf:type sp:Select ; 590 [ rdf:type sp:Select ;
589 - sp:resultVariables (_:b26) ; 591 + sp:resultVariables (_:b25) ;
590 sp:where ([ rdf:type sp:Bind ; 592 sp:where ([ rdf:type sp:Bind ;
591 sp:expression 593 sp:expression
592 [ rdf:type ep-spin-lib:buildURI ; 594 [ rdf:type ep-spin-lib:buildURI ;
...@@ -595,7 +597,7 @@ ep-spin-lib:buildWellBoreKickOffURI ...@@ -595,7 +597,7 @@ ep-spin-lib:buildWellBoreKickOffURI
595 sp:arg1 spin:_arg1 597 sp:arg1 spin:_arg1
596 ] 598 ]
597 ] ; 599 ] ;
598 - sp:variable _:b26 600 + sp:variable _:b25
599 ]) 601 ])
600 ] . 602 ] .
601 603
...@@ -605,7 +607,7 @@ ep-spin-lib:buildWellBoreLogRunURI ...@@ -605,7 +607,7 @@ ep-spin-lib:buildWellBoreLogRunURI
605 rdfs:subClassOf ep-spin-lib:Function ; 607 rdfs:subClassOf ep-spin-lib:Function ;
606 spin:body 608 spin:body
607 [ rdf:type sp:Select ; 609 [ rdf:type sp:Select ;
608 - sp:resultVariables (_:b27) ; 610 + sp:resultVariables (_:b26) ;
609 sp:where ([ rdf:type sp:Bind ; 611 sp:where ([ rdf:type sp:Bind ;
610 sp:expression 612 sp:expression
611 [ rdf:type ep-spin-lib:buildURI ; 613 [ rdf:type ep-spin-lib:buildURI ;
...@@ -618,7 +620,7 @@ ep-spin-lib:buildWellBoreLogRunURI ...@@ -618,7 +620,7 @@ ep-spin-lib:buildWellBoreLogRunURI
618 sp:arg5 spin:_arg3 620 sp:arg5 spin:_arg3
619 ] 621 ]
620 ] ; 622 ] ;
621 - sp:variable _:b27 623 + sp:variable _:b26
622 ]) 624 ])
623 ] . 625 ] .
624 626
...@@ -628,7 +630,7 @@ ep-spin-lib:buildWellCementJobURI ...@@ -628,7 +630,7 @@ ep-spin-lib:buildWellCementJobURI
628 rdfs:subClassOf ep-spin-lib:Function ; 630 rdfs:subClassOf ep-spin-lib:Function ;
629 spin:body 631 spin:body
630 [ rdf:type sp:Select ; 632 [ rdf:type sp:Select ;
631 - sp:resultVariables (_:b28) ; 633 + sp:resultVariables (_:b27) ;
632 sp:where ([ rdf:type sp:Bind ; 634 sp:where ([ rdf:type sp:Bind ;
633 sp:expression 635 sp:expression
634 [ rdf:type ep-spin-lib:buildURI ; 636 [ rdf:type ep-spin-lib:buildURI ;
...@@ -639,7 +641,7 @@ ep-spin-lib:buildWellCementJobURI ...@@ -639,7 +641,7 @@ ep-spin-lib:buildWellCementJobURI
639 sp:arg3 spin:_arg2 641 sp:arg3 spin:_arg2
640 ] 642 ]
641 ] ; 643 ] ;
642 - sp:variable _:b28 644 + sp:variable _:b27
643 ]) 645 ])
644 ] . 646 ] .
645 647
...@@ -649,7 +651,7 @@ ep-spin-lib:buildWellControlIncidentURI ...@@ -649,7 +651,7 @@ ep-spin-lib:buildWellControlIncidentURI
649 rdfs:subClassOf ep-spin-lib:Function ; 651 rdfs:subClassOf ep-spin-lib:Function ;
650 spin:body 652 spin:body
651 [ rdf:type sp:Select ; 653 [ rdf:type sp:Select ;
652 - sp:resultVariables (_:b29) ; 654 + sp:resultVariables (_:b28) ;
653 sp:where ([ rdf:type sp:Bind ; 655 sp:where ([ rdf:type sp:Bind ;
654 sp:expression 656 sp:expression
655 [ rdf:type ep-spin-lib:buildURI ; 657 [ rdf:type ep-spin-lib:buildURI ;
...@@ -660,7 +662,7 @@ ep-spin-lib:buildWellControlIncidentURI ...@@ -660,7 +662,7 @@ ep-spin-lib:buildWellControlIncidentURI
660 sp:arg3 spin:_arg2 662 sp:arg3 spin:_arg2
661 ] 663 ]
662 ] ; 664 ] ;
663 - sp:variable _:b29 665 + sp:variable _:b28
664 ]) 666 ])
665 ] . 667 ] .
666 668
...@@ -670,7 +672,7 @@ ep-spin-lib:buildWellStimulationURI ...@@ -670,7 +672,7 @@ ep-spin-lib:buildWellStimulationURI
670 rdfs:subClassOf ep-spin-lib:Function ; 672 rdfs:subClassOf ep-spin-lib:Function ;
671 spin:body 673 spin:body
672 [ rdf:type sp:Select ; 674 [ rdf:type sp:Select ;
673 - sp:resultVariables (_:b30) ; 675 + sp:resultVariables (_:b29) ;
674 sp:where ([ rdf:type sp:Bind ; 676 sp:where ([ rdf:type sp:Bind ;
675 sp:expression 677 sp:expression
676 [ rdf:type ep-spin-lib:buildURI ; 678 [ rdf:type ep-spin-lib:buildURI ;
...@@ -681,7 +683,7 @@ ep-spin-lib:buildWellStimulationURI ...@@ -681,7 +683,7 @@ ep-spin-lib:buildWellStimulationURI
681 sp:arg3 spin:_arg2 683 sp:arg3 spin:_arg2
682 ] 684 ]
683 ] ; 685 ] ;
684 - sp:variable _:b30 686 + sp:variable _:b29
685 ]) 687 ])
686 ] . 688 ] .
687 689
...@@ -691,7 +693,7 @@ ep-spin-lib:buildWellTestURI ...@@ -691,7 +693,7 @@ ep-spin-lib:buildWellTestURI
691 rdfs:subClassOf ep-spin-lib:Function ; 693 rdfs:subClassOf ep-spin-lib:Function ;
692 spin:body 694 spin:body
693 [ rdf:type sp:Select ; 695 [ rdf:type sp:Select ;
694 - sp:resultVariables (_:b31) ; 696 + sp:resultVariables (_:b30) ;
695 sp:where ([ rdf:type sp:Bind ; 697 sp:where ([ rdf:type sp:Bind ;
696 sp:expression 698 sp:expression
697 [ rdf:type ep-spin-lib:buildURI ; 699 [ rdf:type ep-spin-lib:buildURI ;
...@@ -702,7 +704,7 @@ ep-spin-lib:buildWellTestURI ...@@ -702,7 +704,7 @@ ep-spin-lib:buildWellTestURI
702 sp:arg3 spin:_arg2 704 sp:arg3 spin:_arg2
703 ] 705 ]
704 ] ; 706 ] ;
705 - sp:variable _:b31 707 + sp:variable _:b30
706 ]) 708 ])
707 ] . 709 ] .
708 710
...@@ -712,7 +714,7 @@ ep-spin-lib:buildWirelineFormationTestURI ...@@ -712,7 +714,7 @@ ep-spin-lib:buildWirelineFormationTestURI
712 rdfs:subClassOf ep-spin-lib:Function ; 714 rdfs:subClassOf ep-spin-lib:Function ;
713 spin:body 715 spin:body
714 [ rdf:type sp:Select ; 716 [ rdf:type sp:Select ;
715 - sp:resultVariables (_:b32) ; 717 + sp:resultVariables (_:b31) ;
716 sp:where ([ rdf:type sp:Bind ; 718 sp:where ([ rdf:type sp:Bind ;
717 sp:expression 719 sp:expression
718 [ rdf:type ep-spin-lib:buildURI ; 720 [ rdf:type ep-spin-lib:buildURI ;
...@@ -723,7 +725,7 @@ ep-spin-lib:buildWirelineFormationTestURI ...@@ -723,7 +725,7 @@ ep-spin-lib:buildWirelineFormationTestURI
723 sp:arg3 spin:_arg2 725 sp:arg3 spin:_arg2
724 ] 726 ]
725 ] ; 727 ] ;
726 - sp:variable _:b32 728 + sp:variable _:b31
727 ]) 729 ])
728 ] . 730 ] .
729 731
...@@ -805,7 +807,7 @@ ep-spin-lib:normalizeString ...@@ -805,7 +807,7 @@ ep-spin-lib:normalizeString
805 rdfs:subClassOf ep-spin-lib:Function ; 807 rdfs:subClassOf ep-spin-lib:Function ;
806 spin:body 808 spin:body
807 [ rdf:type sp:Select ; 809 [ rdf:type sp:Select ;
808 - sp:resultVariables (_:b33) ; 810 + sp:resultVariables (_:b32) ;
809 sp:where ([ rdf:type sp:Bind ; 811 sp:where ([ rdf:type sp:Bind ;
810 sp:expression 812 sp:expression
811 [ rdf:type smf:regex ; 813 [ rdf:type smf:regex ;
...@@ -813,67 +815,67 @@ ep-spin-lib:normalizeString ...@@ -813,67 +815,67 @@ ep-spin-lib:normalizeString
813 sp:arg2 "\\((.*)\\)" ; 815 sp:arg2 "\\((.*)\\)" ;
814 sp:arg3 "" 816 sp:arg3 ""
815 ] ; 817 ] ;
816 - sp:variable _:b34 818 + sp:variable _:b33
817 ] [ rdf:type sp:Bind ; 819 ] [ rdf:type sp:Bind ;
818 sp:expression 820 sp:expression
819 [ rdf:type smf:trim ; 821 [ rdf:type smf:trim ;
820 - sp:arg1 _:b34 822 + sp:arg1 _:b33
821 ] ; 823 ] ;
822 - sp:variable _:b35 824 + sp:variable _:b34
823 ] [ rdf:type sp:Bind ; 825 ] [ rdf:type sp:Bind ;
824 sp:expression 826 sp:expression
825 [ rdf:type smf:encodeURL ; 827 [ rdf:type smf:encodeURL ;
826 - sp:arg1 _:b35 828 + sp:arg1 _:b34
827 ] ; 829 ] ;
828 - sp:variable _:b36 830 + sp:variable _:b35
829 ] [ rdf:type sp:Bind ; 831 ] [ rdf:type sp:Bind ;
830 sp:expression 832 sp:expression
831 [ rdf:type smf:regex ; 833 [ rdf:type smf:regex ;
832 - sp:arg1 _:b36 ; 834 + sp:arg1 _:b35 ;
833 sp:arg2 "%2F" ; 835 sp:arg2 "%2F" ;
834 sp:arg3 "_" 836 sp:arg3 "_"
835 ] ; 837 ] ;
836 - sp:variable _:b37 838 + sp:variable _:b36
837 ] [ rdf:type sp:Bind ; 839 ] [ rdf:type sp:Bind ;
838 sp:expression 840 sp:expression
839 [ rdf:type smf:regex ; 841 [ rdf:type smf:regex ;
840 - sp:arg1 _:b37 ; 842 + sp:arg1 _:b36 ;
841 sp:arg2 "%[0-9A-F][0-9A-F]" ; 843 sp:arg2 "%[0-9A-F][0-9A-F]" ;
842 sp:arg3 "" 844 sp:arg3 ""
843 ] ; 845 ] ;
844 - sp:variable _:b38 846 + sp:variable _:b37
845 ] [ rdf:type sp:Bind ; 847 ] [ rdf:type sp:Bind ;
846 sp:expression 848 sp:expression
847 [ rdf:type smf:regex ; 849 [ rdf:type smf:regex ;
848 - sp:arg1 _:b38 ; 850 + sp:arg1 _:b37 ;
849 sp:arg2 "\\+" ; 851 sp:arg2 "\\+" ;
850 sp:arg3 "_" 852 sp:arg3 "_"
851 ] ; 853 ] ;
852 - sp:variable _:b39 854 + sp:variable _:b38
853 ] [ rdf:type sp:Bind ; 855 ] [ rdf:type sp:Bind ;
854 sp:expression 856 sp:expression
855 [ rdf:type smf:regex ; 857 [ rdf:type smf:regex ;
856 - sp:arg1 _:b39 ; 858 + sp:arg1 _:b38 ;
857 sp:arg2 "_+" ; 859 sp:arg2 "_+" ;
858 sp:arg3 "_" 860 sp:arg3 "_"
859 ] ; 861 ] ;
860 - sp:variable _:b40 862 + sp:variable _:b39
861 ] [ rdf:type sp:Bind ; 863 ] [ rdf:type sp:Bind ;
862 sp:expression 864 sp:expression
863 [ rdf:type smf:regex ; 865 [ rdf:type smf:regex ;
864 - sp:arg1 _:b40 ; 866 + sp:arg1 _:b39 ;
865 sp:arg2 "\\*" ; 867 sp:arg2 "\\*" ;
866 sp:arg3 "" 868 sp:arg3 ""
867 ] ; 869 ] ;
868 - sp:variable _:b41 870 + sp:variable _:b40
869 ] [ rdf:type sp:Bind ; 871 ] [ rdf:type sp:Bind ;
870 sp:expression 872 sp:expression
871 [ rdf:type xsd:string ; 873 [ rdf:type xsd:string ;
872 sp:arg1 [ rdf:type smf:upperCase ; 874 sp:arg1 [ rdf:type smf:upperCase ;
873 - sp:arg1 _:b41 875 + sp:arg1 _:b40
874 ] 876 ]
875 ] ; 877 ] ;
876 - sp:variable _:b33 878 + sp:variable _:b32
877 ]) 879 ])
878 ] ; 880 ] ;
879 spin:constraint 881 spin:constraint
...@@ -888,7 +890,7 @@ ep-spin-lib:selectActivitySuccessType ...@@ -888,7 +890,7 @@ ep-spin-lib:selectActivitySuccessType
888 rdfs:subClassOf ep-spin-lib:Function ; 890 rdfs:subClassOf ep-spin-lib:Function ;
889 spin:body 891 spin:body
890 [ rdf:type sp:Select ; 892 [ rdf:type sp:Select ;
891 - sp:resultVariables (_:b42) ; 893 + sp:resultVariables (_:b41) ;
892 sp:where ([ rdf:type sp:Bind ; 894 sp:where ([ rdf:type sp:Bind ;
893 sp:expression 895 sp:expression
894 [ rdf:type sp:if ; 896 [ rdf:type sp:if ;
...@@ -899,7 +901,7 @@ ep-spin-lib:selectActivitySuccessType ...@@ -899,7 +901,7 @@ ep-spin-lib:selectActivitySuccessType
899 sp:arg2 <http://www.reportinghub.no/ep/schema/activity#SuccessfulActivity> ; 901 sp:arg2 <http://www.reportinghub.no/ep/schema/activity#SuccessfulActivity> ;
900 sp:arg3 <http://www.reportinghub.no/ep/schema/activity#FailedActivity> 902 sp:arg3 <http://www.reportinghub.no/ep/schema/activity#FailedActivity>
901 ] ; 903 ] ;
902 - sp:variable _:b42 904 + sp:variable _:b41
903 ]) 905 ])
904 ] . 906 ] .
905 907
...@@ -909,7 +911,7 @@ ep-spin-lib:selectCasingRoleType ...@@ -909,7 +911,7 @@ ep-spin-lib:selectCasingRoleType
909 rdfs:subClassOf ep-spin-lib:Function ; 911 rdfs:subClassOf ep-spin-lib:Function ;
910 spin:body 912 spin:body
911 [ rdf:type sp:Select ; 913 [ rdf:type sp:Select ;
912 - sp:resultVariables (_:b43) ; 914 + sp:resultVariables (_:b42) ;
913 sp:where ([ rdf:type sp:Bind ; 915 sp:where ([ rdf:type sp:Bind ;
914 sp:expression 916 sp:expression
915 [ rdf:type sp:if ; 917 [ rdf:type sp:if ;
...@@ -934,7 +936,7 @@ ep-spin-lib:selectCasingRoleType ...@@ -934,7 +936,7 @@ ep-spin-lib:selectCasingRoleType
934 ] 936 ]
935 ] 937 ]
936 ] ; 938 ] ;
937 - sp:variable _:b43 939 + sp:variable _:b42
938 ]) 940 ])
939 ] . 941 ] .
940 942
...@@ -944,7 +946,7 @@ ep-spin-lib:selectCementingFluidReturnType ...@@ -944,7 +946,7 @@ ep-spin-lib:selectCementingFluidReturnType
944 rdfs:subClassOf ep-spin-lib:Function ; 946 rdfs:subClassOf ep-spin-lib:Function ;
945 spin:body 947 spin:body
946 [ rdf:type sp:Select ; 948 [ rdf:type sp:Select ;
947 - sp:resultVariables (_:b44) ; 949 + sp:resultVariables (_:b43) ;
948 sp:where ([ rdf:type sp:Bind ; 950 sp:where ([ rdf:type sp:Bind ;
949 sp:expression 951 sp:expression
950 [ rdf:type sp:if ; 952 [ rdf:type sp:if ;
...@@ -955,7 +957,7 @@ ep-spin-lib:selectCementingFluidReturnType ...@@ -955,7 +957,7 @@ ep-spin-lib:selectCementingFluidReturnType
955 sp:arg2 <http://www.reportinghub.no/ep/schema/activity#WellCementPumpingWithFluidReturn> ; 957 sp:arg2 <http://www.reportinghub.no/ep/schema/activity#WellCementPumpingWithFluidReturn> ;
956 sp:arg3 <http://www.reportinghub.no/ep/schema/activity#WellCementPumpingWithoutFluidReturn> 958 sp:arg3 <http://www.reportinghub.no/ep/schema/activity#WellCementPumpingWithoutFluidReturn>
957 ] ; 959 ] ;
958 - sp:variable _:b44 960 + sp:variable _:b43
959 ]) 961 ])
960 ] . 962 ] .
961 963
...@@ -965,7 +967,7 @@ ep-spin-lib:selectClassOfWellDatumObject ...@@ -965,7 +967,7 @@ ep-spin-lib:selectClassOfWellDatumObject
965 rdfs:subClassOf ep-spin-lib:Function ; 967 rdfs:subClassOf ep-spin-lib:Function ;
966 spin:body 968 spin:body
967 [ rdf:type sp:Select ; 969 [ rdf:type sp:Select ;
968 - sp:resultVariables (_:b45) ; 970 + sp:resultVariables (_:b44) ;
969 sp:where ([ rdf:type sp:Bind ; 971 sp:where ([ rdf:type sp:Bind ;
970 sp:expression 972 sp:expression
971 [ rdf:type sp:if ; 973 [ rdf:type sp:if ;
...@@ -983,7 +985,7 @@ ep-spin-lib:selectClassOfWellDatumObject ...@@ -983,7 +985,7 @@ ep-spin-lib:selectClassOfWellDatumObject
983 sp:arg3 owl:Nothing 985 sp:arg3 owl:Nothing
984 ] 986 ]
985 ] ; 987 ] ;
986 - sp:variable _:b45 988 + sp:variable _:b44
987 ]) 989 ])
988 ] . 990 ] .
989 991
...@@ -993,7 +995,7 @@ ep-spin-lib:selectComponentType ...@@ -993,7 +995,7 @@ ep-spin-lib:selectComponentType
993 rdfs:subClassOf ep-spin-lib:Function ; 995 rdfs:subClassOf ep-spin-lib:Function ;
994 spin:body 996 spin:body
995 [ rdf:type sp:Select ; 997 [ rdf:type sp:Select ;
996 - sp:resultVariables (_:b46) ; 998 + sp:resultVariables (_:b45) ;
997 sp:where ([ rdf:type sp:Bind ; 999 sp:where ([ rdf:type sp:Bind ;
998 sp:expression 1000 sp:expression
999 [ rdf:type sp:if ; 1001 [ rdf:type sp:if ;
...@@ -1032,7 +1034,7 @@ ep-spin-lib:selectComponentType ...@@ -1032,7 +1034,7 @@ ep-spin-lib:selectComponentType
1032 ] 1034 ]
1033 ] 1035 ]
1034 ] ; 1036 ] ;
1035 - sp:variable _:b46 1037 + sp:variable _:b45
1036 ]) 1038 ])
1037 ] . 1039 ] .
1038 1040
...@@ -1042,7 +1044,7 @@ ep-spin-lib:selectDailyDrillingReportType ...@@ -1042,7 +1044,7 @@ ep-spin-lib:selectDailyDrillingReportType
1042 rdfs:subClassOf ep-spin-lib:Function ; 1044 rdfs:subClassOf ep-spin-lib:Function ;
1043 spin:body 1045 spin:body
1044 [ rdf:type sp:Select ; 1046 [ rdf:type sp:Select ;
1045 - sp:resultVariables (_:b47) ; 1047 + sp:resultVariables (_:b46) ;
1046 sp:where ([ rdf:type sp:Bind ; 1048 sp:where ([ rdf:type sp:Bind ;
1047 sp:expression 1049 sp:expression
1048 [ rdf:type sp:if ; 1050 [ rdf:type sp:if ;
...@@ -1060,7 +1062,7 @@ ep-spin-lib:selectDailyDrillingReportType ...@@ -1060,7 +1062,7 @@ ep-spin-lib:selectDailyDrillingReportType
1060 sp:arg3 <http://www.reportinghub.no/ep/schema/report#FinalDailyDrillingReport> 1062 sp:arg3 <http://www.reportinghub.no/ep/schema/report#FinalDailyDrillingReport>
1061 ] 1063 ]
1062 ] ; 1064 ] ;
1063 - sp:variable _:b47 1065 + sp:variable _:b46
1064 ]) 1066 ])
1065 ] . 1067 ] .
1066 1068
...@@ -1070,7 +1072,7 @@ ep-spin-lib:selectDensityScale ...@@ -1070,7 +1072,7 @@ ep-spin-lib:selectDensityScale
1070 rdfs:subClassOf ep-spin-lib:Function ; 1072 rdfs:subClassOf ep-spin-lib:Function ;
1071 spin:body 1073 spin:body
1072 [ rdf:type sp:Select ; 1074 [ rdf:type sp:Select ;
1073 - sp:resultVariables (_:b48) ; 1075 + sp:resultVariables (_:b47) ;
1074 sp:where ([ rdf:type sp:Bind ; 1076 sp:where ([ rdf:type sp:Bind ;
1075 sp:expression 1077 sp:expression
1076 [ rdf:type sp:if ; 1078 [ rdf:type sp:if ;
...@@ -1088,7 +1090,7 @@ ep-spin-lib:selectDensityScale ...@@ -1088,7 +1090,7 @@ ep-spin-lib:selectDensityScale
1088 sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale> 1090 sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
1089 ] 1091 ]
1090 ] ; 1092 ] ;
1091 - sp:variable _:b48 1093 + sp:variable _:b47
1092 ]) 1094 ])
1093 ] . 1095 ] .
1094 1096
...@@ -1098,7 +1100,7 @@ ep-spin-lib:selectDrillingActivityOutcomeType ...@@ -1098,7 +1100,7 @@ ep-spin-lib:selectDrillingActivityOutcomeType
1098 rdfs:subClassOf ep-spin-lib:Function ; 1100 rdfs:subClassOf ep-spin-lib:Function ;
1099 spin:body 1101 spin:body
1100 [ rdf:type sp:Select ; 1102 [ rdf:type sp:Select ;
1101 - sp:resultVariables (_:b49) ; 1103 + sp:resultVariables (_:b48) ;
1102 sp:where ([ rdf:type sp:Bind ; 1104 sp:where ([ rdf:type sp:Bind ;
1103 sp:expression 1105 sp:expression
1104 [ rdf:type sp:if ; 1106 [ rdf:type sp:if ;
...@@ -1165,7 +1167,7 @@ ep-spin-lib:selectDrillingActivityOutcomeType ...@@ -1165,7 +1167,7 @@ ep-spin-lib:selectDrillingActivityOutcomeType
1165 ] 1167 ]
1166 ] 1168 ]
1167 ] ; 1169 ] ;
1168 - sp:variable _:b49 1170 + sp:variable _:b48
1169 ]) 1171 ])
1170 ] . 1172 ] .
1171 1173
...@@ -1175,7 +1177,7 @@ ep-spin-lib:selectDrillingActivityPurposeType ...@@ -1175,7 +1177,7 @@ ep-spin-lib:selectDrillingActivityPurposeType
1175 rdfs:subClassOf ep-spin-lib:Function ; 1177 rdfs:subClassOf ep-spin-lib:Function ;
1176 spin:body 1178 spin:body
1177 [ rdf:type sp:Select ; 1179 [ rdf:type sp:Select ;
1178 - sp:resultVariables (_:b50) ; 1180 + sp:resultVariables (_:b49) ;
1179 sp:where ([ rdf:type sp:Bind ; 1181 sp:where ([ rdf:type sp:Bind ;
1180 sp:expression 1182 sp:expression
1181 [ rdf:type sp:if ; 1183 [ rdf:type sp:if ;
...@@ -1760,7 +1762,7 @@ ep-spin-lib:selectDrillingActivityPurposeType ...@@ -1760,7 +1762,7 @@ ep-spin-lib:selectDrillingActivityPurposeType
1760 ] 1762 ]
1761 ] 1763 ]
1762 ] ; 1764 ] ;
1763 - sp:variable _:b50 1765 + sp:variable _:b49
1764 ]) 1766 ])
1765 ] . 1767 ] .
1766 1768
...@@ -1770,7 +1772,7 @@ ep-spin-lib:selectDrillingActivityTypeAccordingToEquipmentType ...@@ -1770,7 +1772,7 @@ ep-spin-lib:selectDrillingActivityTypeAccordingToEquipmentType
1770 rdfs:subClassOf ep-spin-lib:Function ; 1772 rdfs:subClassOf ep-spin-lib:Function ;
1771 spin:body 1773 spin:body
1772 [ rdf:type sp:Select ; 1774 [ rdf:type sp:Select ;
1773 - sp:resultVariables (_:b51) ; 1775 + sp:resultVariables (_:b50) ;
1774 sp:where ([ rdf:type sp:Bind ; 1776 sp:where ([ rdf:type sp:Bind ;
1775 sp:expression 1777 sp:expression
1776 [ rdf:type sp:if ; 1778 [ rdf:type sp:if ;
...@@ -1809,7 +1811,7 @@ ep-spin-lib:selectDrillingActivityTypeAccordingToEquipmentType ...@@ -1809,7 +1811,7 @@ ep-spin-lib:selectDrillingActivityTypeAccordingToEquipmentType
1809 ] 1811 ]
1810 ] 1812 ]
1811 ] ; 1813 ] ;
1812 - sp:variable _:b51 1814 + sp:variable _:b50
1813 ]) 1815 ])
1814 ] . 1816 ] .
1815 1817
...@@ -1819,7 +1821,7 @@ ep-spin-lib:selectDrillingEquipmentType ...@@ -1819,7 +1821,7 @@ ep-spin-lib:selectDrillingEquipmentType
1819 rdfs:subClassOf ep-spin-lib:Function ; 1821 rdfs:subClassOf ep-spin-lib:Function ;
1820 spin:body 1822 spin:body
1821 [ rdf:type sp:Select ; 1823 [ rdf:type sp:Select ;
1822 - sp:resultVariables (_:b52) ; 1824 + sp:resultVariables (_:b51) ;
1823 sp:where ([ rdf:type sp:Bind ; 1825 sp:where ([ rdf:type sp:Bind ;
1824 sp:expression 1826 sp:expression
1825 [ rdf:type sp:if ; 1827 [ rdf:type sp:if ;
...@@ -2236,7 +2238,7 @@ ep-spin-lib:selectDrillingEquipmentType ...@@ -2236,7 +2238,7 @@ ep-spin-lib:selectDrillingEquipmentType
2236 ] 2238 ]
2237 ] 2239 ]
2238 ] ; 2240 ] ;
2239 - sp:variable _:b52 2241 + sp:variable _:b51
2240 ]) 2242 ])
2241 ] . 2243 ] .
2242 2244
...@@ -2246,7 +2248,7 @@ ep-spin-lib:selectFixedOrMoveableRigType ...@@ -2246,7 +2248,7 @@ ep-spin-lib:selectFixedOrMoveableRigType
2246 rdfs:subClassOf ep-spin-lib:Function ; 2248 rdfs:subClassOf ep-spin-lib:Function ;
2247 spin:body 2249 spin:body
2248 [ rdf:type sp:Select ; 2250 [ rdf:type sp:Select ;
2249 - sp:resultVariables (_:b53) ; 2251 + sp:resultVariables (_:b52) ;
2250 sp:where ([ rdf:type sp:Bind ; 2252 sp:where ([ rdf:type sp:Bind ;
2251 sp:expression 2253 sp:expression
2252 [ rdf:type sp:if ; 2254 [ rdf:type sp:if ;
...@@ -2257,7 +2259,7 @@ ep-spin-lib:selectFixedOrMoveableRigType ...@@ -2257,7 +2259,7 @@ ep-spin-lib:selectFixedOrMoveableRigType
2257 sp:arg2 <http://www.reportinghub.no/ep/schema/facility#FixedRig> ; 2259 sp:arg2 <http://www.reportinghub.no/ep/schema/facility#FixedRig> ;
2258 sp:arg3 <http://www.reportinghub.no/ep/schema/facility#MoveableRig> 2260 sp:arg3 <http://www.reportinghub.no/ep/schema/facility#MoveableRig>
2259 ] ; 2261 ] ;
2260 - sp:variable _:b53 2262 + sp:variable _:b52
2261 ]) 2263 ])
2262 ] . 2264 ] .
2263 2265
...@@ -2267,7 +2269,7 @@ ep-spin-lib:selectFluidType ...@@ -2267,7 +2269,7 @@ ep-spin-lib:selectFluidType
2267 rdfs:subClassOf ep-spin-lib:Function ; 2269 rdfs:subClassOf ep-spin-lib:Function ;
2268 spin:body 2270 spin:body
2269 [ rdf:type sp:Select ; 2271 [ rdf:type sp:Select ;
2270 - sp:resultVariables (_:b54) ; 2272 + sp:resultVariables (_:b53) ;
2271 sp:where ([ rdf:type sp:Bind ; 2273 sp:where ([ rdf:type sp:Bind ;
2272 sp:expression 2274 sp:expression
2273 [ rdf:type sp:if ; 2275 [ rdf:type sp:if ;
...@@ -2299,7 +2301,7 @@ ep-spin-lib:selectFluidType ...@@ -2299,7 +2301,7 @@ ep-spin-lib:selectFluidType
2299 ] 2301 ]
2300 ] 2302 ]
2301 ] ; 2303 ] ;
2302 - sp:variable _:b54 2304 + sp:variable _:b53
2303 ]) 2305 ])
2304 ] . 2306 ] .
2305 2307
...@@ -2309,7 +2311,7 @@ ep-spin-lib:selectGasReadingType ...@@ -2309,7 +2311,7 @@ ep-spin-lib:selectGasReadingType
2309 rdfs:subClassOf ep-spin-lib:Function ; 2311 rdfs:subClassOf ep-spin-lib:Function ;
2310 spin:body 2312 spin:body
2311 [ rdf:type sp:Select ; 2313 [ rdf:type sp:Select ;
2312 - sp:resultVariables (_:b55) ; 2314 + sp:resultVariables (_:b54) ;
2313 sp:where ([ rdf:type sp:Bind ; 2315 sp:where ([ rdf:type sp:Bind ;
2314 sp:expression 2316 sp:expression
2315 [ rdf:type sp:if ; 2317 [ rdf:type sp:if ;
...@@ -2376,7 +2378,7 @@ ep-spin-lib:selectGasReadingType ...@@ -2376,7 +2378,7 @@ ep-spin-lib:selectGasReadingType
2376 ] 2378 ]
2377 ] 2379 ]
2378 ] ; 2380 ] ;
2379 - sp:variable _:b55 2381 + sp:variable _:b54
2380 ]) 2382 ])
2381 ] . 2383 ] .
2382 2384
...@@ -2386,7 +2388,7 @@ ep-spin-lib:selectInnerBarrelType ...@@ -2386,7 +2388,7 @@ ep-spin-lib:selectInnerBarrelType
2386 rdfs:subClassOf ep-spin-lib:Function ; 2388 rdfs:subClassOf ep-spin-lib:Function ;
2387 spin:body 2389 spin:body
2388 [ rdf:type sp:Select ; 2390 [ rdf:type sp:Select ;
2389 - sp:resultVariables (_:b56) ; 2391 + sp:resultVariables (_:b55) ;
2390 sp:where ([ rdf:type sp:Bind ; 2392 sp:where ([ rdf:type sp:Bind ;
2391 sp:expression 2393 sp:expression
2392 [ rdf:type sp:if ; 2394 [ rdf:type sp:if ;
...@@ -2418,7 +2420,7 @@ ep-spin-lib:selectInnerBarrelType ...@@ -2418,7 +2420,7 @@ ep-spin-lib:selectInnerBarrelType
2418 ] 2420 ]
2419 ] 2421 ]
2420 ] ; 2422 ] ;
2421 - sp:variable _:b56 2423 + sp:variable _:b55
2422 ]) 2424 ])
2423 ] . 2425 ] .
2424 2426
...@@ -2428,7 +2430,7 @@ ep-spin-lib:selectLabelOfSystem ...@@ -2428,7 +2430,7 @@ ep-spin-lib:selectLabelOfSystem
2428 rdfs:subClassOf ep-spin-lib:Function ; 2430 rdfs:subClassOf ep-spin-lib:Function ;
2429 spin:body 2431 spin:body
2430 [ rdf:type sp:Select ; 2432 [ rdf:type sp:Select ;
2431 - sp:resultVariables (_:b57) ; 2433 + sp:resultVariables (_:b56) ;
2432 sp:where ([ rdf:type sp:Bind ; 2434 sp:where ([ rdf:type sp:Bind ;
2433 sp:expression 2435 sp:expression
2434 [ rdf:type sp:if ; 2436 [ rdf:type sp:if ;
...@@ -2474,7 +2476,7 @@ ep-spin-lib:selectLabelOfSystem ...@@ -2474,7 +2476,7 @@ ep-spin-lib:selectLabelOfSystem
2474 ] 2476 ]
2475 ] 2477 ]
2476 ] ; 2478 ] ;
2477 - sp:variable _:b57 2479 + sp:variable _:b56
2478 ]) 2480 ])
2479 ] . 2481 ] .
2480 2482
...@@ -2484,7 +2486,7 @@ ep-spin-lib:selectLengthScale ...@@ -2484,7 +2486,7 @@ ep-spin-lib:selectLengthScale
2484 rdfs:subClassOf ep-spin-lib:Function ; 2486 rdfs:subClassOf ep-spin-lib:Function ;
2485 spin:body 2487 spin:body
2486 [ rdf:type sp:Select ; 2488 [ rdf:type sp:Select ;
2487 - sp:resultVariables (_:b58) ; 2489 + sp:resultVariables (_:b57) ;
2488 sp:where ([ rdf:type sp:Bind ; 2490 sp:where ([ rdf:type sp:Bind ;
2489 sp:expression 2491 sp:expression
2490 [ rdf:type sp:if ; 2492 [ rdf:type sp:if ;
...@@ -2565,7 +2567,7 @@ ep-spin-lib:selectLengthScale ...@@ -2565,7 +2567,7 @@ ep-spin-lib:selectLengthScale
2565 ] 2567 ]
2566 ] 2568 ]
2567 ] ; 2569 ] ;
2568 - sp:variable _:b58 2570 + sp:variable _:b57
2569 ]) 2571 ])
2570 ] . 2572 ] .
2571 2573
...@@ -2575,7 +2577,7 @@ ep-spin-lib:selectMassPerUnitLengthScale ...@@ -2575,7 +2577,7 @@ ep-spin-lib:selectMassPerUnitLengthScale
2575 rdfs:subClassOf ep-spin-lib:Function ; 2577 rdfs:subClassOf ep-spin-lib:Function ;
2576 spin:body 2578 spin:body
2577 [ rdf:type sp:Select ; 2579 [ rdf:type sp:Select ;
2578 - sp:resultVariables (_:b59) ; 2580 + sp:resultVariables (_:b58) ;
2579 sp:where ([ rdf:type sp:Bind ; 2581 sp:where ([ rdf:type sp:Bind ;
2580 sp:expression 2582 sp:expression
2581 [ rdf:type sp:if ; 2583 [ rdf:type sp:if ;
...@@ -2586,7 +2588,7 @@ ep-spin-lib:selectMassPerUnitLengthScale ...@@ -2586,7 +2588,7 @@ ep-spin-lib:selectMassPerUnitLengthScale
2586 sp:arg2 <http://www.reportinghub.no/ep/schema/core#pound_foot-1> ; 2588 sp:arg2 <http://www.reportinghub.no/ep/schema/core#pound_foot-1> ;
2587 sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale> 2589 sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
2588 ] ; 2590 ] ;
2589 - sp:variable _:b59 2591 + sp:variable _:b58
2590 ]) 2592 ])
2591 ] . 2593 ] .
2592 2594
...@@ -2596,7 +2598,7 @@ ep-spin-lib:selectMudClass ...@@ -2596,7 +2598,7 @@ ep-spin-lib:selectMudClass
2596 rdfs:subClassOf ep-spin-lib:Function ; 2598 rdfs:subClassOf ep-spin-lib:Function ;
2597 spin:body 2599 spin:body
2598 [ rdf:type sp:Select ; 2600 [ rdf:type sp:Select ;
2599 - sp:resultVariables (_:b60) ; 2601 + sp:resultVariables (_:b59) ;
2600 sp:where ([ rdf:type sp:Bind ; 2602 sp:where ([ rdf:type sp:Bind ;
2601 sp:expression 2603 sp:expression
2602 [ rdf:type sp:if ; 2604 [ rdf:type sp:if ;
...@@ -2621,7 +2623,7 @@ ep-spin-lib:selectMudClass ...@@ -2621,7 +2623,7 @@ ep-spin-lib:selectMudClass
2621 ] 2623 ]
2622 ] 2624 ]
2623 ] ; 2625 ] ;
2624 - sp:variable _:b60 2626 + sp:variable _:b59
2625 ]) 2627 ])
2626 ] . 2628 ] .
2627 2629
...@@ -2631,7 +2633,7 @@ ep-spin-lib:selectPlaneAngleScale ...@@ -2631,7 +2633,7 @@ ep-spin-lib:selectPlaneAngleScale
2631 rdfs:subClassOf ep-spin-lib:Function ; 2633 rdfs:subClassOf ep-spin-lib:Function ;
2632 spin:body 2634 spin:body
2633 [ rdf:type sp:Select ; 2635 [ rdf:type sp:Select ;
2634 - sp:resultVariables (_:b61) ; 2636 + sp:resultVariables (_:b60) ;
2635 sp:where ([ rdf:type sp:Bind ; 2637 sp:where ([ rdf:type sp:Bind ;
2636 sp:expression 2638 sp:expression
2637 [ rdf:type sp:if ; 2639 [ rdf:type sp:if ;
...@@ -2642,7 +2644,7 @@ ep-spin-lib:selectPlaneAngleScale ...@@ -2642,7 +2644,7 @@ ep-spin-lib:selectPlaneAngleScale
2642 sp:arg2 <http://www.reportinghub.no/ep/schema/core#degreesOfAngle> ; 2644 sp:arg2 <http://www.reportinghub.no/ep/schema/core#degreesOfAngle> ;
2643 sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale> 2645 sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
2644 ] ; 2646 ] ;
2645 - sp:variable _:b61 2647 + sp:variable _:b60
2646 ]) 2648 ])
2647 ] . 2649 ] .
2648 2650
...@@ -2652,7 +2654,7 @@ ep-spin-lib:selectPlasticViscosityScale ...@@ -2652,7 +2654,7 @@ ep-spin-lib:selectPlasticViscosityScale
2652 rdfs:subClassOf ep-spin-lib:Function ; 2654 rdfs:subClassOf ep-spin-lib:Function ;
2653 spin:body 2655 spin:body
2654 [ rdf:type sp:Select ; 2656 [ rdf:type sp:Select ;
2655 - sp:resultVariables (_:b62) ; 2657 + sp:resultVariables (_:b61) ;
2656 sp:where ([ rdf:type sp:Bind ; 2658 sp:where ([ rdf:type sp:Bind ;
2657 sp:expression 2659 sp:expression
2658 [ rdf:type sp:if ; 2660 [ rdf:type sp:if ;
...@@ -2726,7 +2728,7 @@ ep-spin-lib:selectPlasticViscosityScale ...@@ -2726,7 +2728,7 @@ ep-spin-lib:selectPlasticViscosityScale
2726 ] 2728 ]
2727 ] 2729 ]
2728 ] ; 2730 ] ;
2729 - sp:variable _:b62 2731 + sp:variable _:b61
2730 ]) 2732 ])
2731 ] . 2733 ] .
2732 2734
...@@ -2736,7 +2738,7 @@ ep-spin-lib:selectPorePressureDeterminationType ...@@ -2736,7 +2738,7 @@ ep-spin-lib:selectPorePressureDeterminationType
2736 rdfs:subClassOf ep-spin-lib:Function ; 2738 rdfs:subClassOf ep-spin-lib:Function ;
2737 spin:body 2739 spin:body
2738 [ rdf:type sp:Select ; 2740 [ rdf:type sp:Select ;
2739 - sp:resultVariables (_:b63) ; 2741 + sp:resultVariables (_:b62) ;
2740 sp:where ([ rdf:type sp:Bind ; 2742 sp:where ([ rdf:type sp:Bind ;
2741 sp:expression 2743 sp:expression
2742 [ rdf:type sp:if ; 2744 [ rdf:type sp:if ;
...@@ -2754,7 +2756,7 @@ ep-spin-lib:selectPorePressureDeterminationType ...@@ -2754,7 +2756,7 @@ ep-spin-lib:selectPorePressureDeterminationType
2754 sp:arg3 <http://www.reportinghub.no/ep/schema/activity#PorePressureDetermination> 2756 sp:arg3 <http://www.reportinghub.no/ep/schema/activity#PorePressureDetermination>
2755 ] 2757 ]
2756 ] ; 2758 ] ;
2757 - sp:variable _:b63 2759 + sp:variable _:b62
2758 ]) 2760 ])
2759 ] . 2761 ] .
2760 2762
...@@ -2764,7 +2766,7 @@ ep-spin-lib:selectPressureScale ...@@ -2764,7 +2766,7 @@ ep-spin-lib:selectPressureScale
2764 rdfs:subClassOf ep-spin-lib:Function ; 2766 rdfs:subClassOf ep-spin-lib:Function ;
2765 spin:body 2767 spin:body
2766 [ rdf:type sp:Select ; 2768 [ rdf:type sp:Select ;
2767 - sp:resultVariables (_:b64) ; 2769 + sp:resultVariables (_:b63) ;
2768 sp:where ([ rdf:type sp:Bind ; 2770 sp:where ([ rdf:type sp:Bind ;
2769 sp:expression 2771 sp:expression
2770 [ rdf:type sp:if ; 2772 [ rdf:type sp:if ;
...@@ -2803,7 +2805,7 @@ ep-spin-lib:selectPressureScale ...@@ -2803,7 +2805,7 @@ ep-spin-lib:selectPressureScale
2803 ] 2805 ]
2804 ] 2806 ]
2805 ] ; 2807 ] ;
2806 - sp:variable _:b64 2808 + sp:variable _:b63
2807 ]) 2809 ])
2808 ] . 2810 ] .
2809 2811
...@@ -2813,7 +2815,7 @@ ep-spin-lib:selectPressureTestType ...@@ -2813,7 +2815,7 @@ ep-spin-lib:selectPressureTestType
2813 rdfs:subClassOf ep-spin-lib:Function ; 2815 rdfs:subClassOf ep-spin-lib:Function ;
2814 spin:body 2816 spin:body
2815 [ rdf:type sp:Select ; 2817 [ rdf:type sp:Select ;
2816 - sp:resultVariables (_:b65) ; 2818 + sp:resultVariables (_:b64) ;
2817 sp:where ([ rdf:type sp:Bind ; 2819 sp:where ([ rdf:type sp:Bind ;
2818 sp:expression 2820 sp:expression
2819 [ rdf:type sp:if ; 2821 [ rdf:type sp:if ;
...@@ -2831,7 +2833,7 @@ ep-spin-lib:selectPressureTestType ...@@ -2831,7 +2833,7 @@ ep-spin-lib:selectPressureTestType
2831 sp:arg3 <http://www.reportinghub.no/ep/schema/activity#WellBorePressureTest> 2833 sp:arg3 <http://www.reportinghub.no/ep/schema/activity#WellBorePressureTest>
2832 ] 2834 ]
2833 ] ; 2835 ] ;
2834 - sp:variable _:b65 2836 + sp:variable _:b64
2835 ]) 2837 ])
2836 ] . 2838 ] .
2837 2839
...@@ -2841,7 +2843,7 @@ ep-spin-lib:selectSpecificMassScale ...@@ -2841,7 +2843,7 @@ ep-spin-lib:selectSpecificMassScale
2841 rdfs:subClassOf ep-spin-lib:Function ; 2843 rdfs:subClassOf ep-spin-lib:Function ;
2842 spin:body 2844 spin:body
2843 [ rdf:type sp:Select ; 2845 [ rdf:type sp:Select ;
2844 - sp:resultVariables (_:b66) ; 2846 + sp:resultVariables (_:b65) ;
2845 sp:where ([ rdf:type sp:Bind ; 2847 sp:where ([ rdf:type sp:Bind ;
2846 sp:expression 2848 sp:expression
2847 [ rdf:type sp:if ; 2849 [ rdf:type sp:if ;
...@@ -2852,7 +2854,7 @@ ep-spin-lib:selectSpecificMassScale ...@@ -2852,7 +2854,7 @@ ep-spin-lib:selectSpecificMassScale
2852 sp:arg2 <http://www.reportinghub.no/ep/schema/core#partPerMillionByMass> ; 2854 sp:arg2 <http://www.reportinghub.no/ep/schema/core#partPerMillionByMass> ;
2853 sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale> 2855 sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
2854 ] ; 2856 ] ;
2855 - sp:variable _:b66 2857 + sp:variable _:b65
2856 ]) 2858 ])
2857 ] . 2859 ] .
2858 2860
...@@ -2862,7 +2864,7 @@ ep-spin-lib:selectSpecificVolumeScale ...@@ -2862,7 +2864,7 @@ ep-spin-lib:selectSpecificVolumeScale
2862 rdfs:subClassOf ep-spin-lib:Function ; 2864 rdfs:subClassOf ep-spin-lib:Function ;
2863 spin:body 2865 spin:body
2864 [ rdf:type sp:Select ; 2866 [ rdf:type sp:Select ;
2865 - sp:resultVariables (_:b67) ; 2867 + sp:resultVariables (_:b66) ;
2866 sp:where ([ rdf:type sp:Bind ; 2868 sp:where ([ rdf:type sp:Bind ;
2867 sp:expression 2869 sp:expression
2868 [ rdf:type sp:if ; 2870 [ rdf:type sp:if ;
...@@ -2922,7 +2924,7 @@ ep-spin-lib:selectSpecificVolumeScale ...@@ -2922,7 +2924,7 @@ ep-spin-lib:selectSpecificVolumeScale
2922 ] 2924 ]
2923 ] 2925 ]
2924 ] ; 2926 ] ;
2925 - sp:variable _:b67 2927 + sp:variable _:b66
2926 ]) 2928 ])
2927 ] . 2929 ] .
2928 2930
...@@ -2932,7 +2934,7 @@ ep-spin-lib:selectSpeedScale ...@@ -2932,7 +2934,7 @@ ep-spin-lib:selectSpeedScale
2932 rdfs:subClassOf ep-spin-lib:Function ; 2934 rdfs:subClassOf ep-spin-lib:Function ;
2933 spin:body 2935 spin:body
2934 [ rdf:type sp:Select ; 2936 [ rdf:type sp:Select ;
2935 - sp:resultVariables (_:b68) ; 2937 + sp:resultVariables (_:b67) ;
2936 sp:where ([ rdf:type sp:Bind ; 2938 sp:where ([ rdf:type sp:Bind ;
2937 sp:expression 2939 sp:expression
2938 [ rdf:type sp:if ; 2940 [ rdf:type sp:if ;
...@@ -2943,7 +2945,7 @@ ep-spin-lib:selectSpeedScale ...@@ -2943,7 +2945,7 @@ ep-spin-lib:selectSpeedScale
2943 sp:arg2 <http://www.reportinghub.no/ep/schema/core#metre_hour-1> ; 2945 sp:arg2 <http://www.reportinghub.no/ep/schema/core#metre_hour-1> ;
2944 sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale> 2946 sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
2945 ] ; 2947 ] ;
2946 - sp:variable _:b68 2948 + sp:variable _:b67
2947 ]) 2949 ])
2948 ] . 2950 ] .
2949 2951
...@@ -2953,7 +2955,7 @@ ep-spin-lib:selectStrengthOfRockFormationScale ...@@ -2953,7 +2955,7 @@ ep-spin-lib:selectStrengthOfRockFormationScale
2953 rdfs:subClassOf ep-spin-lib:Function ; 2955 rdfs:subClassOf ep-spin-lib:Function ;
2954 spin:body 2956 spin:body
2955 [ rdf:type sp:Select ; 2957 [ rdf:type sp:Select ;
2956 - sp:resultVariables (_:b69) ; 2958 + sp:resultVariables (_:b68) ;
2957 sp:where ([ rdf:type sp:Bind ; 2959 sp:where ([ rdf:type sp:Bind ;
2958 sp:expression 2960 sp:expression
2959 [ rdf:type sp:if ; 2961 [ rdf:type sp:if ;
...@@ -2971,7 +2973,7 @@ ep-spin-lib:selectStrengthOfRockFormationScale ...@@ -2971,7 +2973,7 @@ ep-spin-lib:selectStrengthOfRockFormationScale
2971 sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale> 2973 sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
2972 ] 2974 ]
2973 ] ; 2975 ] ;
2974 - sp:variable _:b69 2976 + sp:variable _:b68
2975 ]) 2977 ])
2976 ] . 2978 ] .
2977 2979
...@@ -2981,7 +2983,7 @@ ep-spin-lib:selectTemperatureScale ...@@ -2981,7 +2983,7 @@ ep-spin-lib:selectTemperatureScale
2981 rdfs:subClassOf ep-spin-lib:Function ; 2983 rdfs:subClassOf ep-spin-lib:Function ;
2982 spin:body 2984 spin:body
2983 [ rdf:type sp:Select ; 2985 [ rdf:type sp:Select ;
2984 - sp:resultVariables (_:b70) ; 2986 + sp:resultVariables (_:b69) ;
2985 sp:where ([ rdf:type sp:Bind ; 2987 sp:where ([ rdf:type sp:Bind ;
2986 sp:expression 2988 sp:expression
2987 [ rdf:type sp:if ; 2989 [ rdf:type sp:if ;
...@@ -2992,7 +2994,7 @@ ep-spin-lib:selectTemperatureScale ...@@ -2992,7 +2994,7 @@ ep-spin-lib:selectTemperatureScale
2992 sp:arg2 <http://www.reportinghub.no/ep/schema/core#celsius> ; 2994 sp:arg2 <http://www.reportinghub.no/ep/schema/core#celsius> ;
2993 sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale> 2995 sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
2994 ] ; 2996 ] ;
2995 - sp:variable _:b70 2997 + sp:variable _:b69
2996 ]) 2998 ])
2997 ] . 2999 ] .
2998 3000
...@@ -3002,7 +3004,7 @@ ep-spin-lib:selectTimeDurationScale ...@@ -3002,7 +3004,7 @@ ep-spin-lib:selectTimeDurationScale
3002 rdfs:subClassOf ep-spin-lib:Function ; 3004 rdfs:subClassOf ep-spin-lib:Function ;
3003 spin:body 3005 spin:body
3004 [ rdf:type sp:Select ; 3006 [ rdf:type sp:Select ;
3005 - sp:resultVariables (_:b71) ; 3007 + sp:resultVariables (_:b70) ;
3006 sp:where ([ rdf:type sp:Bind ; 3008 sp:where ([ rdf:type sp:Bind ;
3007 sp:expression 3009 sp:expression
3008 [ rdf:type sp:if ; 3010 [ rdf:type sp:if ;
...@@ -3048,7 +3050,7 @@ ep-spin-lib:selectTimeDurationScale ...@@ -3048,7 +3050,7 @@ ep-spin-lib:selectTimeDurationScale
3048 ] 3050 ]
3049 ] 3051 ]
3050 ] ; 3052 ] ;
3051 - sp:variable _:b71 3053 + sp:variable _:b70
3052 ]) 3054 ])
3053 ] . 3055 ] .
3054 3056
...@@ -3058,7 +3060,7 @@ ep-spin-lib:selectTubeType ...@@ -3058,7 +3060,7 @@ ep-spin-lib:selectTubeType
3058 rdfs:subClassOf ep-spin-lib:Function ; 3060 rdfs:subClassOf ep-spin-lib:Function ;
3059 spin:body 3061 spin:body
3060 [ rdf:type sp:Select ; 3062 [ rdf:type sp:Select ;
3061 - sp:resultVariables (_:b72) ; 3063 + sp:resultVariables (_:b71) ;
3062 sp:where ([ rdf:type sp:Bind ; 3064 sp:where ([ rdf:type sp:Bind ;
3063 sp:expression 3065 sp:expression
3064 [ rdf:type sp:if ; 3066 [ rdf:type sp:if ;
...@@ -3083,7 +3085,7 @@ ep-spin-lib:selectTubeType ...@@ -3083,7 +3085,7 @@ ep-spin-lib:selectTubeType
3083 ] 3085 ]
3084 ] 3086 ]
3085 ] ; 3087 ] ;
3086 - sp:variable _:b72 3088 + sp:variable _:b71
3087 ]) 3089 ])
3088 ] . 3090 ] .
3089 3091
...@@ -3093,7 +3095,7 @@ ep-spin-lib:selectVolumeScale ...@@ -3093,7 +3095,7 @@ ep-spin-lib:selectVolumeScale
3093 rdfs:subClassOf ep-spin-lib:Function ; 3095 rdfs:subClassOf ep-spin-lib:Function ;
3094 spin:body 3096 spin:body
3095 [ rdf:type sp:Select ; 3097 [ rdf:type sp:Select ;
3096 - sp:resultVariables (_:b73) ; 3098 + sp:resultVariables (_:b72) ;
3097 sp:where ([ rdf:type sp:Bind ; 3099 sp:where ([ rdf:type sp:Bind ;
3098 sp:expression 3100 sp:expression
3099 [ rdf:type sp:if ; 3101 [ rdf:type sp:if ;
...@@ -3118,7 +3120,7 @@ ep-spin-lib:selectVolumeScale ...@@ -3118,7 +3120,7 @@ ep-spin-lib:selectVolumeScale
3118 ] 3120 ]
3119 ] 3121 ]
3120 ] ; 3122 ] ;
3121 - sp:variable _:b73 3123 + sp:variable _:b72
3122 ]) 3124 ])
3123 ] . 3125 ] .
3124 3126
...@@ -3128,7 +3130,7 @@ ep-spin-lib:selectVolumetricFlowRateScale ...@@ -3128,7 +3130,7 @@ ep-spin-lib:selectVolumetricFlowRateScale
3128 rdfs:subClassOf ep-spin-lib:Function ; 3130 rdfs:subClassOf ep-spin-lib:Function ;
3129 spin:body 3131 spin:body
3130 [ rdf:type sp:Select ; 3132 [ rdf:type sp:Select ;
3131 - sp:resultVariables (_:b74) ; 3133 + sp:resultVariables (_:b73) ;
3132 sp:where ([ rdf:type sp:Bind ; 3134 sp:where ([ rdf:type sp:Bind ;
3133 sp:expression 3135 sp:expression
3134 [ rdf:type sp:if ; 3136 [ rdf:type sp:if ;
...@@ -3153,7 +3155,7 @@ ep-spin-lib:selectVolumetricFlowRateScale ...@@ -3153,7 +3155,7 @@ ep-spin-lib:selectVolumetricFlowRateScale
3153 ] 3155 ]
3154 ] 3156 ]
3155 ] ; 3157 ] ;
3156 - sp:variable _:b74 3158 + sp:variable _:b73
3157 ]) 3159 ])
3158 ] . 3160 ] .
3159 3161
...@@ -3163,7 +3165,7 @@ ep-spin-lib:selectWellBoreDrillingType ...@@ -3163,7 +3165,7 @@ ep-spin-lib:selectWellBoreDrillingType
3163 rdfs:subClassOf ep-spin-lib:Function ; 3165 rdfs:subClassOf ep-spin-lib:Function ;
3164 spin:body 3166 spin:body
3165 [ rdf:type sp:Select ; 3167 [ rdf:type sp:Select ;
3166 - sp:resultVariables (_:b75) ; 3168 + sp:resultVariables (_:b74) ;
3167 sp:where ([ rdf:type sp:Bind ; 3169 sp:where ([ rdf:type sp:Bind ;
3168 sp:expression 3170 sp:expression
3169 [ rdf:type sp:if ; 3171 [ rdf:type sp:if ;
...@@ -3209,7 +3211,7 @@ ep-spin-lib:selectWellBoreDrillingType ...@@ -3209,7 +3211,7 @@ ep-spin-lib:selectWellBoreDrillingType
3209 ] 3211 ]
3210 ] 3212 ]
3211 ] ; 3213 ] ;
3212 - sp:variable _:b75 3214 + sp:variable _:b74
3213 ]) 3215 ])
3214 ] . 3216 ] .
3215 3217
...@@ -3219,7 +3221,7 @@ ep-spin-lib:selectWellBoreHphtType ...@@ -3219,7 +3221,7 @@ ep-spin-lib:selectWellBoreHphtType
3219 rdfs:subClassOf ep-spin-lib:Function ; 3221 rdfs:subClassOf ep-spin-lib:Function ;
3220 spin:body 3222 spin:body
3221 [ rdf:type sp:Select ; 3223 [ rdf:type sp:Select ;
3222 - sp:resultVariables (_:b76) ; 3224 + sp:resultVariables (_:b75) ;
3223 sp:where ([ rdf:type sp:Bind ; 3225 sp:where ([ rdf:type sp:Bind ;
3224 sp:expression 3226 sp:expression
3225 [ rdf:type sp:if ; 3227 [ rdf:type sp:if ;
...@@ -3230,7 +3232,7 @@ ep-spin-lib:selectWellBoreHphtType ...@@ -3230,7 +3232,7 @@ ep-spin-lib:selectWellBoreHphtType
3230 sp:arg2 <http://www.reportinghub.no/ep/schema/well#HphtWellBore> ; 3232 sp:arg2 <http://www.reportinghub.no/ep/schema/well#HphtWellBore> ;
3231 sp:arg3 <http://www.reportinghub.no/ep/schema/well#NotHphtWellBore> 3233 sp:arg3 <http://www.reportinghub.no/ep/schema/well#NotHphtWellBore>
3232 ] ; 3234 ] ;
3233 - sp:variable _:b76 3235 + sp:variable _:b75
3234 ]) 3236 ])
3235 ] . 3237 ] .
3236 3238
...@@ -3240,7 +3242,7 @@ ep-spin-lib:selectWellBoreTightnessType ...@@ -3240,7 +3242,7 @@ ep-spin-lib:selectWellBoreTightnessType
3240 rdfs:subClassOf ep-spin-lib:Function ; 3242 rdfs:subClassOf ep-spin-lib:Function ;
3241 spin:body 3243 spin:body
3242 [ rdf:type sp:Select ; 3244 [ rdf:type sp:Select ;
3243 - sp:resultVariables (_:b77) ; 3245 + sp:resultVariables (_:b76) ;
3244 sp:where ([ rdf:type sp:Bind ; 3246 sp:where ([ rdf:type sp:Bind ;
3245 sp:expression 3247 sp:expression
3246 [ rdf:type sp:if ; 3248 [ rdf:type sp:if ;
...@@ -3251,7 +3253,7 @@ ep-spin-lib:selectWellBoreTightnessType ...@@ -3251,7 +3253,7 @@ ep-spin-lib:selectWellBoreTightnessType
3251 sp:arg2 <http://www.reportinghub.no/ep/schema/well#TightWellBore> ; 3253 sp:arg2 <http://www.reportinghub.no/ep/schema/well#TightWellBore> ;
3252 sp:arg3 <http://www.reportinghub.no/ep/schema/well#LeakyWellBore> 3254 sp:arg3 <http://www.reportinghub.no/ep/schema/well#LeakyWellBore>
3253 ] ; 3255 ] ;
3254 - sp:variable _:b77 3256 + sp:variable _:b76
3255 ]) 3257 ])
3256 ] . 3258 ] .
3257 3259
...@@ -3261,7 +3263,7 @@ ep-spin-lib:selectWellCementJobBottomPlugType ...@@ -3261,7 +3263,7 @@ ep-spin-lib:selectWellCementJobBottomPlugType
3261 rdfs:subClassOf ep-spin-lib:Function ; 3263 rdfs:subClassOf ep-spin-lib:Function ;
3262 spin:body 3264 spin:body
3263 [ rdf:type sp:Select ; 3265 [ rdf:type sp:Select ;
3264 - sp:resultVariables (_:b78) ; 3266 + sp:resultVariables (_:b77) ;
3265 sp:where ([ rdf:type sp:Bind ; 3267 sp:where ([ rdf:type sp:Bind ;
3266 sp:expression 3268 sp:expression
3267 [ rdf:type sp:if ; 3269 [ rdf:type sp:if ;
...@@ -3272,7 +3274,7 @@ ep-spin-lib:selectWellCementJobBottomPlugType ...@@ -3272,7 +3274,7 @@ ep-spin-lib:selectWellCementJobBottomPlugType
3272 sp:arg2 <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithBottomPlug> ; 3274 sp:arg2 <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithBottomPlug> ;
3273 sp:arg3 <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithoutBottomPlug> 3275 sp:arg3 <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithoutBottomPlug>
3274 ] ; 3276 ] ;
3275 - sp:variable _:b78 3277 + sp:variable _:b77
3276 ]) 3278 ])
3277 ] . 3279 ] .
3278 3280
...@@ -3282,7 +3284,7 @@ ep-spin-lib:selectWellCementJobCasingReciprocationType ...@@ -3282,7 +3284,7 @@ ep-spin-lib:selectWellCementJobCasingReciprocationType
3282 rdfs:subClassOf ep-spin-lib:Function ; 3284 rdfs:subClassOf ep-spin-lib:Function ;
3283 spin:body 3285 spin:body
3284 [ rdf:type sp:Select ; 3286 [ rdf:type sp:Select ;
3285 - sp:resultVariables (_:b79) ; 3287 + sp:resultVariables (_:b78) ;
3286 sp:where ([ rdf:type sp:Bind ; 3288 sp:where ([ rdf:type sp:Bind ;
3287 sp:expression 3289 sp:expression
3288 [ rdf:type sp:if ; 3290 [ rdf:type sp:if ;
...@@ -3293,7 +3295,7 @@ ep-spin-lib:selectWellCementJobCasingReciprocationType ...@@ -3293,7 +3295,7 @@ ep-spin-lib:selectWellCementJobCasingReciprocationType
3293 sp:arg2 <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithCasingReciprocation> ; 3295 sp:arg2 <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithCasingReciprocation> ;
3294 sp:arg3 <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithoutCasingReciprocation> 3296 sp:arg3 <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithoutCasingReciprocation>
3295 ] ; 3297 ] ;
3296 - sp:variable _:b79 3298 + sp:variable _:b78
3297 ]) 3299 ])
3298 ] . 3300 ] .
3299 3301
...@@ -3303,7 +3305,7 @@ ep-spin-lib:selectWellCementJobCasingRotationType ...@@ -3303,7 +3305,7 @@ ep-spin-lib:selectWellCementJobCasingRotationType
3303 rdfs:subClassOf ep-spin-lib:Function ; 3305 rdfs:subClassOf ep-spin-lib:Function ;
3304 spin:body 3306 spin:body
3305 [ rdf:type sp:Select ; 3307 [ rdf:type sp:Select ;
3306 - sp:resultVariables (_:b80) ; 3308 + sp:resultVariables (_:b79) ;
3307 sp:where ([ rdf:type sp:Bind ; 3309 sp:where ([ rdf:type sp:Bind ;
3308 sp:expression 3310 sp:expression
3309 [ rdf:type sp:if ; 3311 [ rdf:type sp:if ;
...@@ -3314,7 +3316,7 @@ ep-spin-lib:selectWellCementJobCasingRotationType ...@@ -3314,7 +3316,7 @@ ep-spin-lib:selectWellCementJobCasingRotationType
3314 sp:arg2 <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithCasingRotation> ; 3316 sp:arg2 <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithCasingRotation> ;
3315 sp:arg3 <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithoutCasingRotation> 3317 sp:arg3 <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithoutCasingRotation>
3316 ] ; 3318 ] ;
3317 - sp:variable _:b80 3319 + sp:variable _:b79
3318 ]) 3320 ])
3319 ] . 3321 ] .
3320 3322
...@@ -3324,7 +3326,7 @@ ep-spin-lib:selectWellCementJobFloatHoldingType ...@@ -3324,7 +3326,7 @@ ep-spin-lib:selectWellCementJobFloatHoldingType
3324 rdfs:subClassOf ep-spin-lib:Function ; 3326 rdfs:subClassOf ep-spin-lib:Function ;
3325 spin:body 3327 spin:body
3326 [ rdf:type sp:Select ; 3328 [ rdf:type sp:Select ;
3327 - sp:resultVariables (_:b81) ; 3329 + sp:resultVariables (_:b80) ;
3328 sp:where ([ rdf:type sp:Bind ; 3330 sp:where ([ rdf:type sp:Bind ;
3329 sp:expression 3331 sp:expression
3330 [ rdf:type sp:if ; 3332 [ rdf:type sp:if ;
...@@ -3335,7 +3337,7 @@ ep-spin-lib:selectWellCementJobFloatHoldingType ...@@ -3335,7 +3337,7 @@ ep-spin-lib:selectWellCementJobFloatHoldingType
3335 sp:arg2 <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithFloatHolding> ; 3337 sp:arg2 <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithFloatHolding> ;
3336 sp:arg3 <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithoutFloatHolding> 3338 sp:arg3 <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithoutFloatHolding>
3337 ] ; 3339 ] ;
3338 - sp:variable _:b81 3340 + sp:variable _:b80
3339 ]) 3341 ])
3340 ] . 3342 ] .
3341 3343
...@@ -3345,7 +3347,7 @@ ep-spin-lib:selectWellCementJobPlugBumpingType ...@@ -3345,7 +3347,7 @@ ep-spin-lib:selectWellCementJobPlugBumpingType
3345 rdfs:subClassOf ep-spin-lib:Function ; 3347 rdfs:subClassOf ep-spin-lib:Function ;
3346 spin:body 3348 spin:body
3347 [ rdf:type sp:Select ; 3349 [ rdf:type sp:Select ;
3348 - sp:resultVariables (_:b82) ; 3350 + sp:resultVariables (_:b81) ;
3349 sp:where ([ rdf:type sp:Bind ; 3351 sp:where ([ rdf:type sp:Bind ;
3350 sp:expression 3352 sp:expression
3351 [ rdf:type sp:if ; 3353 [ rdf:type sp:if ;
...@@ -3356,7 +3358,7 @@ ep-spin-lib:selectWellCementJobPlugBumpingType ...@@ -3356,7 +3358,7 @@ ep-spin-lib:selectWellCementJobPlugBumpingType
3356 sp:arg2 <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithPlugBumping> ; 3358 sp:arg2 <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithPlugBumping> ;
3357 sp:arg3 <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithoutPlugBumping> 3359 sp:arg3 <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithoutPlugBumping>
3358 ] ; 3360 ] ;
3359 - sp:variable _:b82 3361 + sp:variable _:b81
3360 ]) 3362 ])
3361 ] . 3363 ] .
3362 3364
...@@ -3366,7 +3368,7 @@ ep-spin-lib:selectWellCementJobTopPlugType ...@@ -3366,7 +3368,7 @@ ep-spin-lib:selectWellCementJobTopPlugType
3366 rdfs:subClassOf ep-spin-lib:Function ; 3368 rdfs:subClassOf ep-spin-lib:Function ;
3367 spin:body 3369 spin:body
3368 [ rdf:type sp:Select ; 3370 [ rdf:type sp:Select ;
3369 - sp:resultVariables (_:b83) ; 3371 + sp:resultVariables (_:b82) ;
3370 sp:where ([ rdf:type sp:Bind ; 3372 sp:where ([ rdf:type sp:Bind ;
3371 sp:expression 3373 sp:expression
3372 [ rdf:type sp:if ; 3374 [ rdf:type sp:if ;
...@@ -3377,7 +3379,7 @@ ep-spin-lib:selectWellCementJobTopPlugType ...@@ -3377,7 +3379,7 @@ ep-spin-lib:selectWellCementJobTopPlugType
3377 sp:arg2 <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithTopPlug> ; 3379 sp:arg2 <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithTopPlug> ;
3378 sp:arg3 <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithoutTopPlug> 3380 sp:arg3 <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithoutTopPlug>
3379 ] ; 3381 ] ;
3380 - sp:variable _:b83 3382 + sp:variable _:b82
3381 ]) 3383 ])
3382 ] . 3384 ] .
3383 3385
...@@ -3387,7 +3389,7 @@ ep-spin-lib:selectWellCementJobType ...@@ -3387,7 +3389,7 @@ ep-spin-lib:selectWellCementJobType
3387 rdfs:subClassOf ep-spin-lib:Function ; 3389 rdfs:subClassOf ep-spin-lib:Function ;
3388 spin:body 3390 spin:body
3389 [ rdf:type sp:Select ; 3391 [ rdf:type sp:Select ;
3390 - sp:resultVariables (_:b84) ; 3392 + sp:resultVariables (_:b83) ;
3391 sp:where ([ rdf:type sp:Bind ; 3393 sp:where ([ rdf:type sp:Bind ;
3392 sp:expression 3394 sp:expression
3393 [ rdf:type sp:if ; 3395 [ rdf:type sp:if ;
...@@ -3419,7 +3421,7 @@ ep-spin-lib:selectWellCementJobType ...@@ -3419,7 +3421,7 @@ ep-spin-lib:selectWellCementJobType
3419 ] 3421 ]
3420 ] 3422 ]
3421 ] ; 3423 ] ;
3422 - sp:variable _:b84 3424 + sp:variable _:b83
3423 ]) 3425 ])
3424 ] . 3426 ] .
3425 3427
...@@ -3429,7 +3431,7 @@ ep-spin-lib:selectWellControlIncidentType ...@@ -3429,7 +3431,7 @@ ep-spin-lib:selectWellControlIncidentType
3429 rdfs:subClassOf ep-spin-lib:Function ; 3431 rdfs:subClassOf ep-spin-lib:Function ;
3430 spin:body 3432 spin:body
3431 [ rdf:type sp:Select ; 3433 [ rdf:type sp:Select ;
3432 - sp:resultVariables (_:b85) ; 3434 + sp:resultVariables (_:b84) ;
3433 sp:where ([ rdf:type sp:Bind ; 3435 sp:where ([ rdf:type sp:Bind ;
3434 sp:expression 3436 sp:expression
3435 [ rdf:type sp:if ; 3437 [ rdf:type sp:if ;
...@@ -3461,7 +3463,7 @@ ep-spin-lib:selectWellControlIncidentType ...@@ -3461,7 +3463,7 @@ ep-spin-lib:selectWellControlIncidentType
3461 ] 3463 ]
3462 ] 3464 ]
3463 ] ; 3465 ] ;
3464 - sp:variable _:b85 3466 + sp:variable _:b84
3465 ]) 3467 ])
3466 ] . 3468 ] .
3467 3469
...@@ -3471,7 +3473,7 @@ ep-spin-lib:selectWellKillingType ...@@ -3471,7 +3473,7 @@ ep-spin-lib:selectWellKillingType
3471 rdfs:subClassOf ep-spin-lib:Function ; 3473 rdfs:subClassOf ep-spin-lib:Function ;
3472 spin:body 3474 spin:body
3473 [ rdf:type sp:Select ; 3475 [ rdf:type sp:Select ;
3474 - sp:resultVariables (_:b86) ; 3476 + sp:resultVariables (_:b85) ;
3475 sp:where ([ rdf:type sp:Bind ; 3477 sp:where ([ rdf:type sp:Bind ;
3476 sp:expression 3478 sp:expression
3477 [ rdf:type sp:if ; 3479 [ rdf:type sp:if ;
...@@ -3517,7 +3519,7 @@ ep-spin-lib:selectWellKillingType ...@@ -3517,7 +3519,7 @@ ep-spin-lib:selectWellKillingType
3517 ] 3519 ]
3518 ] 3520 ]
3519 ] ; 3521 ] ;
3520 - sp:variable _:b86 3522 + sp:variable _:b85
3521 ]) 3523 ])
3522 ] . 3524 ] .
3523 3525
...@@ -3527,7 +3529,7 @@ ep-spin-lib:selectWellTestType ...@@ -3527,7 +3529,7 @@ ep-spin-lib:selectWellTestType
3527 rdfs:subClassOf ep-spin-lib:Function ; 3529 rdfs:subClassOf ep-spin-lib:Function ;
3528 spin:body 3530 spin:body
3529 [ rdf:type sp:Select ; 3531 [ rdf:type sp:Select ;
3530 - sp:resultVariables (_:b87) ; 3532 + sp:resultVariables (_:b86) ;
3531 sp:where ([ rdf:type sp:Bind ; 3533 sp:where ([ rdf:type sp:Bind ;
3532 sp:expression 3534 sp:expression
3533 [ rdf:type sp:if ; 3535 [ rdf:type sp:if ;
...@@ -3545,7 +3547,7 @@ ep-spin-lib:selectWellTestType ...@@ -3545,7 +3547,7 @@ ep-spin-lib:selectWellTestType
3545 sp:arg3 <http://www.reportinghub.no/ep/schema/activity#WellTest> 3547 sp:arg3 <http://www.reportinghub.no/ep/schema/activity#WellTest>
3546 ] 3548 ]
3547 ] ; 3549 ] ;
3548 - sp:variable _:b87 3550 + sp:variable _:b86
3549 ]) 3551 ])
3550 ] . 3552 ] .
3551 3553
...@@ -3555,7 +3557,7 @@ ep-spin-lib:selectWirelineFormationTestGoodnessOfSealType ...@@ -3555,7 +3557,7 @@ ep-spin-lib:selectWirelineFormationTestGoodnessOfSealType
3555 rdfs:subClassOf ep-spin-lib:Function ; 3557 rdfs:subClassOf ep-spin-lib:Function ;
3556 spin:body 3558 spin:body
3557 [ rdf:type sp:Select ; 3559 [ rdf:type sp:Select ;
3558 - sp:resultVariables (_:b88) ; 3560 + sp:resultVariables (_:b87) ;
3559 sp:where ([ rdf:type sp:Bind ; 3561 sp:where ([ rdf:type sp:Bind ;
3560 sp:expression 3562 sp:expression
3561 [ rdf:type sp:if ; 3563 [ rdf:type sp:if ;
...@@ -3566,7 +3568,7 @@ ep-spin-lib:selectWirelineFormationTestGoodnessOfSealType ...@@ -3566,7 +3568,7 @@ ep-spin-lib:selectWirelineFormationTestGoodnessOfSealType
3566 sp:arg2 <http://www.reportinghub.no/ep/schema/activity#WirelineFormationTestWithGoodSeal> ; 3568 sp:arg2 <http://www.reportinghub.no/ep/schema/activity#WirelineFormationTestWithGoodSeal> ;
3567 sp:arg3 <http://www.reportinghub.no/ep/schema/activity#WirelineFormationTestWithoutGoodSeal> 3569 sp:arg3 <http://www.reportinghub.no/ep/schema/activity#WirelineFormationTestWithoutGoodSeal>
3568 ] ; 3570 ] ;
3569 - sp:variable _:b88 3571 + sp:variable _:b87
3570 ]) 3572 ])
3571 ] . 3573 ] .
3572 3574
...@@ -3576,7 +3578,7 @@ ep-spin-lib:selectYieldPointScale ...@@ -3576,7 +3578,7 @@ ep-spin-lib:selectYieldPointScale
3576 rdfs:subClassOf ep-spin-lib:Function ; 3578 rdfs:subClassOf ep-spin-lib:Function ;
3577 spin:body 3579 spin:body
3578 [ rdf:type sp:Select ; 3580 [ rdf:type sp:Select ;
3579 - sp:resultVariables (_:b89) ; 3581 + sp:resultVariables (_:b88) ;
3580 sp:where ([ rdf:type sp:Bind ; 3582 sp:where ([ rdf:type sp:Bind ;
3581 sp:expression 3583 sp:expression
3582 [ rdf:type sp:if ; 3584 [ rdf:type sp:if ;
...@@ -3601,7 +3603,7 @@ ep-spin-lib:selectYieldPointScale ...@@ -3601,7 +3603,7 @@ ep-spin-lib:selectYieldPointScale
3601 ] 3603 ]
3602 ] 3604 ]
3603 ] ; 3605 ] ;
3604 - sp:variable _:b89 3606 + sp:variable _:b88
3605 ]) 3607 ])
3606 ] . 3608 ] .
3607 3609
...@@ -3695,175 +3697,172 @@ _:b31 ...@@ -3695,175 +3697,172 @@ _:b31
3695 sp:varName "uri"^^xsd:string . 3697 sp:varName "uri"^^xsd:string .
3696 3698
3697 _:b32 3699 _:b32
3698 - sp:varName "uri"^^xsd:string .
3699 -
3700 -_:b33
3701 sp:varName "normalizedStr"^^xsd:string . 3700 sp:varName "normalizedStr"^^xsd:string .
3702 3701
3703 -_:b34 3702 +_:b33
3704 sp:varName "s1"^^xsd:string . 3703 sp:varName "s1"^^xsd:string .
3705 3704
3706 -_:b35 3705 +_:b34
3707 sp:varName "s2"^^xsd:string . 3706 sp:varName "s2"^^xsd:string .
3708 3707
3709 -_:b36 3708 +_:b35
3710 sp:varName "t0a"^^xsd:string . 3709 sp:varName "t0a"^^xsd:string .
3711 3710
3712 -_:b37 3711 +_:b36
3713 sp:varName "t0b"^^xsd:string . 3712 sp:varName "t0b"^^xsd:string .
3714 3713
3715 -_:b38 3714 +_:b37
3716 sp:varName "t1"^^xsd:string . 3715 sp:varName "t1"^^xsd:string .
3717 3716
3718 -_:b39 3717 +_:b38
3719 sp:varName "t2"^^xsd:string . 3718 sp:varName "t2"^^xsd:string .
3720 3719
3721 -_:b40 3720 +_:b39
3722 sp:varName "t3"^^xsd:string . 3721 sp:varName "t3"^^xsd:string .
3723 3722
3724 -_:b41 3723 +_:b40
3725 sp:varName "t4"^^xsd:string . 3724 sp:varName "t4"^^xsd:string .
3726 3725
3727 -_:b42 3726 +_:b41
3728 sp:varName "activitySuccessType"^^xsd:string . 3727 sp:varName "activitySuccessType"^^xsd:string .
3729 3728
3730 -_:b43 3729 +_:b42
3731 sp:varName "casingRoleType"^^xsd:string . 3730 sp:varName "casingRoleType"^^xsd:string .
3732 3731
3733 -_:b44 3732 +_:b43
3734 sp:varName "cementingFluidReturnType"^^xsd:string . 3733 sp:varName "cementingFluidReturnType"^^xsd:string .
3735 3734
3736 -_:b45 3735 +_:b44
3737 sp:varName "classOfWellDatumObject"^^xsd:string . 3736 sp:varName "classOfWellDatumObject"^^xsd:string .
3738 3737
3739 -_:b46 3738 +_:b45
3740 sp:varName "componentType"^^xsd:string . 3739 sp:varName "componentType"^^xsd:string .
3741 3740
3742 -_:b47 3741 +_:b46
3743 sp:varName "dailyDrillingReportType"^^xsd:string . 3742 sp:varName "dailyDrillingReportType"^^xsd:string .
3744 3743
3745 -_:b48 3744 +_:b47
3746 sp:varName "densityScale"^^xsd:string . 3745 sp:varName "densityScale"^^xsd:string .
3747 3746
3748 -_:b49 3747 +_:b48
3749 sp:varName "drillingActivityOutcomeType"^^xsd:string . 3748 sp:varName "drillingActivityOutcomeType"^^xsd:string .
3750 3749
3751 -_:b50 3750 +_:b49
3752 sp:varName "drillingActivityPurposeType"^^xsd:string . 3751 sp:varName "drillingActivityPurposeType"^^xsd:string .
3753 3752
3754 -_:b51 3753 +_:b50
3755 sp:varName "drillingActivityTypeAccordingToEquipmentType"^^xsd:string . 3754 sp:varName "drillingActivityTypeAccordingToEquipmentType"^^xsd:string .
3756 3755
3757 -_:b52 3756 +_:b51
3758 sp:varName "drillingEquipmentType"^^xsd:string . 3757 sp:varName "drillingEquipmentType"^^xsd:string .
3759 3758
3760 -_:b53 3759 +_:b52
3761 sp:varName "fixedOrMoveableRigType"^^xsd:string . 3760 sp:varName "fixedOrMoveableRigType"^^xsd:string .
3762 3761
3763 -_:b54 3762 +_:b53
3764 sp:varName "fluidType"^^xsd:string . 3763 sp:varName "fluidType"^^xsd:string .
3765 3764
3766 -_:b55 3765 +_:b54
3767 sp:varName "gasReadingType"^^xsd:string . 3766 sp:varName "gasReadingType"^^xsd:string .
3768 3767
3769 -_:b56 3768 +_:b55
3770 sp:varName "innerBarrelType"^^xsd:string . 3769 sp:varName "innerBarrelType"^^xsd:string .
3771 3770
3772 -_:b57 3771 +_:b56
3773 sp:varName "dailyDrillingReportType"^^xsd:string . 3772 sp:varName "dailyDrillingReportType"^^xsd:string .
3774 3773
3775 -_:b58 3774 +_:b57
3776 sp:varName "lengthScale"^^xsd:string . 3775 sp:varName "lengthScale"^^xsd:string .
3777 3776
3778 -_:b59 3777 +_:b58
3779 sp:varName "massPerUnitLengthScale"^^xsd:string . 3778 sp:varName "massPerUnitLengthScale"^^xsd:string .
3780 3779
3781 -_:b60 3780 +_:b59
3782 sp:varName "mudClass"^^xsd:string . 3781 sp:varName "mudClass"^^xsd:string .
3783 3782
3784 -_:b61 3783 +_:b60
3785 sp:varName "angleScale"^^xsd:string . 3784 sp:varName "angleScale"^^xsd:string .
3786 3785
3787 -_:b62 3786 +_:b61
3788 sp:varName "plasticViscosityScale"^^xsd:string . 3787 sp:varName "plasticViscosityScale"^^xsd:string .
3789 3788
3790 -_:b63 3789 +_:b62
3791 sp:varName "porePressureDeterminationType"^^xsd:string . 3790 sp:varName "porePressureDeterminationType"^^xsd:string .
3792 3791
3793 -_:b64 3792 +_:b63
3794 sp:varName "pressureScale"^^xsd:string . 3793 sp:varName "pressureScale"^^xsd:string .
3795 3794
3796 -_:b65 3795 +_:b64
3797 sp:varName "pressureTestType"^^xsd:string . 3796 sp:varName "pressureTestType"^^xsd:string .
3798 3797
3799 -_:b66 3798 +_:b65
3800 sp:varName "specificMassScale"^^xsd:string . 3799 sp:varName "specificMassScale"^^xsd:string .
3801 3800
3802 -_:b67 3801 +_:b66
3803 sp:varName "specificVolumeScale"^^xsd:string . 3802 sp:varName "specificVolumeScale"^^xsd:string .
3804 3803
3805 -_:b68 3804 +_:b67
3806 sp:varName "speedScale"^^xsd:string . 3805 sp:varName "speedScale"^^xsd:string .
3807 3806
3808 -_:b69 3807 +_:b68
3809 sp:varName "strengthScale"^^xsd:string . 3808 sp:varName "strengthScale"^^xsd:string .
3810 3809
3811 -_:b70 3810 +_:b69
3812 sp:varName "temperatureScale"^^xsd:string . 3811 sp:varName "temperatureScale"^^xsd:string .
3813 3812
3814 -_:b71 3813 +_:b70
3815 sp:varName "durationScale"^^xsd:string . 3814 sp:varName "durationScale"^^xsd:string .
3816 3815
3817 -_:b72 3816 +_:b71
3818 sp:varName "tubeType"^^xsd:string . 3817 sp:varName "tubeType"^^xsd:string .
3819 3818
3820 -_:b73 3819 +_:b72
3821 sp:varName "volumeScale"^^xsd:string . 3820 sp:varName "volumeScale"^^xsd:string .
3822 3821
3823 -_:b74 3822 +_:b73
3824 sp:varName "volumetricFlowRateScale"^^xsd:string . 3823 sp:varName "volumetricFlowRateScale"^^xsd:string .
3825 3824
3826 -_:b75 3825 +_:b74
3827 sp:varName "wellBoreDrillingType"^^xsd:string . 3826 sp:varName "wellBoreDrillingType"^^xsd:string .
3828 3827
3829 -_:b76 3828 +_:b75
3830 sp:varName "wellBoreHphtType"^^xsd:string . 3829 sp:varName "wellBoreHphtType"^^xsd:string .
3831 3830
3832 -_:b77 3831 +_:b76
3833 sp:varName "wellBoreTightnessType"^^xsd:string . 3832 sp:varName "wellBoreTightnessType"^^xsd:string .
3834 3833
3835 -_:b78 3834 +_:b77
3836 sp:varName "wellCementJobBottomPlugType"^^xsd:string . 3835 sp:varName "wellCementJobBottomPlugType"^^xsd:string .
3837 3836
3838 -_:b79 3837 +_:b78
3839 sp:varName "wellCementJobCasingReciprocationType"^^xsd:string . 3838 sp:varName "wellCementJobCasingReciprocationType"^^xsd:string .
3840 3839
3841 -_:b80 3840 +_:b79
3842 sp:varName "wellCementJobCasingRotationType"^^xsd:string . 3841 sp:varName "wellCementJobCasingRotationType"^^xsd:string .
3843 3842
3844 -_:b81 3843 +_:b80
3845 sp:varName "wellCementJobFloatHoldingType"^^xsd:string . 3844 sp:varName "wellCementJobFloatHoldingType"^^xsd:string .
3846 3845
3847 -_:b82 3846 +_:b81
3848 sp:varName "wellCementJobPlugBumpingType"^^xsd:string . 3847 sp:varName "wellCementJobPlugBumpingType"^^xsd:string .
3849 3848
3850 -_:b83 3849 +_:b82
3851 sp:varName "wellCementJobTopPlugType"^^xsd:string . 3850 sp:varName "wellCementJobTopPlugType"^^xsd:string .
3852 3851
3853 -_:b84 3852 +_:b83
3854 sp:varName "wellCementJobType"^^xsd:string . 3853 sp:varName "wellCementJobType"^^xsd:string .
3855 3854
3856 -_:b85 3855 +_:b84
3857 sp:varName "wellControlIncidentType"^^xsd:string . 3856 sp:varName "wellControlIncidentType"^^xsd:string .
3858 3857
3859 -_:b86 3858 +_:b85
3860 sp:varName "wellKillingType"^^xsd:string . 3859 sp:varName "wellKillingType"^^xsd:string .
3861 3860
3862 -_:b87 3861 +_:b86
3863 sp:varName "wellTestType"^^xsd:string . 3862 sp:varName "wellTestType"^^xsd:string .
3864 3863
3865 -_:b88 3864 +_:b87
3866 sp:varName "wirelineFormationTestGoodnessOfSealType"^^xsd:string . 3865 sp:varName "wirelineFormationTestGoodnessOfSealType"^^xsd:string .
3867 3866
3868 -_:b89 3867 +_:b88
3869 sp:varName "yieldPointScale"^^xsd:string . 3868 sp:varName "yieldPointScale"^^xsd:string .
......
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
19 # imports: http://www.reportinghub.no/ep/transform/1.1/ddr/stratInfo 19 # imports: http://www.reportinghub.no/ep/transform/1.1/ddr/stratInfo
20 # imports: http://www.reportinghub.no/ep/transform/1.1/ddr/surveyStation 20 # imports: http://www.reportinghub.no/ep/transform/1.1/ddr/surveyStation
21 # imports: http://www.reportinghub.no/ep/transform/1.1/ddr/wellTestInfo 21 # imports: http://www.reportinghub.no/ep/transform/1.1/ddr/wellTestInfo
22 -# imports: http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias
23 # imports: http://www.reportinghub.no/ep/transform/1.1/wellDatum 22 # imports: http://www.reportinghub.no/ep/transform/1.1/wellDatum
24 # imports: http://www.reportinghub.no/ep/transform/1.1/wellboreInfo 23 # imports: http://www.reportinghub.no/ep/transform/1.1/wellboreInfo
25 # imports: http://www.reportinghub.no/ep/transform/check 24 # imports: http://www.reportinghub.no/ep/transform/check
...@@ -58,5 +57,5 @@ ...@@ -58,5 +57,5 @@
58 57
59 <http://www.reportinghub.no/ep/transform/1.1/ddr/collector> 58 <http://www.reportinghub.no/ep/transform/1.1/ddr/collector>
60 rdf:type owl:Ontology ; 59 rdf:type owl:Ontology ;
61 - owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/transform/1.1/ddr/activity> , <http://www.reportinghub.no/ep/transform/1.1/ddr/bitRecord> , <http://www.reportinghub.no/ep/transform/1.1/ddr/casingLinerTubingRun> , <http://www.reportinghub.no/ep/transform/1.1/ddr/cementStage> , <http://www.reportinghub.no/ep/transform/1.1/ddr/controlIncidentInfo> , <http://www.reportinghub.no/ep/transform/1.1/ddr/coreInfo> , <http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport> , <http://www.reportinghub.no/ep/transform/1.1/ddr/equipFailureInfo> , <http://www.reportinghub.no/ep/transform/1.1/ddr/fluid> , <http://www.reportinghub.no/ep/transform/1.1/ddr/formTestInfo> , <http://www.reportinghub.no/ep/transform/1.1/ddr/gasReadingInfo> , <http://www.reportinghub.no/ep/transform/1.1/ddr/lithShowInfo> , <http://www.reportinghub.no/ep/transform/1.1/ddr/logInfo> , <http://www.reportinghub.no/ep/transform/1.1/ddr/perfInfo> , <http://www.reportinghub.no/ep/transform/1.1/ddr/porePressure> , <http://www.reportinghub.no/ep/transform/1.1/ddr/statusInfo> , <http://www.reportinghub.no/ep/transform/1.1/ddr/stratInfo> , <http://www.reportinghub.no/ep/transform/1.1/ddr/surveyStation> , <http://www.reportinghub.no/ep/transform/1.1/ddr/wellTestInfo> , <http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias> , <http://www.reportinghub.no/ep/transform/1.1/wellDatum> , <http://www.reportinghub.no/ep/transform/1.1/wellboreInfo> , <http://www.reportinghub.no/ep/transform/check> ; 60 + owl:imports <http://www.reportinghub.no/ep/transform/check> , <http://www.reportinghub.no/ep/transform/1.1/ddr/formTestInfo> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/transform/1.1/ddr/stratInfo> , <http://www.reportinghub.no/ep/transform/1.1/ddr/fluid> , <http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport> , <http://www.reportinghub.no/ep/transform/1.1/ddr/porePressure> , <http://www.reportinghub.no/ep/transform/1.1/ddr/logInfo> , <http://www.reportinghub.no/ep/transform/1.1/ddr/activity> , <http://www.reportinghub.no/ep/transform/1.1/wellboreInfo> , <http://www.reportinghub.no/ep/transform/1.1/ddr/surveyStation> , <http://www.reportinghub.no/ep/transform/1.1/ddr/equipFailureInfo> , <http://www.reportinghub.no/ep/transform/1.1/ddr/wellTestInfo> , <http://www.reportinghub.no/ep/transform/1.1/ddr/coreInfo> , <http://www.reportinghub.no/ep/transform/1.1/ddr/perfInfo> , <http://www.reportinghub.no/ep/transform/1.1/ddr/lithShowInfo> , <http://www.reportinghub.no/ep/transform/1.1/ddr/controlIncidentInfo> , <http://www.reportinghub.no/ep/transform/1.1/ddr/bitRecord> , <http://www.reportinghub.no/ep/transform/1.1/ddr/cementStage> , <http://www.reportinghub.no/ep/transform/1.1/ddr/gasReadingInfo> , <http://www.reportinghub.no/ep/transform/1.1/ddr/casingLinerTubingRun> , <http://www.reportinghub.no/ep/transform/1.1/ddr/statusInfo> , <http://www.reportinghub.no/ep/transform/1.1/wellDatum> ;
62 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 61 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
......
1 -# Saved by TopBraid on Tue Sep 27 11:47:13 BST 2011
2 # baseURI: null 1 # baseURI: null
3 2
4 @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . 3 @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......
...@@ -25,93 +25,35 @@ ...@@ -25,93 +25,35 @@
25 25
26 <http://www.reportinghub.no/ep/transform/1.1/wellboreInfo> 26 <http://www.reportinghub.no/ep/transform/1.1/wellboreInfo>
27 rdf:type owl:Ontology ; 27 rdf:type owl:Ontology ;
28 - owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/organization> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.witsml.org/schemas/1series> ; 28 + owl:imports <http://www.witsml.org/schemas/1series> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.0/organization> , <http://spinrdf.org/spin> ;
29 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 29 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
30 30
31 ddr:Obj_drillReport 31 ddr:Obj_drillReport
32 spin:rule 32 spin:rule
33 [ rdf:type sp:Construct ; 33 [ rdf:type sp:Construct ;
34 - rdfs:comment "STEP 160b Set rig for drilling activity - NPD Code not supplied"^^xsd:string ;
35 - sp:templates ([ sp:object _:b1 ;
36 - sp:predicate ep-activity:onRig ;
37 - sp:subject _:b2
38 - ] [ sp:object ep-facility:TemporalPartOfARig ;
39 - sp:predicate rdf:type ;
40 - sp:subject _:b1
41 - ] [ sp:object _:b3 ;
42 - sp:predicate ep-core:temporalPartOf ;
43 - sp:subject _:b1
44 - ] [ sp:object ep-facility:Rig ;
45 - sp:predicate rdf:type ;
46 - sp:subject _:b3
47 - ]) ;
48 - sp:where ([ sp:object _:b4 ;
49 - sp:predicate ep-spin-lib:nameWellbore ;
50 - sp:subject spin:_this
51 - ] [ sp:object _:b5 ;
52 - sp:predicate ddr:dTimStart ;
53 - sp:subject spin:_this
54 - ] [ rdf:type sp:NotExists ;
55 - sp:elements ([ sp:object _:b6 ;
56 - sp:predicate ddr:wellboreInfoRef ;
57 - sp:subject spin:_this
58 - ] [ sp:object _:b7 ;
59 - sp:predicate ddr:rigAliasRef ;
60 - sp:subject _:b6
61 - ] [ sp:object
62 - [ sp:varName "code"^^xsd:string
63 - ] ;
64 - sp:predicate ddr:name ;
65 - sp:subject _:b7
66 - ] [ rdf:type sp:Union ;
67 - sp:elements (([ sp:object "NPD Code"^^xsd:string ;
68 - sp:predicate ddr:namingSystem ;
69 - sp:subject _:b7
70 - ]) ([ sp:object "NPD code"^^xsd:string ;
71 - sp:predicate ddr:namingSystem ;
72 - sp:subject _:b7
73 - ]))
74 - ])
75 - ] [ rdf:type sp:Bind ;
76 - sp:expression
77 - [ rdf:type ep-spin-lib:normalizeString ;
78 - sp:arg1 _:b4
79 - ] ;
80 - sp:variable _:b8
81 - ] [ rdf:type sp:Bind ;
82 - sp:expression
83 - [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
84 - sp:arg1 _:b8 ;
85 - sp:arg2 _:b5
86 - ] ;
87 - sp:variable _:b2
88 - ])
89 - ] ;
90 - spin:rule
91 - [ rdf:type sp:Construct ;
92 rdfs:comment """STEP 169a Transfer waterDepth 34 rdfs:comment """STEP 169a Transfer waterDepth
93 This rule processes data from statusInfo, but is here because it must be executed after a rig has been defined."""^^xsd:string ; 35 This rule processes data from statusInfo, but is here because it must be executed after a rig has been defined."""^^xsd:string ;
94 - sp:templates ([ sp:object _:b9 ; 36 + sp:templates ([ sp:object _:b1 ;
95 sp:predicate ep-core:hasPart ; 37 sp:predicate ep-core:hasPart ;
96 sp:subject 38 sp:subject
97 [ sp:varName "temporalPartOfARig"^^xsd:string 39 [ sp:varName "temporalPartOfARig"^^xsd:string
98 ] 40 ]
99 ] [ sp:object ep-facility:SurroundingWater ; 41 ] [ sp:object ep-facility:SurroundingWater ;
100 sp:predicate rdf:type ; 42 sp:predicate rdf:type ;
101 - sp:subject _:b9 43 + sp:subject _:b1
102 - ] [ sp:object _:b10 ; 44 + ] [ sp:object _:b2 ;
103 sp:predicate ep-facility:depthOfSurroundingWater ; 45 sp:predicate ep-facility:depthOfSurroundingWater ;
104 - sp:subject _:b9 46 + sp:subject _:b1
105 ] [ sp:object ep-core:Length ; 47 ] [ sp:object ep-core:Length ;
106 sp:predicate rdf:type ; 48 sp:predicate rdf:type ;
107 - sp:subject _:b10 49 + sp:subject _:b2
108 ] [ sp:object 50 ] [ sp:object
109 [ sp:varName "real"^^xsd:string 51 [ sp:varName "real"^^xsd:string
110 ] ; 52 ] ;
111 sp:predicate 53 sp:predicate
112 [ sp:varName "lengthScale"^^xsd:string 54 [ sp:varName "lengthScale"^^xsd:string
113 ] ; 55 ] ;
114 - sp:subject _:b10 56 + sp:subject _:b2
115 ]) ; 57 ]) ;
116 sp:where ([ sp:object 58 sp:where ([ sp:object
117 [ sp:varName "nameWellBore"^^xsd:string 59 [ sp:varName "nameWellBore"^^xsd:string
...@@ -189,147 +131,71 @@ This rule processes data from statusInfo, but is here because it must be execute ...@@ -189,147 +131,71 @@ This rule processes data from statusInfo, but is here because it must be execute
189 ] ; 131 ] ;
190 spin:rule 132 spin:rule
191 [ rdf:type sp:Construct ; 133 [ rdf:type sp:Construct ;
192 - rdfs:comment "STEP 163 Set drilling contractor for drilling activity"^^xsd:string ; 134 + rdfs:comment "STEP 160b Set rig for drilling activity - NPD Code not supplied"^^xsd:string ;
193 - sp:templates ([ sp:object _:b11 ; 135 + sp:templates ([ sp:object _:b3 ;
194 - sp:predicate ep-activity:drillingContractor ; 136 + sp:predicate ep-activity:onRig ;
195 - sp:subject 137 + sp:subject _:b4
196 - [ sp:varName "dailyDrillingActivity"^^xsd:string 138 + ] [ sp:object ep-facility:TemporalPartOfARig ;
197 - ]
198 - ] [ sp:object ep-org:Company ;
199 sp:predicate rdf:type ; 139 sp:predicate rdf:type ;
200 - sp:subject _:b11 140 + sp:subject _:b3
201 - ] [ sp:object 141 + ] [ sp:object _:b5 ;
202 - [ sp:varName "nameContractor"^^xsd:string 142 + sp:predicate ep-core:temporalPartOf ;
203 - ] ; 143 + sp:subject _:b3
204 - sp:predicate ep-core:name ; 144 + ] [ sp:object ep-facility:Rig ;
205 - sp:subject _:b11 145 + sp:predicate rdf:type ;
146 + sp:subject _:b5
206 ]) ; 147 ]) ;
207 - sp:where ([ sp:object 148 + sp:where ([ sp:object _:b6 ;
208 - [ sp:varName "nameWellBore"^^xsd:string
209 - ] ;
210 sp:predicate ep-spin-lib:nameWellbore ; 149 sp:predicate ep-spin-lib:nameWellbore ;
211 sp:subject spin:_this 150 sp:subject spin:_this
212 - ] [ sp:object 151 + ] [ sp:object _:b7 ;
213 - [ sp:varName "dTimStart"^^xsd:string
214 - ] ;
215 sp:predicate ddr:dTimStart ; 152 sp:predicate ddr:dTimStart ;
216 sp:subject spin:_this 153 sp:subject spin:_this
217 - ] [ sp:object 154 + ] [ rdf:type sp:NotExists ;
218 - [ sp:varName "wellboreInfo"^^xsd:string 155 + sp:elements ([ sp:object _:b8 ;
219 - ] ;
220 sp:predicate ddr:wellboreInfoRef ; 156 sp:predicate ddr:wellboreInfoRef ;
221 sp:subject spin:_this 157 sp:subject spin:_this
158 + ] [ sp:object _:b9 ;
159 + sp:predicate ddr:rigAliasRef ;
160 + sp:subject _:b8
222 ] [ sp:object 161 ] [ sp:object
223 - [ sp:varName "nameContractor"^^xsd:string 162 + [ sp:varName "code"^^xsd:string
224 - ] ;
225 - sp:predicate ddr:drillContractor ;
226 - sp:subject
227 - [ sp:varName "wellboreInfo"^^xsd:string
228 - ]
229 - ] [ rdf:type sp:Bind ;
230 - sp:expression
231 - [ rdf:type ep-spin-lib:normalizeString ;
232 - sp:arg1 [ sp:varName "nameWellBore"^^xsd:string
233 - ]
234 - ] ;
235 - sp:variable
236 - [ sp:varName "normalizedWellBoreName"^^xsd:string
237 - ]
238 - ] [ rdf:type sp:Bind ;
239 - sp:expression
240 - [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
241 - sp:arg1 [ sp:varName "normalizedWellBoreName"^^xsd:string
242 - ] ;
243 - sp:arg2 [ sp:varName "dTimStart"^^xsd:string
244 - ]
245 - ] ;
246 - sp:variable
247 - [ sp:varName "dailyDrillingActivity"^^xsd:string
248 - ]
249 - ] [ rdf:type sp:Bind ;
250 - sp:expression
251 - [ rdf:type ep-spin-lib:normalizeString ;
252 - sp:arg1 [ sp:varName "nameContractor"^^xsd:string
253 - ]
254 - ] ;
255 - sp:variable
256 - [ sp:varName "normalizedContractorName"^^xsd:string
257 - ]
258 - ] [ rdf:type sp:Bind ;
259 - sp:expression
260 - [ rdf:type rhspin:companyById ;
261 - arg:id [ sp:varName "normalizedContractorName"^^xsd:string
262 - ]
263 - ] ;
264 - sp:variable
265 - [ sp:varName "contractor"^^xsd:string
266 - ]
267 - ])
268 ] ; 163 ] ;
269 - spin:rule
270 - [ rdf:type sp:Construct ;
271 - rdfs:comment "STEP 161 Set NPD name for Rig"^^xsd:string ;
272 - sp:templates ([ sp:object _:b12 ;
273 - sp:predicate ep-core:npdName ;
274 - sp:subject _:b13
275 - ]) ;
276 - sp:where ([ sp:object _:b14 ;
277 - sp:predicate ep-spin-lib:nameWellbore ;
278 - sp:subject spin:_this
279 - ] [ sp:object _:b15 ;
280 - sp:predicate ddr:dTimStart ;
281 - sp:subject spin:_this
282 - ] [ sp:object _:b16 ;
283 - sp:predicate ddr:wellboreInfoRef ;
284 - sp:subject spin:_this
285 - ] [ sp:object _:b17 ;
286 - sp:predicate ddr:rigAliasRef ;
287 - sp:subject _:b16
288 - ] [ sp:object _:b12 ;
289 sp:predicate ddr:name ; 164 sp:predicate ddr:name ;
290 - sp:subject _:b17 165 + sp:subject _:b9
291 ] [ rdf:type sp:Union ; 166 ] [ rdf:type sp:Union ;
292 - sp:elements (([ sp:object "NPD Name"^^xsd:string ; 167 + sp:elements (([ sp:object "NPD Code"^^xsd:string ;
293 sp:predicate ddr:namingSystem ; 168 sp:predicate ddr:namingSystem ;
294 - sp:subject _:b17 169 + sp:subject _:b9
295 - ]) ([ sp:object "NPD name"^^xsd:string ; 170 + ]) ([ sp:object "NPD code"^^xsd:string ;
296 sp:predicate ddr:namingSystem ; 171 sp:predicate ddr:namingSystem ;
297 - sp:subject _:b17 172 + sp:subject _:b9
298 ])) 173 ]))
299 - ] [ sp:object _:b18 ; 174 + ])
300 - sp:predicate ep-activity:onRig ;
301 - sp:subject _:b19
302 - ] [ sp:object _:b13 ;
303 - sp:predicate ep-core:temporalPartOf ;
304 - sp:subject _:b18
305 - ] [ sp:object ep-facility:Rig ;
306 - sp:predicate rdf:type ;
307 - sp:subject _:b13
308 ] [ rdf:type sp:Bind ; 175 ] [ rdf:type sp:Bind ;
309 sp:expression 176 sp:expression
310 [ rdf:type ep-spin-lib:normalizeString ; 177 [ rdf:type ep-spin-lib:normalizeString ;
311 - sp:arg1 _:b14 178 + sp:arg1 _:b6
312 ] ; 179 ] ;
313 - sp:variable _:b20 180 + sp:variable _:b10
314 ] [ rdf:type sp:Bind ; 181 ] [ rdf:type sp:Bind ;
315 sp:expression 182 sp:expression
316 [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; 183 [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
317 - sp:arg1 _:b20 ; 184 + sp:arg1 _:b10 ;
318 - sp:arg2 _:b15 185 + sp:arg2 _:b7
319 ] ; 186 ] ;
320 - sp:variable _:b19 187 + sp:variable _:b4
321 ]) 188 ])
322 ] ; 189 ] ;
323 spin:rule 190 spin:rule
324 [ rdf:type sp:Construct ; 191 [ rdf:type sp:Construct ;
325 - rdfs:comment """STEP 168 Transfer fixedRig 192 + rdfs:comment "STEP 167 Set drill completion date"^^xsd:string ;
326 -This rule processes data from statusInfo, but is here because it must be executed after a rig has been defined."""^^xsd:string ;
327 sp:templates ([ sp:object 193 sp:templates ([ sp:object
328 - [ sp:varName "fixedOrMoveableRigType"^^xsd:string 194 + [ sp:varName "dateDrillComplete"^^xsd:string
329 ] ; 195 ] ;
330 - sp:predicate rdf:type ; 196 + sp:predicate <http://www.reportinghub.no/ep/schema/well#wellBoreCompletedAt> ;
331 sp:subject 197 sp:subject
332 - [ sp:varName "rig"^^xsd:string 198 + [ sp:varName "wellBore"^^xsd:string
333 ] 199 ]
334 ]) ; 200 ]) ;
335 sp:where ([ sp:object 201 sp:where ([ sp:object
...@@ -343,35 +209,35 @@ This rule processes data from statusInfo, but is here because it must be execute ...@@ -343,35 +209,35 @@ This rule processes data from statusInfo, but is here because it must be execute
343 sp:predicate ddr:dTimStart ; 209 sp:predicate ddr:dTimStart ;
344 sp:subject spin:_this 210 sp:subject spin:_this
345 ] [ sp:object 211 ] [ sp:object
346 - [ sp:varName "temporalPartOfARig"^^xsd:string 212 + [ sp:varName "wellboreInfo"^^xsd:string
347 ] ; 213 ] ;
348 - sp:predicate ep-activity:onRig ; 214 + sp:predicate ddr:wellboreInfoRef ;
215 + sp:subject spin:_this
216 + ] [ sp:object
217 + [ sp:varName "dateDrillComplete"^^xsd:string
218 + ] ;
219 + sp:predicate ddr:dateDrillComplete ;
220 + sp:subject
221 + [ sp:varName "wellboreInfo"^^xsd:string
222 + ]
223 + ] [ sp:object
224 + [ sp:varName "temporalPartOfAWellBore"^^xsd:string
225 + ] ;
226 + sp:predicate ep-activity:onWellBore ;
349 sp:subject 227 sp:subject
350 [ sp:varName "dailyDrillingActivity"^^xsd:string 228 [ sp:varName "dailyDrillingActivity"^^xsd:string
351 ] 229 ]
352 ] [ sp:object 230 ] [ sp:object
353 - [ sp:varName "rig"^^xsd:string 231 + [ sp:varName "wellBore"^^xsd:string
354 ] ; 232 ] ;
355 sp:predicate ep-core:temporalPartOf ; 233 sp:predicate ep-core:temporalPartOf ;
356 sp:subject 234 sp:subject
357 - [ sp:varName "temporalPartOfARig"^^xsd:string 235 + [ sp:varName "temporalPartOfAWellBore"^^xsd:string
358 ] 236 ]
359 - ] [ sp:object ep-facility:Rig ; 237 + ] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore> ;
360 sp:predicate rdf:type ; 238 sp:predicate rdf:type ;
361 sp:subject 239 sp:subject
362 - [ sp:varName "rig"^^xsd:string 240 + [ sp:varName "wellBore"^^xsd:string
363 - ]
364 - ] [ sp:object
365 - [ sp:varName "statusInfo"^^xsd:string
366 - ] ;
367 - sp:predicate ddr:statusInfoRef ;
368 - sp:subject spin:_this
369 - ] [ sp:object
370 - [ sp:varName "fixedRig"^^xsd:string
371 - ] ;
372 - sp:predicate ddr:fixedRig ;
373 - sp:subject
374 - [ sp:varName "statusInfo"^^xsd:string
375 ] 241 ]
376 ] [ rdf:type sp:Bind ; 242 ] [ rdf:type sp:Bind ;
377 sp:expression 243 sp:expression
...@@ -393,27 +259,24 @@ This rule processes data from statusInfo, but is here because it must be execute ...@@ -393,27 +259,24 @@ This rule processes data from statusInfo, but is here because it must be execute
393 sp:variable 259 sp:variable
394 [ sp:varName "dailyDrillingActivity"^^xsd:string 260 [ sp:varName "dailyDrillingActivity"^^xsd:string
395 ] 261 ]
396 - ] [ rdf:type sp:Bind ;
397 - sp:expression
398 - [ rdf:type ep-spin-lib:selectFixedOrMoveableRigType ;
399 - sp:arg1 [ sp:varName "fixedRig"^^xsd:string
400 - ]
401 - ] ;
402 - sp:variable
403 - [ sp:varName "fixedOrMoveableRigType"^^xsd:string
404 - ]
405 ]) 262 ])
406 ] ; 263 ] ;
407 spin:rule 264 spin:rule
408 [ rdf:type sp:Construct ; 265 [ rdf:type sp:Construct ;
409 - rdfs:comment "STEP 167 Set drill completion date"^^xsd:string ; 266 + rdfs:comment "STEP 160a Set rig for drilling activity - NPD Code supplied"^^xsd:string ;
410 - sp:templates ([ sp:object 267 + sp:templates ([ sp:object _:b11 ;
411 - [ sp:varName "dateDrillComplete"^^xsd:string 268 + sp:predicate ep-activity:onRig ;
412 - ] ;
413 - sp:predicate <http://www.reportinghub.no/ep/schema/well#wellBoreCompletedAt> ;
414 sp:subject 269 sp:subject
415 - [ sp:varName "wellBore"^^xsd:string 270 + [ sp:varName "dailyDrillingActivity"^^xsd:string
416 ] 271 ]
272 + ] [ sp:object ep-facility:TemporalPartOfARig ;
273 + sp:predicate rdf:type ;
274 + sp:subject _:b11
275 + ] [ sp:object
276 + [ sp:varName "rig"^^xsd:string
277 + ] ;
278 + sp:predicate ep-core:temporalPartOf ;
279 + sp:subject _:b11
417 ]) ; 280 ]) ;
418 sp:where ([ sp:object 281 sp:where ([ sp:object
419 [ sp:varName "nameWellBore"^^xsd:string 282 [ sp:varName "nameWellBore"^^xsd:string
...@@ -431,31 +294,31 @@ This rule processes data from statusInfo, but is here because it must be execute ...@@ -431,31 +294,31 @@ This rule processes data from statusInfo, but is here because it must be execute
431 sp:predicate ddr:wellboreInfoRef ; 294 sp:predicate ddr:wellboreInfoRef ;
432 sp:subject spin:_this 295 sp:subject spin:_this
433 ] [ sp:object 296 ] [ sp:object
434 - [ sp:varName "dateDrillComplete"^^xsd:string 297 + [ sp:varName "rigAlias"^^xsd:string
435 ] ; 298 ] ;
436 - sp:predicate ddr:dateDrillComplete ; 299 + sp:predicate ddr:rigAliasRef ;
437 sp:subject 300 sp:subject
438 [ sp:varName "wellboreInfo"^^xsd:string 301 [ sp:varName "wellboreInfo"^^xsd:string
439 ] 302 ]
440 ] [ sp:object 303 ] [ sp:object
441 - [ sp:varName "temporalPartOfAWellBore"^^xsd:string 304 + [ sp:varName "code"^^xsd:string
442 ] ; 305 ] ;
443 - sp:predicate ep-activity:onWellBore ; 306 + sp:predicate ddr:name ;
444 sp:subject 307 sp:subject
445 - [ sp:varName "dailyDrillingActivity"^^xsd:string 308 + [ sp:varName "rigAlias"^^xsd:string
446 ] 309 ]
447 - ] [ sp:object 310 + ] [ rdf:type sp:Union ;
448 - [ sp:varName "wellBore"^^xsd:string 311 + sp:elements (([ sp:object "NPD Code"^^xsd:string ;
449 - ] ; 312 + sp:predicate ddr:namingSystem ;
450 - sp:predicate ep-core:temporalPartOf ;
451 sp:subject 313 sp:subject
452 - [ sp:varName "temporalPartOfAWellBore"^^xsd:string 314 + [ sp:varName "rigAlias"^^xsd:string
453 ] 315 ]
454 - ] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore> ; 316 + ]) ([ sp:object "NPD code"^^xsd:string ;
455 - sp:predicate rdf:type ; 317 + sp:predicate ddr:namingSystem ;
456 sp:subject 318 sp:subject
457 - [ sp:varName "wellBore"^^xsd:string 319 + [ sp:varName "rigAlias"^^xsd:string
458 ] 320 ]
321 + ]))
459 ] [ rdf:type sp:Bind ; 322 ] [ rdf:type sp:Bind ;
460 sp:expression 323 sp:expression
461 [ rdf:type ep-spin-lib:normalizeString ; 324 [ rdf:type ep-spin-lib:normalizeString ;
...@@ -467,6 +330,15 @@ This rule processes data from statusInfo, but is here because it must be execute ...@@ -467,6 +330,15 @@ This rule processes data from statusInfo, but is here because it must be execute
467 ] 330 ]
468 ] [ rdf:type sp:Bind ; 331 ] [ rdf:type sp:Bind ;
469 sp:expression 332 sp:expression
333 + [ rdf:type ep-spin-lib:normalizeString ;
334 + sp:arg1 [ sp:varName "code"^^xsd:string
335 + ]
336 + ] ;
337 + sp:variable
338 + [ sp:varName "normalizedCode"^^xsd:string
339 + ]
340 + ] [ rdf:type sp:Bind ;
341 + sp:expression
470 [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; 342 [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
471 sp:arg1 [ sp:varName "normalizedWellBoreName"^^xsd:string 343 sp:arg1 [ sp:varName "normalizedWellBoreName"^^xsd:string
472 ] ; 344 ] ;
...@@ -476,24 +348,33 @@ This rule processes data from statusInfo, but is here because it must be execute ...@@ -476,24 +348,33 @@ This rule processes data from statusInfo, but is here because it must be execute
476 sp:variable 348 sp:variable
477 [ sp:varName "dailyDrillingActivity"^^xsd:string 349 [ sp:varName "dailyDrillingActivity"^^xsd:string
478 ] 350 ]
351 + ] [ rdf:type sp:Bind ;
352 + sp:expression
353 + [ rdf:type ep-spin-lib:buildRigURI ;
354 + sp:arg1 [ sp:varName "normalizedCode"^^xsd:string
355 + ]
356 + ] ;
357 + sp:variable
358 + [ sp:varName "rig"^^xsd:string
359 + ]
479 ]) 360 ])
480 ] ; 361 ] ;
481 spin:rule 362 spin:rule
482 [ rdf:type sp:Construct ; 363 [ rdf:type sp:Construct ;
483 - rdfs:comment "STEP 162 Set drilling operator for drilling activity"^^xsd:string ; 364 + rdfs:comment "STEP 163 Set drilling contractor for drilling activity"^^xsd:string ;
484 - sp:templates ([ sp:object _:b21 ; 365 + sp:templates ([ sp:object _:b12 ;
485 - sp:predicate ep-activity:drillingOperator ; 366 + sp:predicate ep-activity:drillingContractor ;
486 sp:subject 367 sp:subject
487 [ sp:varName "dailyDrillingActivity"^^xsd:string 368 [ sp:varName "dailyDrillingActivity"^^xsd:string
488 ] 369 ]
489 ] [ sp:object ep-org:Company ; 370 ] [ sp:object ep-org:Company ;
490 sp:predicate rdf:type ; 371 sp:predicate rdf:type ;
491 - sp:subject _:b21 372 + sp:subject _:b12
492 ] [ sp:object 373 ] [ sp:object
493 - [ sp:varName "nameOperator"^^xsd:string 374 + [ sp:varName "nameContractor"^^xsd:string
494 ] ; 375 ] ;
495 sp:predicate ep-core:name ; 376 sp:predicate ep-core:name ;
496 - sp:subject _:b21 377 + sp:subject _:b12
497 ]) ; 378 ]) ;
498 sp:where ([ sp:object 379 sp:where ([ sp:object
499 [ sp:varName "nameWellBore"^^xsd:string 380 [ sp:varName "nameWellBore"^^xsd:string
...@@ -511,9 +392,9 @@ This rule processes data from statusInfo, but is here because it must be execute ...@@ -511,9 +392,9 @@ This rule processes data from statusInfo, but is here because it must be execute
511 sp:predicate ddr:wellboreInfoRef ; 392 sp:predicate ddr:wellboreInfoRef ;
512 sp:subject spin:_this 393 sp:subject spin:_this
513 ] [ sp:object 394 ] [ sp:object
514 - [ sp:varName "nameOperator"^^xsd:string 395 + [ sp:varName "nameContractor"^^xsd:string
515 ] ; 396 ] ;
516 - sp:predicate ddr:operator ; 397 + sp:predicate ddr:drillContractor ;
517 sp:subject 398 sp:subject
518 [ sp:varName "wellboreInfo"^^xsd:string 399 [ sp:varName "wellboreInfo"^^xsd:string
519 ] 400 ]
...@@ -537,84 +418,94 @@ This rule processes data from statusInfo, but is here because it must be execute ...@@ -537,84 +418,94 @@ This rule processes data from statusInfo, but is here because it must be execute
537 sp:variable 418 sp:variable
538 [ sp:varName "dailyDrillingActivity"^^xsd:string 419 [ sp:varName "dailyDrillingActivity"^^xsd:string
539 ] 420 ]
421 + ] [ rdf:type sp:Bind ;
422 + sp:expression
423 + [ rdf:type ep-spin-lib:normalizeString ;
424 + sp:arg1 [ sp:varName "nameContractor"^^xsd:string
425 + ]
426 + ] ;
427 + sp:variable
428 + [ sp:varName "normalizedContractorName"^^xsd:string
429 + ]
430 + ] [ rdf:type sp:Bind ;
431 + sp:expression
432 + [ rdf:type rhspin:companyById ;
433 + arg:id [ sp:varName "normalizedContractorName"^^xsd:string
434 + ]
435 + ] ;
436 + sp:variable
437 + [ sp:varName "contractor"^^xsd:string
438 + ]
540 ]) 439 ])
541 ] ; 440 ] ;
542 spin:rule 441 spin:rule
543 [ rdf:type sp:Construct ; 442 [ rdf:type sp:Construct ;
544 - rdfs:comment "STEP 160a Set rig for drilling activity - NPD Code supplied"^^xsd:string ; 443 + rdfs:comment "STEP 162 Set drilling operator for drilling activity"^^xsd:string ;
545 - sp:templates ([ sp:object _:b22 ; 444 + sp:templates ([ sp:object _:b13 ;
546 - sp:predicate ep-activity:onRig ; 445 + sp:predicate ep-activity:drillingOperator ;
547 - sp:subject _:b23 446 + sp:subject
548 - ] [ sp:object ep-facility:TemporalPartOfARig ; 447 + [ sp:varName "dailyDrillingActivity"^^xsd:string
549 - sp:predicate rdf:type ; 448 + ]
550 - sp:subject _:b22 449 + ] [ sp:object ep-org:Company ;
551 - ] [ sp:object _:b24 ;
552 - sp:predicate ep-core:temporalPartOf ;
553 - sp:subject _:b22
554 - ] [ sp:object ep-facility:Rig ;
555 sp:predicate rdf:type ; 450 sp:predicate rdf:type ;
556 - sp:subject _:b24 451 + sp:subject _:b13
557 - ] [ sp:object _:b25 ; 452 + ] [ sp:object
558 - sp:predicate ep-core:npdCode ; 453 + [ sp:varName "nameOperator"^^xsd:string
559 - sp:subject _:b24 454 + ] ;
455 + sp:predicate ep-core:name ;
456 + sp:subject _:b13
560 ]) ; 457 ]) ;
561 - sp:where ([ sp:object _:b26 ; 458 + sp:where ([ sp:object
459 + [ sp:varName "nameWellBore"^^xsd:string
460 + ] ;
562 sp:predicate ep-spin-lib:nameWellbore ; 461 sp:predicate ep-spin-lib:nameWellbore ;
563 sp:subject spin:_this 462 sp:subject spin:_this
564 - ] [ sp:object _:b27 ; 463 + ] [ sp:object
464 + [ sp:varName "dTimStart"^^xsd:string
465 + ] ;
565 sp:predicate ddr:dTimStart ; 466 sp:predicate ddr:dTimStart ;
566 sp:subject spin:_this 467 sp:subject spin:_this
567 - ] [ sp:object _:b28 ; 468 + ] [ sp:object
469 + [ sp:varName "wellboreInfo"^^xsd:string
470 + ] ;
568 sp:predicate ddr:wellboreInfoRef ; 471 sp:predicate ddr:wellboreInfoRef ;
569 sp:subject spin:_this 472 sp:subject spin:_this
570 - ] [ sp:object _:b29 ; 473 + ] [ sp:object
571 - sp:predicate ddr:rigAliasRef ; 474 + [ sp:varName "nameOperator"^^xsd:string
572 - sp:subject _:b28
573 - ] [ sp:object _:b25 ;
574 - sp:predicate ddr:name ;
575 - sp:subject _:b29
576 - ] [ rdf:type sp:Union ;
577 - sp:elements (([ sp:object "NPD Code"^^xsd:string ;
578 - sp:predicate ddr:namingSystem ;
579 - sp:subject _:b29
580 - ]) ([ sp:object "NPD code"^^xsd:string ;
581 - sp:predicate ddr:namingSystem ;
582 - sp:subject _:b29
583 - ]))
584 - ] [ rdf:type sp:Bind ;
585 - sp:expression
586 - [ rdf:type ep-spin-lib:normalizeString ;
587 - sp:arg1 _:b26
588 ] ; 475 ] ;
589 - sp:variable _:b30 476 + sp:predicate ddr:operator ;
477 + sp:subject
478 + [ sp:varName "wellboreInfo"^^xsd:string
479 + ]
590 ] [ rdf:type sp:Bind ; 480 ] [ rdf:type sp:Bind ;
591 sp:expression 481 sp:expression
592 [ rdf:type ep-spin-lib:normalizeString ; 482 [ rdf:type ep-spin-lib:normalizeString ;
593 - sp:arg1 _:b25 483 + sp:arg1 [ sp:varName "nameWellBore"^^xsd:string
484 + ]
594 ] ; 485 ] ;
595 - sp:variable _:b31 486 + sp:variable
487 + [ sp:varName "normalizedWellBoreName"^^xsd:string
488 + ]
596 ] [ rdf:type sp:Bind ; 489 ] [ rdf:type sp:Bind ;
597 sp:expression 490 sp:expression
598 [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; 491 [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
599 - sp:arg1 _:b30 ; 492 + sp:arg1 [ sp:varName "normalizedWellBoreName"^^xsd:string
600 - sp:arg2 _:b27
601 ] ; 493 ] ;
602 - sp:variable _:b23 494 + sp:arg2 [ sp:varName "dTimStart"^^xsd:string
603 - ] [ rdf:type sp:Bind ; 495 + ]
604 - sp:expression
605 - [ rdf:type ep-spin-lib:buildRigURI ;
606 - sp:arg1 _:b31
607 ] ; 496 ] ;
608 - sp:variable _:b24 497 + sp:variable
498 + [ sp:varName "dailyDrillingActivity"^^xsd:string
499 + ]
609 ]) 500 ])
610 ] ; 501 ] ;
611 spin:rule 502 spin:rule
612 [ rdf:type sp:Construct ; 503 [ rdf:type sp:Construct ;
613 - rdfs:comment "STEP 166 Set SPUD date"^^xsd:string ; 504 + rdfs:comment "STEP 164 Set preSPUD date"^^xsd:string ;
614 sp:templates ([ sp:object 505 sp:templates ([ sp:object
615 - [ sp:varName "spudDate"^^xsd:string 506 + [ sp:varName "preSpudDate"^^xsd:string
616 ] ; 507 ] ;
617 - sp:predicate <http://www.reportinghub.no/ep/schema/well#wellBoreSpudAt> ; 508 + sp:predicate <http://www.reportinghub.no/ep/schema/well#wellBorePreSpudAt> ;
618 sp:subject 509 sp:subject
619 [ sp:varName "wellBore"^^xsd:string 510 [ sp:varName "wellBore"^^xsd:string
620 ] 511 ]
...@@ -635,9 +526,9 @@ This rule processes data from statusInfo, but is here because it must be execute ...@@ -635,9 +526,9 @@ This rule processes data from statusInfo, but is here because it must be execute
635 sp:predicate ddr:wellboreInfoRef ; 526 sp:predicate ddr:wellboreInfoRef ;
636 sp:subject spin:_this 527 sp:subject spin:_this
637 ] [ sp:object 528 ] [ sp:object
638 - [ sp:varName "spudDate"^^xsd:string 529 + [ sp:varName "preSpudDate"^^xsd:string
639 ] ; 530 ] ;
640 - sp:predicate ddr:dTimSpud ; 531 + sp:predicate ddr:dTimPreSpud ;
641 sp:subject 532 sp:subject
642 [ sp:varName "wellboreInfo"^^xsd:string 533 [ sp:varName "wellboreInfo"^^xsd:string
643 ] 534 ]
...@@ -686,27 +577,27 @@ This rule processes data from statusInfo, but is here because it must be execute ...@@ -686,27 +577,27 @@ This rule processes data from statusInfo, but is here because it must be execute
686 [ rdf:type sp:Construct ; 577 [ rdf:type sp:Construct ;
687 rdfs:comment """STEP 169 Transfer elevKelly 578 rdfs:comment """STEP 169 Transfer elevKelly
688 This rule processes data from statusInfo, but is here because it must be executed after a rig has been defined."""^^xsd:string ; 579 This rule processes data from statusInfo, but is here because it must be executed after a rig has been defined."""^^xsd:string ;
689 - sp:templates ([ sp:object _:b32 ; 580 + sp:templates ([ sp:object _:b14 ;
690 sp:predicate ep-core:hasPart ; 581 sp:predicate ep-core:hasPart ;
691 sp:subject 582 sp:subject
692 [ sp:varName "temporalPartOfARig"^^xsd:string 583 [ sp:varName "temporalPartOfARig"^^xsd:string
693 ] 584 ]
694 ] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#KellyBushing> ; 585 ] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#KellyBushing> ;
695 sp:predicate rdf:type ; 586 sp:predicate rdf:type ;
696 - sp:subject _:b32 587 + sp:subject _:b14
697 - ] [ sp:object _:b33 ; 588 + ] [ sp:object _:b15 ;
698 sp:predicate <http://www.reportinghub.no/ep/schema/equipment#elevationOfKellyBushing> ; 589 sp:predicate <http://www.reportinghub.no/ep/schema/equipment#elevationOfKellyBushing> ;
699 - sp:subject _:b32 590 + sp:subject _:b14
700 ] [ sp:object ep-core:Length ; 591 ] [ sp:object ep-core:Length ;
701 sp:predicate rdf:type ; 592 sp:predicate rdf:type ;
702 - sp:subject _:b33 593 + sp:subject _:b15
703 ] [ sp:object 594 ] [ sp:object
704 [ sp:varName "real"^^xsd:string 595 [ sp:varName "real"^^xsd:string
705 ] ; 596 ] ;
706 sp:predicate 597 sp:predicate
707 [ sp:varName "lengthScale"^^xsd:string 598 [ sp:varName "lengthScale"^^xsd:string
708 ] ; 599 ] ;
709 - sp:subject _:b33 600 + sp:subject _:b15
710 ]) ; 601 ]) ;
711 sp:where ([ sp:object 602 sp:where ([ sp:object
712 [ sp:varName "nameWellBore"^^xsd:string 603 [ sp:varName "nameWellBore"^^xsd:string
...@@ -784,11 +675,95 @@ This rule processes data from statusInfo, but is here because it must be execute ...@@ -784,11 +675,95 @@ This rule processes data from statusInfo, but is here because it must be execute
784 ] ; 675 ] ;
785 spin:rule 676 spin:rule
786 [ rdf:type sp:Construct ; 677 [ rdf:type sp:Construct ;
787 - rdfs:comment "STEP 164 Set preSPUD date"^^xsd:string ; 678 + rdfs:comment """STEP 168 Transfer fixedRig
679 +This rule processes data from statusInfo, but is here because it must be executed after a rig has been defined."""^^xsd:string ;
788 sp:templates ([ sp:object 680 sp:templates ([ sp:object
789 - [ sp:varName "preSpudDate"^^xsd:string 681 + [ sp:varName "fixedOrMoveableRigType"^^xsd:string
790 ] ; 682 ] ;
791 - sp:predicate <http://www.reportinghub.no/ep/schema/well#wellBorePreSpudAt> ; 683 + sp:predicate rdf:type ;
684 + sp:subject
685 + [ sp:varName "rig"^^xsd:string
686 + ]
687 + ]) ;
688 + sp:where ([ sp:object
689 + [ sp:varName "nameWellBore"^^xsd:string
690 + ] ;
691 + sp:predicate ep-spin-lib:nameWellbore ;
692 + sp:subject spin:_this
693 + ] [ sp:object
694 + [ sp:varName "dTimStart"^^xsd:string
695 + ] ;
696 + sp:predicate ddr:dTimStart ;
697 + sp:subject spin:_this
698 + ] [ sp:object
699 + [ sp:varName "temporalPartOfARig"^^xsd:string
700 + ] ;
701 + sp:predicate ep-activity:onRig ;
702 + sp:subject
703 + [ sp:varName "dailyDrillingActivity"^^xsd:string
704 + ]
705 + ] [ sp:object
706 + [ sp:varName "rig"^^xsd:string
707 + ] ;
708 + sp:predicate ep-core:temporalPartOf ;
709 + sp:subject
710 + [ sp:varName "temporalPartOfARig"^^xsd:string
711 + ]
712 + ] [ sp:object ep-facility:Rig ;
713 + sp:predicate rdf:type ;
714 + sp:subject
715 + [ sp:varName "rig"^^xsd:string
716 + ]
717 + ] [ sp:object
718 + [ sp:varName "statusInfo"^^xsd:string
719 + ] ;
720 + sp:predicate ddr:statusInfoRef ;
721 + sp:subject spin:_this
722 + ] [ sp:object
723 + [ sp:varName "fixedRig"^^xsd:string
724 + ] ;
725 + sp:predicate ddr:fixedRig ;
726 + sp:subject
727 + [ sp:varName "statusInfo"^^xsd:string
728 + ]
729 + ] [ rdf:type sp:Bind ;
730 + sp:expression
731 + [ rdf:type ep-spin-lib:normalizeString ;
732 + sp:arg1 [ sp:varName "nameWellBore"^^xsd:string
733 + ]
734 + ] ;
735 + sp:variable
736 + [ sp:varName "normalizedWellBoreName"^^xsd:string
737 + ]
738 + ] [ rdf:type sp:Bind ;
739 + sp:expression
740 + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
741 + sp:arg1 [ sp:varName "normalizedWellBoreName"^^xsd:string
742 + ] ;
743 + sp:arg2 [ sp:varName "dTimStart"^^xsd:string
744 + ]
745 + ] ;
746 + sp:variable
747 + [ sp:varName "dailyDrillingActivity"^^xsd:string
748 + ]
749 + ] [ rdf:type sp:Bind ;
750 + sp:expression
751 + [ rdf:type ep-spin-lib:selectFixedOrMoveableRigType ;
752 + sp:arg1 [ sp:varName "fixedRig"^^xsd:string
753 + ]
754 + ] ;
755 + sp:variable
756 + [ sp:varName "fixedOrMoveableRigType"^^xsd:string
757 + ]
758 + ])
759 + ] ;
760 + spin:rule
761 + [ rdf:type sp:Construct ;
762 + rdfs:comment "STEP 166 Set SPUD date"^^xsd:string ;
763 + sp:templates ([ sp:object
764 + [ sp:varName "spudDate"^^xsd:string
765 + ] ;
766 + sp:predicate <http://www.reportinghub.no/ep/schema/well#wellBoreSpudAt> ;
792 sp:subject 767 sp:subject
793 [ sp:varName "wellBore"^^xsd:string 768 [ sp:varName "wellBore"^^xsd:string
794 ] 769 ]
...@@ -809,9 +784,9 @@ This rule processes data from statusInfo, but is here because it must be execute ...@@ -809,9 +784,9 @@ This rule processes data from statusInfo, but is here because it must be execute
809 sp:predicate ddr:wellboreInfoRef ; 784 sp:predicate ddr:wellboreInfoRef ;
810 sp:subject spin:_this 785 sp:subject spin:_this
811 ] [ sp:object 786 ] [ sp:object
812 - [ sp:varName "preSpudDate"^^xsd:string 787 + [ sp:varName "spudDate"^^xsd:string
813 ] ; 788 ] ;
814 - sp:predicate ddr:dTimPreSpud ; 789 + sp:predicate ddr:dTimSpud ;
815 sp:subject 790 sp:subject
816 [ sp:varName "wellboreInfo"^^xsd:string 791 [ sp:varName "wellboreInfo"^^xsd:string
817 ] 792 ]
...@@ -857,84 +832,31 @@ This rule processes data from statusInfo, but is here because it must be execute ...@@ -857,84 +832,31 @@ This rule processes data from statusInfo, but is here because it must be execute
857 ]) 832 ])
858 ] . 833 ] .
859 834
860 -[] rdf:type sp:Modify . 835 +_:b4 sp:varName "dailyDrillingActivity"^^xsd:string .
861 836
862 -[] rdf:type fn:starts-with . 837 +_:b6 sp:varName "nameWellBore"^^xsd:string .
863 -
864 -[] rdf:type smf:trim .
865 -
866 -[] rdf:type smf:regex .
867 -
868 -_:b8 sp:varName "normalizedWellBoreName"^^xsd:string .
869 -
870 -_:b7 sp:varName "rigAlias"^^xsd:string .
871 -
872 -_:b6 sp:varName "wellboreInfo"^^xsd:string .
873 -
874 -_:b5 sp:varName "dTimStart"^^xsd:string .
875 -
876 -_:b4 sp:varName "nameWellBore"^^xsd:string .
877 -
878 -_:b2 sp:varName "dailyDrillingActivity"^^xsd:string .
879 -
880 -_:b31
881 - sp:varName "normalizedCode"^^xsd:string .
882 -
883 -_:b30
884 - sp:varName "normalizedWellBoreName"^^xsd:string .
885 -
886 -_:b29
887 - sp:varName "rigAlias"^^xsd:string .
888 838
889 -_:b28 839 +_:b7 sp:varName "dTimStart"^^xsd:string .
890 - sp:varName "wellboreInfo"^^xsd:string .
891 840
892 -_:b27 841 +_:b8 sp:varName "wellboreInfo"^^xsd:string .
893 - sp:varName "dTimStart"^^xsd:string .
894 842
895 -_:b26 843 +_:b9 sp:varName "rigAlias"^^xsd:string .
896 - sp:varName "nameWellBore"^^xsd:string .
897 844
898 -_:b25 845 +_:b10
899 - sp:varName "code"^^xsd:string .
900 -
901 -_:b24
902 - sp:varName "rig"^^xsd:string .
903 -
904 -_:b23
905 - sp:varName "dailyDrillingActivity"^^xsd:string .
906 -
907 -_:b20
908 sp:varName "normalizedWellBoreName"^^xsd:string . 846 sp:varName "normalizedWellBoreName"^^xsd:string .
909 847
910 -_:b19 848 +[] rdf:type sp:Modify .
911 - sp:varName "dailyDrillingActivity"^^xsd:string .
912 -
913 -_:b18
914 - sp:varName "temporalPartOfARig"^^xsd:string .
915 -
916 -_:b17
917 - sp:varName "rigAlias"^^xsd:string .
918 -
919 -_:b16
920 - sp:varName "wellboreInfo"^^xsd:string .
921 -
922 -_:b15
923 - sp:varName "dTimStart"^^xsd:string .
924 -
925 -_:b14
926 - sp:varName "nameWellBore"^^xsd:string .
927 849
928 -_:b13 850 +[] rdf:type fn:starts-with .
929 - sp:varName "rig"^^xsd:string .
930 851
931 -_:b12 852 +[] rdf:type smf:trim .
932 - sp:varName "name"^^xsd:string .
933 853
934 -([]) . 854 +[] rdf:type smf:regex .
935 855
936 ([]) . 856 ([]) .
937 857
938 ([] [] [ rdf:type sp:Filter 858 ([] [] [ rdf:type sp:Filter
939 ] [ rdf:type sp:Bind 859 ] [ rdf:type sp:Bind
940 ]) . 860 ]) .
861 +
862 +([]) .
......
1 -# Saved by TopBraid on Fri Oct 14 12:02:45 BST 2011
2 # baseURI: http://www.reportinghub.no/np/schema/1.0/npd 1 # baseURI: http://www.reportinghub.no/np/schema/1.0/npd
3 -# imports: http://www.reportinghub.no/ep/schema/1.0/organization
4 -# imports: http://www.reportinghub.no/ep/schema/1.0/well
5 # imports: http://www.reportinghub.no/ep/schema/1.0/core 2 # imports: http://www.reportinghub.no/ep/schema/1.0/core
6 # imports: http://www.reportinghub.no/ep/schema/1.0/facility 3 # imports: http://www.reportinghub.no/ep/schema/1.0/facility
4 +# imports: http://www.reportinghub.no/ep/schema/1.0/organization
5 +# imports: http://www.reportinghub.no/ep/schema/1.0/well
7 6
8 @prefix facility: <http://www.reportinghub.no/ep/schema/1.0/facility#> . 7 @prefix facility: <http://www.reportinghub.no/ep/schema/1.0/facility#> .
9 @prefix npd: <http://www.reportinghub.no/np/schema/npd#> . 8 @prefix npd: <http://www.reportinghub.no/np/schema/npd#> .
...@@ -31,13 +30,13 @@ ...@@ -31,13 +30,13 @@
31 30
32 <http://www.reportinghub.no/np/schema/1.0/npd> 31 <http://www.reportinghub.no/np/schema/1.0/npd>
33 rdf:type owl:Ontology ; 32 rdf:type owl:Ontology ;
34 - owl:imports <http://www.reportinghub.no/ep/schema/1.0/organization> , <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/well> ; 33 + owl:imports <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/schema/1.0/organization> ;
35 owl:versionInfo "0.1.0"^^xsd:string . 34 owl:versionInfo "0.1.0"^^xsd:string .
36 35
37 npd:BusinessArrangementArea 36 npd:BusinessArrangementArea
38 rdf:type owl:Class ; 37 rdf:type owl:Class ;
39 rdfs:comment "A business arrangement area in this context is an area which is a result of unitisations, sliding scale rules or other business arrangements which have altered the terms of the original production licence."^^xsd:string ; 38 rdfs:comment "A business arrangement area in this context is an area which is a result of unitisations, sliding scale rules or other business arrangements which have altered the terms of the original production licence."^^xsd:string ;
40 - rdfs:subClassOf npd:Owner , <http://www.reportinghub.no/ep/schema/core#PhysicalThing> , npd:NPDIndividual . 39 + rdfs:subClassOf npd:NPDIndividual , <http://www.reportinghub.no/ep/schema/core#PhysicalThing> , npd:Owner .
41 40
42 npd:DAS_DecidedByTheLicensees 41 npd:DAS_DecidedByTheLicensees
43 rdf:type npd:DiscoveryActivityStatus ; 42 rdf:type npd:DiscoveryActivityStatus ;
...@@ -290,7 +289,7 @@ npd:LS_Inactive ...@@ -290,7 +289,7 @@ npd:LS_Inactive
290 npd:Licence 289 npd:Licence
291 rdf:type owl:Class ; 290 rdf:type owl:Class ;
292 rdfs:comment "Production licences are granted by the Ministry of Petroleum and Energy. Transfer of a production licence or participating interest in a production licence must be approved by the ministry."^^xsd:string ; 291 rdfs:comment "Production licences are granted by the Ministry of Petroleum and Energy. Transfer of a production licence or participating interest in a production licence must be approved by the ministry."^^xsd:string ;
293 - rdfs:subClassOf npd:Owner , <http://www.reportinghub.no/ep/schema/core#PhysicalThing> , npd:NPDIndividual . 292 + rdfs:subClassOf npd:NPDIndividual , <http://www.reportinghub.no/ep/schema/core#PhysicalThing> , npd:Owner .
294 293
295 npd:LicenceStatus 294 npd:LicenceStatus
296 rdf:type owl:Class ; 295 rdf:type owl:Class ;
...@@ -325,7 +324,7 @@ npd:NPDIndividual ...@@ -325,7 +324,7 @@ npd:NPDIndividual
325 324
326 npd:OperatingCompany 325 npd:OperatingCompany
327 rdf:type owl:Class ; 326 rdf:type owl:Class ;
328 - rdfs:subClassOf npd:NPDIndividual , <http://www.reportinghub.no/ep/schema/organization#Company> . 327 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/organization#Company> , npd:NPDIndividual .
329 328
330 npd:Owner 329 npd:Owner
331 rdf:type owl:Class ; 330 rdf:type owl:Class ;
...@@ -365,7 +364,7 @@ npd:SlidingScaleBAA ...@@ -365,7 +364,7 @@ npd:SlidingScaleBAA
365 npd:TUF 364 npd:TUF
366 rdf:type owl:Class ; 365 rdf:type owl:Class ;
367 rdfs:comment "TUF is an abbreviation for \"Transportation and Utilization Facilities\"."^^xsd:string ; 366 rdfs:comment "TUF is an abbreviation for \"Transportation and Utilization Facilities\"."^^xsd:string ;
368 - rdfs:subClassOf npd:FixedFacilityParent , <http://www.reportinghub.no/ep/schema/facility#Facility> . 367 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/facility#Facility> , npd:FixedFacilityParent .
369 368
370 npd:TUFPart 369 npd:TUFPart
371 rdf:type owl:Class ; 370 rdf:type owl:Class ;
...@@ -543,6 +542,12 @@ npd:endDate ...@@ -543,6 +542,12 @@ npd:endDate
543 rdfs:domain <http://www.reportinghub.no/ep/schema/core#PhysicalThing> ; 542 rdfs:domain <http://www.reportinghub.no/ep/schema/core#PhysicalThing> ;
544 rdfs:range xsd:date . 543 rdfs:range xsd:date .
545 544
545 +npd:facilityFunctions
546 + rdf:type owl:DatatypeProperty ;
547 + rdfs:comment "corresponds to Functions field in both the fixed and moveable facility tables"^^xsd:string ;
548 + rdfs:domain <http://www.reportinghub.no/ep/schema/facility#Facility> ;
549 + rdfs:range xsd:string .
550 +
546 npd:facilityKind 551 npd:facilityKind
547 rdf:type owl:DatatypeProperty ; 552 rdf:type owl:DatatypeProperty ;
548 rdfs:comment "corresponds to Kind field in both the fixed and moveable facility tables"^^xsd:string ; 553 rdfs:comment "corresponds to Kind field in both the fixed and moveable facility tables"^^xsd:string ;
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
16 let:completeDate="{# SELECT ?completeDate WHERE {?wb ep-well:wellBoreCompletedAt ?completeDate}}" 16 let:completeDate="{# SELECT ?completeDate WHERE {?wb ep-well:wellBoreCompletedAt ?completeDate}}"
17 > 17 >
18 18
19 - <h1>Summary report Wellbore: {# SELECT ?wbName WHERE {?wb ep-core:npdCode ?wbName}}</h1> 19 + <h1>Summary report Wellbore: {# SELECT ?wbName WHERE {?wb npd:name ?wbName}}</h1>
20 <div>End time: <ui:if ui:condition="{= bound(?activityEnd) }">{= spif:dateFormat(?activityEnd, 'yyyy-MM-dd HH:mm') }</ui:if></div> 20 <div>End time: <ui:if ui:condition="{= bound(?activityEnd) }">{= spif:dateFormat(?activityEnd, 'yyyy-MM-dd HH:mm') }</ui:if></div>
21 <hr /> 21 <hr />
22 <table> 22 <table>
...@@ -24,10 +24,10 @@ ...@@ -24,10 +24,10 @@
24 <tr> 24 <tr>
25 <td class="ddrSummaryLeft"> 25 <td class="ddrSummaryLeft">
26 <rhswp:NameValuePair arg:name="Report Number:" arg:value="{# SELECT ?repNum WHERE {?report ep-report:dailyDrillingReportNumber ?repNum}}" /> 26 <rhswp:NameValuePair arg:name="Report Number:" arg:value="{# SELECT ?repNum WHERE {?report ep-report:dailyDrillingReportNumber ?repNum}}" />
27 - <rhswp:NameValuePair arg:name="Wellbore:" arg:value="{# SELECT ?wbName WHERE {?wb ep-core:npdCode ?wbName}}" /> 27 + <rhswp:NameValuePair arg:name="Wellbore:" arg:value="{# SELECT ?wbName WHERE {?wb npd:name ?wbName}}" />
28 <rhswp:NameValuePair arg:name="Status:" arg:value="{# SELECT ?repTypeName WHERE {?report a ?repType . ?repType rdfs:label ?repTypeName}}" /> 28 <rhswp:NameValuePair arg:name="Status:" arg:value="{# SELECT ?repTypeName WHERE {?report a ?repType . ?repType rdfs:label ?repTypeName}}" />
29 <rhswp:NameValuePair arg:name="Operator:" arg:value="{# SELECT ?operatorName WHERE {?activity ep-activity:drillingOperator ?operator . ?operator ep-core:name ?operatorName }}" /> 29 <rhswp:NameValuePair arg:name="Operator:" arg:value="{# SELECT ?operatorName WHERE {?activity ep-activity:drillingOperator ?operator . ?operator ep-core:name ?operatorName }}" />
30 - <rhswp:NameValuePair arg:name="Rig name:" arg:value="{# SELECT ?rigName WHERE {?rig ep-core:npdName ?rigName}}" /> 30 + <rhswp:NameValuePair arg:name="Rig name:" arg:value="{# SELECT ?rigName WHERE {?rig npd:name ?rigName}}" />
31 <rhswp:NameValuePair arg:name="Spud date:" arg:value="{= IF(bound(?spudDate), spif:dateFormat(?spudDate, 'yyyy-MM-dd'), ?unbound) }" /> 31 <rhswp:NameValuePair arg:name="Spud date:" arg:value="{= IF(bound(?spudDate), spif:dateFormat(?spudDate, 'yyyy-MM-dd'), ?unbound) }" />
32 <rhswp:NameValuePair arg:name="Elevation RKB-MSL m:" arg:value="{# SELECT ?kellyElevVMeas WHERE {?activity ep-activity:onRig ?rigState . ?rigState ep-core:hasPart ?kellyBushing . ?kellyBushing a ep-eqt:KellyBushing . ?kellyBushing ep-eqt:elevationOfKellyBushing ?kellyElev . ?kellyElev ep-core:metre ?kellyElevMeas}}" /> 32 <rhswp:NameValuePair arg:name="Elevation RKB-MSL m:" arg:value="{# SELECT ?kellyElevVMeas WHERE {?activity ep-activity:onRig ?rigState . ?rigState ep-core:hasPart ?kellyBushing . ?kellyBushing a ep-eqt:KellyBushing . ?kellyBushing ep-eqt:elevationOfKellyBushing ?kellyElev . ?kellyElev ep-core:metre ?kellyElevMeas}}" />
33 <rhswp:NameValuePair arg:name="Tight well:" arg:value="{# SELECT ?wbTightTypeLabel WHERE { ?statusActivityWb a ?wbTightType . ?wbTightType a ep-well:WellBoreTightnessType . ?wbTightType rdfs:label ?wbTightTypeLabel} }" /> 33 <rhswp:NameValuePair arg:name="Tight well:" arg:value="{# SELECT ?wbTightTypeLabel WHERE { ?statusActivityWb a ?wbTightType . ?wbTightType a ep-well:WellBoreTightnessType . ?wbTightType rdfs:label ?wbTightTypeLabel} }" />
...@@ -46,10 +46,10 @@ ...@@ -46,10 +46,10 @@
46 <rhswp:NameValuePair arg:name="Period:" arg:value="{= fn:concat(spif:dateFormat(?activityStart, 'yyyy-MM-dd HH:mm'), ' - ', spif:dateFormat(?activityEnd, 'yyyy-MM-dd HH:mm')) }" /> 46 <rhswp:NameValuePair arg:name="Period:" arg:value="{= fn:concat(spif:dateFormat(?activityStart, 'yyyy-MM-dd HH:mm'), ' - ', spif:dateFormat(?activityEnd, 'yyyy-MM-dd HH:mm')) }" />
47 47
48 48
49 - <rhswp:NameValuePair arg:name="Wellbore Id:" arg:value="{# SELECT DISTINCT ?wbID WHERE {?wb ep-core:npdNumber ?wbID}}" /> 49 + <rhswp:NameValuePair arg:name="Wellbore Id:" arg:value="{# SELECT DISTINCT ?wbID WHERE {?wb npd:id ?wbID}}" />
50 <rhswp:NameValuePair arg:name="Created date:" arg:value="{= IF(bound(?createdAt), spif:dateFormat(?createdAt, 'yyyy-MM-dd HH:mm'), ?unbound) }" /> 50 <rhswp:NameValuePair arg:name="Created date:" arg:value="{= IF(bound(?createdAt), spif:dateFormat(?createdAt, 'yyyy-MM-dd HH:mm'), ?unbound) }" />
51 <rhswp:NameValuePair arg:name="Drilling contractor:" arg:value="{# SELECT ?contractorName WHERE {?activity ep-activity:drillingContractor ?contractor . ?contractor ep-core:name ?contractorName}}" /> 51 <rhswp:NameValuePair arg:name="Drilling contractor:" arg:value="{# SELECT ?contractorName WHERE {?activity ep-activity:drillingContractor ?contractor . ?contractor ep-core:name ?contractorName}}" />
52 - <rhswp:NameValuePair arg:name="NPD Rig Id:" arg:value="{= spl:object(?rig, ep-core:npdCode) }" /> 52 + <rhswp:NameValuePair arg:name="NPD Rig Id:" arg:value="{= spl:object(?rig, npd:id) }" />
53 <rhswp:NameValuePair arg:name="Date Well Complete:" arg:value="{= IF(bound(?completeDate), spif:dateFormat(?completeDate, 'yyyy-MM-dd'), ?unbound) }" /> 53 <rhswp:NameValuePair arg:name="Date Well Complete:" arg:value="{= IF(bound(?completeDate), spif:dateFormat(?completeDate, 'yyyy-MM-dd'), ?unbound) }" />
54 <rhswp:NameValuePair arg:name="Water depth MSL m:" arg:value="{# SELECT ?waterDepthVal WHERE {?activity ep-activity:onRig ?rigState . ?rigState a ep-fac:TemporalPartOfARig . ?rigState ep-core:hasPart ?water . ?water a ep-fac:SurroundingWater . ?water ep-fac:depthOfSurroundingWater ?waterDepth . ?waterDepth ep-core:metre ?waterDepthVal}}" /> 54 <rhswp:NameValuePair arg:name="Water depth MSL m:" arg:value="{# SELECT ?waterDepthVal WHERE {?activity ep-activity:onRig ?rigState . ?rigState a ep-fac:TemporalPartOfARig . ?rigState ep-core:hasPart ?water . ?water a ep-fac:SurroundingWater . ?water ep-fac:depthOfSurroundingWater ?waterDepth . ?waterDepth ep-core:metre ?waterDepthVal}}" />
55 <rhswp:NameValuePair arg:name="High pressure - High temperature:" arg:value="{# SELECT ?wbPTTypeLabel WHERE { ?statusActivityWb a ?wbPTType . ?wbPTType a ep-well:WellBoreHphtType . ?wbPTType rdfs:label ?wbPTTypeLabel} }" /> 55 <rhswp:NameValuePair arg:name="High pressure - High temperature:" arg:value="{# SELECT ?wbPTTypeLabel WHERE { ?statusActivityWb a ?wbPTType . ?wbPTType a ep-well:WellBoreHphtType . ?wbPTType rdfs:label ?wbPTTypeLabel} }" />
......