Holger Knublauch

Made DDR import and SPIN functions tolerate new user-defined datatypes

Deleted -temporaryForTesting, now uses correct NPD resources
1 -# Saved by TopBraid on Sun Sep 25 18:53:17 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/report 2 +# imports: http://spinrdf.org/spin
4 -# imports: http://www.witsml.org/schemas/1series 3 +# imports: http://www.reportinghub.no/ep/schema/1.0/activity
5 -# imports: http://www.reportinghub.no/ep/schema/1.0/core
6 -# imports: http://www.reportinghub.no/ep/schema/1.0/well
7 # 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
8 # imports: http://www.reportinghub.no/ep/schema/1.0/equipment 6 # imports: http://www.reportinghub.no/ep/schema/1.0/equipment
9 -# imports: http://www.reportinghub.no/ep/schema/1.0/activity 7 +# imports: http://www.reportinghub.no/ep/schema/1.0/report
8 +# imports: http://www.reportinghub.no/ep/schema/1.0/well
10 # imports: http://www.reportinghub.no/ep/schema/drilling-equipment-type 9 # imports: http://www.reportinghub.no/ep/schema/drilling-equipment-type
11 -# imports: http://spinrdf.org/spin
12 # imports: http://www.reportinghub.no/spin/rh 10 # imports: http://www.reportinghub.no/spin/rh
11 +# imports: http://www.witsml.org/schemas/1series
13 12
14 @prefix activity-purpose: <http://www.reportinghub.no/ep/schema/1.0/activity-purpose#> . 13 @prefix activity-purpose: <http://www.reportinghub.no/ep/schema/1.0/activity-purpose#> .
15 @prefix ddr: <http://www.witsml.org/schemas/1series#> . 14 @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/report> , <http://www.reportinghub.no/ep/schema/drilling-equipment-type> , <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> ; 31 + owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/schema/1.0/activity-purpose> , <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/report> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/ep/schema/drilling-equipment-type> , <http://www.reportinghub.no/spin/rh> , <http://www.witsml.org/schemas/1series> ;
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
...@@ -484,30 +483,13 @@ ep-spin-lib:buildTemporalPartOfAWellBoreURI ...@@ -484,30 +483,13 @@ ep-spin-lib:buildTemporalPartOfAWellBoreURI
484 ]) 483 ])
485 ] . 484 ] .
486 485
487 -ep-spin-lib:buildTemporaryWellBoreURI
488 - rdf:type spin:Function ;
489 - rdfs:label "build temporary WellBore URI"^^xsd:string ;
490 - rdfs:subClassOf ep-spin-lib:Function ;
491 - spin:body
492 - [ rdf:type sp:Select ;
493 - sp:resultVariables (_:b22) ;
494 - sp:where ([ rdf:type sp:Bind ;
495 - sp:expression
496 - [ rdf:type ep-spin-lib:buildURI ;
497 - sp:arg1 "https://www.reportinghub.no/ep/data/WellBore-temporaryForTesting/" ;
498 - sp:arg2 spin:_arg1
499 - ] ;
500 - sp:variable _:b22
501 - ])
502 - ] .
503 -
504 ep-spin-lib:buildURI 486 ep-spin-lib:buildURI
505 rdf:type spin:Function ; 487 rdf:type spin:Function ;
506 rdfs:label "build URI"^^xsd:string ; 488 rdfs:label "build URI"^^xsd:string ;
507 rdfs:subClassOf ep-spin-lib:Function ; 489 rdfs:subClassOf ep-spin-lib:Function ;
508 spin:body 490 spin:body
509 [ rdf:type sp:Select ; 491 [ rdf:type sp:Select ;
510 - sp:resultVariables (_:b23) ; 492 + sp:resultVariables (_:b22) ;
511 sp:where ([ rdf:type sp:Bind ; 493 sp:where ([ rdf:type sp:Bind ;
512 sp:expression 494 sp:expression
513 [ rdf:type sp:iri ; 495 [ rdf:type sp:iri ;
...@@ -516,17 +498,17 @@ ep-spin-lib:buildURI ...@@ -516,17 +498,17 @@ ep-spin-lib:buildURI
516 sp:arg2 spin:_arg2 498 sp:arg2 spin:_arg2
517 ] 499 ]
518 ] ; 500 ] ;
519 - sp:variable _:b23 501 + sp:variable _:b22
520 ]) 502 ])
521 ] ; 503 ] ;
522 spin:constraint 504 spin:constraint
523 [ rdf:type spl:Argument ; 505 [ rdf:type spl:Argument ;
524 - spl:predicate sp:arg1 ; 506 + spl:predicate sp:arg2 ;
525 spl:valueType xsd:string 507 spl:valueType xsd:string
526 ] ; 508 ] ;
527 spin:constraint 509 spin:constraint
528 [ rdf:type spl:Argument ; 510 [ rdf:type spl:Argument ;
529 - spl:predicate sp:arg2 ; 511 + spl:predicate sp:arg1 ;
530 spl:valueType xsd:string 512 spl:valueType xsd:string
531 ] . 513 ] .
532 514
...@@ -536,7 +518,7 @@ ep-spin-lib:buildWellBoreDirectionalSurveyURI ...@@ -536,7 +518,7 @@ ep-spin-lib:buildWellBoreDirectionalSurveyURI
536 rdfs:subClassOf ep-spin-lib:Function ; 518 rdfs:subClassOf ep-spin-lib:Function ;
537 spin:body 519 spin:body
538 [ rdf:type sp:Select ; 520 [ rdf:type sp:Select ;
539 - sp:resultVariables (_:b24) ; 521 + sp:resultVariables (_:b23) ;
540 sp:where ([ rdf:type sp:Bind ; 522 sp:where ([ rdf:type sp:Bind ;
541 sp:expression 523 sp:expression
542 [ rdf:type ep-spin-lib:buildURI ; 524 [ rdf:type ep-spin-lib:buildURI ;
...@@ -549,7 +531,7 @@ ep-spin-lib:buildWellBoreDirectionalSurveyURI ...@@ -549,7 +531,7 @@ ep-spin-lib:buildWellBoreDirectionalSurveyURI
549 sp:arg5 spin:_arg3 531 sp:arg5 spin:_arg3
550 ] 532 ]
551 ] ; 533 ] ;
552 - sp:variable _:b24 534 + sp:variable _:b23
553 ]) 535 ])
554 ] . 536 ] .
555 537
...@@ -559,7 +541,7 @@ ep-spin-lib:buildWellBoreDrillBitRunURI ...@@ -559,7 +541,7 @@ ep-spin-lib:buildWellBoreDrillBitRunURI
559 rdfs:subClassOf ep-spin-lib:Function ; 541 rdfs:subClassOf ep-spin-lib:Function ;
560 spin:body 542 spin:body
561 [ rdf:type sp:Select ; 543 [ rdf:type sp:Select ;
562 - sp:resultVariables (_:b25) ; 544 + sp:resultVariables (_:b24) ;
563 sp:where ([ rdf:type sp:Bind ; 545 sp:where ([ rdf:type sp:Bind ;
564 sp:expression 546 sp:expression
565 [ rdf:type ep-spin-lib:buildURI ; 547 [ rdf:type ep-spin-lib:buildURI ;
...@@ -572,7 +554,7 @@ ep-spin-lib:buildWellBoreDrillBitRunURI ...@@ -572,7 +554,7 @@ ep-spin-lib:buildWellBoreDrillBitRunURI
572 sp:arg5 spin:_arg3 554 sp:arg5 spin:_arg3
573 ] 555 ]
574 ] ; 556 ] ;
575 - sp:variable _:b25 557 + sp:variable _:b24
576 ]) 558 ])
577 ] . 559 ] .
578 560
...@@ -582,7 +564,7 @@ ep-spin-lib:buildWellBoreDrillBitURI ...@@ -582,7 +564,7 @@ ep-spin-lib:buildWellBoreDrillBitURI
582 rdfs:subClassOf ep-spin-lib:Function ; 564 rdfs:subClassOf ep-spin-lib:Function ;
583 spin:body 565 spin:body
584 [ rdf:type sp:Select ; 566 [ rdf:type sp:Select ;
585 - sp:resultVariables (_:b26) ; 567 + sp:resultVariables (_:b25) ;
586 sp:where ([ rdf:type sp:Bind ; 568 sp:where ([ rdf:type sp:Bind ;
587 sp:expression 569 sp:expression
588 [ rdf:type ep-spin-lib:buildURI ; 570 [ rdf:type ep-spin-lib:buildURI ;
...@@ -593,7 +575,7 @@ ep-spin-lib:buildWellBoreDrillBitURI ...@@ -593,7 +575,7 @@ ep-spin-lib:buildWellBoreDrillBitURI
593 sp:arg3 spin:_arg2 575 sp:arg3 spin:_arg2
594 ] 576 ]
595 ] ; 577 ] ;
596 - sp:variable _:b26 578 + sp:variable _:b25
597 ]) 579 ])
598 ] . 580 ] .
599 581
...@@ -603,7 +585,7 @@ ep-spin-lib:buildWellBoreKickOffURI ...@@ -603,7 +585,7 @@ ep-spin-lib:buildWellBoreKickOffURI
603 rdfs:subClassOf ep-spin-lib:Function ; 585 rdfs:subClassOf ep-spin-lib:Function ;
604 spin:body 586 spin:body
605 [ rdf:type sp:Select ; 587 [ rdf:type sp:Select ;
606 - sp:resultVariables (_:b27) ; 588 + sp:resultVariables (_:b26) ;
607 sp:where ([ rdf:type sp:Bind ; 589 sp:where ([ rdf:type sp:Bind ;
608 sp:expression 590 sp:expression
609 [ rdf:type ep-spin-lib:buildURI ; 591 [ rdf:type ep-spin-lib:buildURI ;
...@@ -612,7 +594,7 @@ ep-spin-lib:buildWellBoreKickOffURI ...@@ -612,7 +594,7 @@ ep-spin-lib:buildWellBoreKickOffURI
612 sp:arg1 spin:_arg1 594 sp:arg1 spin:_arg1
613 ] 595 ]
614 ] ; 596 ] ;
615 - sp:variable _:b27 597 + sp:variable _:b26
616 ]) 598 ])
617 ] . 599 ] .
618 600
...@@ -622,7 +604,7 @@ ep-spin-lib:buildWellBoreLogRunURI ...@@ -622,7 +604,7 @@ ep-spin-lib:buildWellBoreLogRunURI
622 rdfs:subClassOf ep-spin-lib:Function ; 604 rdfs:subClassOf ep-spin-lib:Function ;
623 spin:body 605 spin:body
624 [ rdf:type sp:Select ; 606 [ rdf:type sp:Select ;
625 - sp:resultVariables (_:b28) ; 607 + sp:resultVariables (_:b27) ;
626 sp:where ([ rdf:type sp:Bind ; 608 sp:where ([ rdf:type sp:Bind ;
627 sp:expression 609 sp:expression
628 [ rdf:type ep-spin-lib:buildURI ; 610 [ rdf:type ep-spin-lib:buildURI ;
...@@ -635,7 +617,7 @@ ep-spin-lib:buildWellBoreLogRunURI ...@@ -635,7 +617,7 @@ ep-spin-lib:buildWellBoreLogRunURI
635 sp:arg5 spin:_arg3 617 sp:arg5 spin:_arg3
636 ] 618 ]
637 ] ; 619 ] ;
638 - sp:variable _:b28 620 + sp:variable _:b27
639 ]) 621 ])
640 ] . 622 ] .
641 623
...@@ -645,7 +627,7 @@ ep-spin-lib:buildWellCementJobURI ...@@ -645,7 +627,7 @@ ep-spin-lib:buildWellCementJobURI
645 rdfs:subClassOf ep-spin-lib:Function ; 627 rdfs:subClassOf ep-spin-lib:Function ;
646 spin:body 628 spin:body
647 [ rdf:type sp:Select ; 629 [ rdf:type sp:Select ;
648 - sp:resultVariables (_:b29) ; 630 + sp:resultVariables (_:b28) ;
649 sp:where ([ rdf:type sp:Bind ; 631 sp:where ([ rdf:type sp:Bind ;
650 sp:expression 632 sp:expression
651 [ rdf:type ep-spin-lib:buildURI ; 633 [ rdf:type ep-spin-lib:buildURI ;
...@@ -656,7 +638,7 @@ ep-spin-lib:buildWellCementJobURI ...@@ -656,7 +638,7 @@ ep-spin-lib:buildWellCementJobURI
656 sp:arg3 spin:_arg2 638 sp:arg3 spin:_arg2
657 ] 639 ]
658 ] ; 640 ] ;
659 - sp:variable _:b29 641 + sp:variable _:b28
660 ]) 642 ])
661 ] . 643 ] .
662 644
...@@ -666,7 +648,7 @@ ep-spin-lib:buildWellControlIncidentURI ...@@ -666,7 +648,7 @@ ep-spin-lib:buildWellControlIncidentURI
666 rdfs:subClassOf ep-spin-lib:Function ; 648 rdfs:subClassOf ep-spin-lib:Function ;
667 spin:body 649 spin:body
668 [ rdf:type sp:Select ; 650 [ rdf:type sp:Select ;
669 - sp:resultVariables (_:b30) ; 651 + sp:resultVariables (_:b29) ;
670 sp:where ([ rdf:type sp:Bind ; 652 sp:where ([ rdf:type sp:Bind ;
671 sp:expression 653 sp:expression
672 [ rdf:type ep-spin-lib:buildURI ; 654 [ rdf:type ep-spin-lib:buildURI ;
...@@ -677,7 +659,7 @@ ep-spin-lib:buildWellControlIncidentURI ...@@ -677,7 +659,7 @@ ep-spin-lib:buildWellControlIncidentURI
677 sp:arg3 spin:_arg2 659 sp:arg3 spin:_arg2
678 ] 660 ]
679 ] ; 661 ] ;
680 - sp:variable _:b30 662 + sp:variable _:b29
681 ]) 663 ])
682 ] . 664 ] .
683 665
...@@ -687,7 +669,7 @@ ep-spin-lib:buildWellStimulationURI ...@@ -687,7 +669,7 @@ ep-spin-lib:buildWellStimulationURI
687 rdfs:subClassOf ep-spin-lib:Function ; 669 rdfs:subClassOf ep-spin-lib:Function ;
688 spin:body 670 spin:body
689 [ rdf:type sp:Select ; 671 [ rdf:type sp:Select ;
690 - sp:resultVariables (_:b31) ; 672 + sp:resultVariables (_:b30) ;
691 sp:where ([ rdf:type sp:Bind ; 673 sp:where ([ rdf:type sp:Bind ;
692 sp:expression 674 sp:expression
693 [ rdf:type ep-spin-lib:buildURI ; 675 [ rdf:type ep-spin-lib:buildURI ;
...@@ -698,7 +680,7 @@ ep-spin-lib:buildWellStimulationURI ...@@ -698,7 +680,7 @@ ep-spin-lib:buildWellStimulationURI
698 sp:arg3 spin:_arg2 680 sp:arg3 spin:_arg2
699 ] 681 ]
700 ] ; 682 ] ;
701 - sp:variable _:b31 683 + sp:variable _:b30
702 ]) 684 ])
703 ] . 685 ] .
704 686
...@@ -708,7 +690,7 @@ ep-spin-lib:buildWellTestURI ...@@ -708,7 +690,7 @@ ep-spin-lib:buildWellTestURI
708 rdfs:subClassOf ep-spin-lib:Function ; 690 rdfs:subClassOf ep-spin-lib:Function ;
709 spin:body 691 spin:body
710 [ rdf:type sp:Select ; 692 [ rdf:type sp:Select ;
711 - sp:resultVariables (_:b32) ; 693 + sp:resultVariables (_:b31) ;
712 sp:where ([ rdf:type sp:Bind ; 694 sp:where ([ rdf:type sp:Bind ;
713 sp:expression 695 sp:expression
714 [ rdf:type ep-spin-lib:buildURI ; 696 [ rdf:type ep-spin-lib:buildURI ;
...@@ -719,7 +701,7 @@ ep-spin-lib:buildWellTestURI ...@@ -719,7 +701,7 @@ ep-spin-lib:buildWellTestURI
719 sp:arg3 spin:_arg2 701 sp:arg3 spin:_arg2
720 ] 702 ]
721 ] ; 703 ] ;
722 - sp:variable _:b32 704 + sp:variable _:b31
723 ]) 705 ])
724 ] . 706 ] .
725 707
...@@ -729,7 +711,7 @@ ep-spin-lib:buildWirelineFormationTestURI ...@@ -729,7 +711,7 @@ ep-spin-lib:buildWirelineFormationTestURI
729 rdfs:subClassOf ep-spin-lib:Function ; 711 rdfs:subClassOf ep-spin-lib:Function ;
730 spin:body 712 spin:body
731 [ rdf:type sp:Select ; 713 [ rdf:type sp:Select ;
732 - sp:resultVariables (_:b33) ; 714 + sp:resultVariables (_:b32) ;
733 sp:where ([ rdf:type sp:Bind ; 715 sp:where ([ rdf:type sp:Bind ;
734 sp:expression 716 sp:expression
735 [ rdf:type ep-spin-lib:buildURI ; 717 [ rdf:type ep-spin-lib:buildURI ;
...@@ -740,7 +722,7 @@ ep-spin-lib:buildWirelineFormationTestURI ...@@ -740,7 +722,7 @@ ep-spin-lib:buildWirelineFormationTestURI
740 sp:arg3 spin:_arg2 722 sp:arg3 spin:_arg2
741 ] 723 ]
742 ] ; 724 ] ;
743 - sp:variable _:b33 725 + sp:variable _:b32
744 ]) 726 ])
745 ] . 727 ] .
746 728
...@@ -750,7 +732,7 @@ ep-spin-lib:normalizeString ...@@ -750,7 +732,7 @@ ep-spin-lib:normalizeString
750 rdfs:subClassOf ep-spin-lib:Function ; 732 rdfs:subClassOf ep-spin-lib:Function ;
751 spin:body 733 spin:body
752 [ rdf:type sp:Select ; 734 [ rdf:type sp:Select ;
753 - sp:resultVariables (_:b34) ; 735 + sp:resultVariables (_:b33) ;
754 sp:where ([ rdf:type sp:Bind ; 736 sp:where ([ rdf:type sp:Bind ;
755 sp:expression 737 sp:expression
756 [ rdf:type smf:regex ; 738 [ rdf:type smf:regex ;
...@@ -758,67 +740,67 @@ ep-spin-lib:normalizeString ...@@ -758,67 +740,67 @@ ep-spin-lib:normalizeString
758 sp:arg2 "\\((.*)\\)" ; 740 sp:arg2 "\\((.*)\\)" ;
759 sp:arg3 "" 741 sp:arg3 ""
760 ] ; 742 ] ;
761 - sp:variable _:b35 743 + sp:variable _:b34
762 ] [ rdf:type sp:Bind ; 744 ] [ rdf:type sp:Bind ;
763 sp:expression 745 sp:expression
764 [ rdf:type smf:trim ; 746 [ rdf:type smf:trim ;
765 - sp:arg1 _:b35 747 + sp:arg1 _:b34
766 ] ; 748 ] ;
767 - sp:variable _:b36 749 + sp:variable _:b35
768 ] [ rdf:type sp:Bind ; 750 ] [ rdf:type sp:Bind ;
769 sp:expression 751 sp:expression
770 [ rdf:type smf:encodeURL ; 752 [ rdf:type smf:encodeURL ;
771 - sp:arg1 _:b36 753 + sp:arg1 _:b35
772 ] ; 754 ] ;
773 - sp:variable _:b37 755 + sp:variable _:b36
774 ] [ rdf:type sp:Bind ; 756 ] [ rdf:type sp:Bind ;
775 sp:expression 757 sp:expression
776 [ rdf:type smf:regex ; 758 [ rdf:type smf:regex ;
777 - sp:arg1 _:b37 ; 759 + sp:arg1 _:b36 ;
778 sp:arg2 "%2F" ; 760 sp:arg2 "%2F" ;
779 sp:arg3 "_" 761 sp:arg3 "_"
780 ] ; 762 ] ;
781 - sp:variable _:b38 763 + sp:variable _:b37
782 ] [ rdf:type sp:Bind ; 764 ] [ rdf:type sp:Bind ;
783 sp:expression 765 sp:expression
784 [ rdf:type smf:regex ; 766 [ rdf:type smf:regex ;
785 - sp:arg1 _:b38 ; 767 + sp:arg1 _:b37 ;
786 sp:arg2 "%[0-9A-F][0-9A-F]" ; 768 sp:arg2 "%[0-9A-F][0-9A-F]" ;
787 sp:arg3 "" 769 sp:arg3 ""
788 ] ; 770 ] ;
789 - sp:variable _:b39 771 + sp:variable _:b38
790 ] [ rdf:type sp:Bind ; 772 ] [ rdf:type sp:Bind ;
791 sp:expression 773 sp:expression
792 [ rdf:type smf:regex ; 774 [ rdf:type smf:regex ;
793 - sp:arg1 _:b39 ; 775 + sp:arg1 _:b38 ;
794 sp:arg2 "\\+" ; 776 sp:arg2 "\\+" ;
795 sp:arg3 "_" 777 sp:arg3 "_"
796 ] ; 778 ] ;
797 - sp:variable _:b40 779 + sp:variable _:b39
798 ] [ rdf:type sp:Bind ; 780 ] [ rdf:type sp:Bind ;
799 sp:expression 781 sp:expression
800 [ rdf:type smf:regex ; 782 [ rdf:type smf:regex ;
801 - sp:arg1 _:b40 ; 783 + sp:arg1 _:b39 ;
802 sp:arg2 "_+" ; 784 sp:arg2 "_+" ;
803 sp:arg3 "_" 785 sp:arg3 "_"
804 ] ; 786 ] ;
805 - sp:variable _:b41 787 + sp:variable _:b40
806 ] [ rdf:type sp:Bind ; 788 ] [ rdf:type sp:Bind ;
807 sp:expression 789 sp:expression
808 [ rdf:type smf:regex ; 790 [ rdf:type smf:regex ;
809 - sp:arg1 _:b41 ; 791 + sp:arg1 _:b40 ;
810 sp:arg2 "\\*" ; 792 sp:arg2 "\\*" ;
811 sp:arg3 "" 793 sp:arg3 ""
812 ] ; 794 ] ;
813 - sp:variable _:b42 795 + sp:variable _:b41
814 ] [ rdf:type sp:Bind ; 796 ] [ rdf:type sp:Bind ;
815 sp:expression 797 sp:expression
816 [ rdf:type xsd:string ; 798 [ rdf:type xsd:string ;
817 sp:arg1 [ rdf:type smf:upperCase ; 799 sp:arg1 [ rdf:type smf:upperCase ;
818 - sp:arg1 _:b42 800 + sp:arg1 _:b41
819 ] 801 ]
820 ] ; 802 ] ;
821 - sp:variable _:b34 803 + sp:variable _:b33
822 ]) 804 ])
823 ] ; 805 ] ;
824 spin:constraint 806 spin:constraint
...@@ -833,7 +815,7 @@ ep-spin-lib:selectActivitySuccessType ...@@ -833,7 +815,7 @@ ep-spin-lib:selectActivitySuccessType
833 rdfs:subClassOf ep-spin-lib:Function ; 815 rdfs:subClassOf ep-spin-lib:Function ;
834 spin:body 816 spin:body
835 [ rdf:type sp:Select ; 817 [ rdf:type sp:Select ;
836 - sp:resultVariables (_:b43) ; 818 + sp:resultVariables (_:b42) ;
837 sp:where ([ rdf:type sp:Bind ; 819 sp:where ([ rdf:type sp:Bind ;
838 sp:expression 820 sp:expression
839 [ rdf:type sp:if ; 821 [ rdf:type sp:if ;
...@@ -844,7 +826,7 @@ ep-spin-lib:selectActivitySuccessType ...@@ -844,7 +826,7 @@ ep-spin-lib:selectActivitySuccessType
844 sp:arg2 <http://www.reportinghub.no/ep/schema/activity#SuccessfulActivity> ; 826 sp:arg2 <http://www.reportinghub.no/ep/schema/activity#SuccessfulActivity> ;
845 sp:arg3 <http://www.reportinghub.no/ep/schema/activity#FailedActivity> 827 sp:arg3 <http://www.reportinghub.no/ep/schema/activity#FailedActivity>
846 ] ; 828 ] ;
847 - sp:variable _:b43 829 + sp:variable _:b42
848 ]) 830 ])
849 ] . 831 ] .
850 832
...@@ -854,7 +836,7 @@ ep-spin-lib:selectCasingRoleType ...@@ -854,7 +836,7 @@ ep-spin-lib:selectCasingRoleType
854 rdfs:subClassOf ep-spin-lib:Function ; 836 rdfs:subClassOf ep-spin-lib:Function ;
855 spin:body 837 spin:body
856 [ rdf:type sp:Select ; 838 [ rdf:type sp:Select ;
857 - sp:resultVariables (_:b44) ; 839 + sp:resultVariables (_:b43) ;
858 sp:where ([ rdf:type sp:Bind ; 840 sp:where ([ rdf:type sp:Bind ;
859 sp:expression 841 sp:expression
860 [ rdf:type sp:if ; 842 [ rdf:type sp:if ;
...@@ -879,7 +861,7 @@ ep-spin-lib:selectCasingRoleType ...@@ -879,7 +861,7 @@ ep-spin-lib:selectCasingRoleType
879 ] 861 ]
880 ] 862 ]
881 ] ; 863 ] ;
882 - sp:variable _:b44 864 + sp:variable _:b43
883 ]) 865 ])
884 ] . 866 ] .
885 867
...@@ -889,7 +871,7 @@ ep-spin-lib:selectCementingFluidReturnType ...@@ -889,7 +871,7 @@ ep-spin-lib:selectCementingFluidReturnType
889 rdfs:subClassOf ep-spin-lib:Function ; 871 rdfs:subClassOf ep-spin-lib:Function ;
890 spin:body 872 spin:body
891 [ rdf:type sp:Select ; 873 [ rdf:type sp:Select ;
892 - sp:resultVariables (_:b45) ; 874 + sp:resultVariables (_:b44) ;
893 sp:where ([ rdf:type sp:Bind ; 875 sp:where ([ rdf:type sp:Bind ;
894 sp:expression 876 sp:expression
895 [ rdf:type sp:if ; 877 [ rdf:type sp:if ;
...@@ -900,7 +882,7 @@ ep-spin-lib:selectCementingFluidReturnType ...@@ -900,7 +882,7 @@ ep-spin-lib:selectCementingFluidReturnType
900 sp:arg2 <http://www.reportinghub.no/ep/schema/activity#WellCementPumpingWithFluidReturn> ; 882 sp:arg2 <http://www.reportinghub.no/ep/schema/activity#WellCementPumpingWithFluidReturn> ;
901 sp:arg3 <http://www.reportinghub.no/ep/schema/activity#WellCementPumpingWithoutFluidReturn> 883 sp:arg3 <http://www.reportinghub.no/ep/schema/activity#WellCementPumpingWithoutFluidReturn>
902 ] ; 884 ] ;
903 - sp:variable _:b45 885 + sp:variable _:b44
904 ]) 886 ])
905 ] . 887 ] .
906 888
...@@ -910,7 +892,7 @@ ep-spin-lib:selectComponentType ...@@ -910,7 +892,7 @@ ep-spin-lib:selectComponentType
910 rdfs:subClassOf ep-spin-lib:Function ; 892 rdfs:subClassOf ep-spin-lib:Function ;
911 spin:body 893 spin:body
912 [ rdf:type sp:Select ; 894 [ rdf:type sp:Select ;
913 - sp:resultVariables (_:b46) ; 895 + sp:resultVariables (_:b45) ;
914 sp:where ([ rdf:type sp:Bind ; 896 sp:where ([ rdf:type sp:Bind ;
915 sp:expression 897 sp:expression
916 [ rdf:type sp:if ; 898 [ rdf:type sp:if ;
...@@ -949,7 +931,7 @@ ep-spin-lib:selectComponentType ...@@ -949,7 +931,7 @@ ep-spin-lib:selectComponentType
949 ] 931 ]
950 ] 932 ]
951 ] ; 933 ] ;
952 - sp:variable _:b46 934 + sp:variable _:b45
953 ]) 935 ])
954 ] . 936 ] .
955 937
...@@ -959,7 +941,7 @@ ep-spin-lib:selectDailyDrillingReportType ...@@ -959,7 +941,7 @@ ep-spin-lib:selectDailyDrillingReportType
959 rdfs:subClassOf ep-spin-lib:Function ; 941 rdfs:subClassOf ep-spin-lib:Function ;
960 spin:body 942 spin:body
961 [ rdf:type sp:Select ; 943 [ rdf:type sp:Select ;
962 - sp:resultVariables (_:b47) ; 944 + sp:resultVariables (_:b46) ;
963 sp:where ([ rdf:type sp:Bind ; 945 sp:where ([ rdf:type sp:Bind ;
964 sp:expression 946 sp:expression
965 [ rdf:type sp:if ; 947 [ rdf:type sp:if ;
...@@ -977,7 +959,7 @@ ep-spin-lib:selectDailyDrillingReportType ...@@ -977,7 +959,7 @@ ep-spin-lib:selectDailyDrillingReportType
977 sp:arg3 <http://www.reportinghub.no/ep/schema/report#FinalDailyDrillingReport> 959 sp:arg3 <http://www.reportinghub.no/ep/schema/report#FinalDailyDrillingReport>
978 ] 960 ]
979 ] ; 961 ] ;
980 - sp:variable _:b47 962 + sp:variable _:b46
981 ]) 963 ])
982 ] . 964 ] .
983 965
...@@ -987,7 +969,7 @@ ep-spin-lib:selectDensityScale ...@@ -987,7 +969,7 @@ ep-spin-lib:selectDensityScale
987 rdfs:subClassOf ep-spin-lib:Function ; 969 rdfs:subClassOf ep-spin-lib:Function ;
988 spin:body 970 spin:body
989 [ rdf:type sp:Select ; 971 [ rdf:type sp:Select ;
990 - sp:resultVariables (_:b48) ; 972 + sp:resultVariables (_:b47) ;
991 sp:where ([ rdf:type sp:Bind ; 973 sp:where ([ rdf:type sp:Bind ;
992 sp:expression 974 sp:expression
993 [ rdf:type sp:if ; 975 [ rdf:type sp:if ;
...@@ -1005,7 +987,7 @@ ep-spin-lib:selectDensityScale ...@@ -1005,7 +987,7 @@ ep-spin-lib:selectDensityScale
1005 sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale> 987 sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
1006 ] 988 ]
1007 ] ; 989 ] ;
1008 - sp:variable _:b48 990 + sp:variable _:b47
1009 ]) 991 ])
1010 ] . 992 ] .
1011 993
...@@ -1015,7 +997,7 @@ ep-spin-lib:selectDrillingActivityOutcomeType ...@@ -1015,7 +997,7 @@ ep-spin-lib:selectDrillingActivityOutcomeType
1015 rdfs:subClassOf ep-spin-lib:Function ; 997 rdfs:subClassOf ep-spin-lib:Function ;
1016 spin:body 998 spin:body
1017 [ rdf:type sp:Select ; 999 [ rdf:type sp:Select ;
1018 - sp:resultVariables (_:b49) ; 1000 + sp:resultVariables (_:b48) ;
1019 sp:where ([ rdf:type sp:Bind ; 1001 sp:where ([ rdf:type sp:Bind ;
1020 sp:expression 1002 sp:expression
1021 [ rdf:type sp:if ; 1003 [ rdf:type sp:if ;
...@@ -1082,7 +1064,7 @@ ep-spin-lib:selectDrillingActivityOutcomeType ...@@ -1082,7 +1064,7 @@ ep-spin-lib:selectDrillingActivityOutcomeType
1082 ] 1064 ]
1083 ] 1065 ]
1084 ] ; 1066 ] ;
1085 - sp:variable _:b49 1067 + sp:variable _:b48
1086 ]) 1068 ])
1087 ] . 1069 ] .
1088 1070
...@@ -1092,7 +1074,7 @@ ep-spin-lib:selectDrillingActivityPurposeType ...@@ -1092,7 +1074,7 @@ ep-spin-lib:selectDrillingActivityPurposeType
1092 rdfs:subClassOf ep-spin-lib:Function ; 1074 rdfs:subClassOf ep-spin-lib:Function ;
1093 spin:body 1075 spin:body
1094 [ rdf:type sp:Select ; 1076 [ rdf:type sp:Select ;
1095 - sp:resultVariables (_:b50) ; 1077 + sp:resultVariables (_:b49) ;
1096 sp:where ([ rdf:type sp:Bind ; 1078 sp:where ([ rdf:type sp:Bind ;
1097 sp:expression 1079 sp:expression
1098 [ rdf:type sp:if ; 1080 [ rdf:type sp:if ;
...@@ -1677,7 +1659,7 @@ ep-spin-lib:selectDrillingActivityPurposeType ...@@ -1677,7 +1659,7 @@ ep-spin-lib:selectDrillingActivityPurposeType
1677 ] 1659 ]
1678 ] 1660 ]
1679 ] ; 1661 ] ;
1680 - sp:variable _:b50 1662 + sp:variable _:b49
1681 ]) 1663 ])
1682 ] . 1664 ] .
1683 1665
...@@ -1687,7 +1669,7 @@ ep-spin-lib:selectDrillingActivityTypeAccordingToEquipmentType ...@@ -1687,7 +1669,7 @@ ep-spin-lib:selectDrillingActivityTypeAccordingToEquipmentType
1687 rdfs:subClassOf ep-spin-lib:Function ; 1669 rdfs:subClassOf ep-spin-lib:Function ;
1688 spin:body 1670 spin:body
1689 [ rdf:type sp:Select ; 1671 [ rdf:type sp:Select ;
1690 - sp:resultVariables (_:b51) ; 1672 + sp:resultVariables (_:b50) ;
1691 sp:where ([ rdf:type sp:Bind ; 1673 sp:where ([ rdf:type sp:Bind ;
1692 sp:expression 1674 sp:expression
1693 [ rdf:type sp:if ; 1675 [ rdf:type sp:if ;
...@@ -1726,7 +1708,7 @@ ep-spin-lib:selectDrillingActivityTypeAccordingToEquipmentType ...@@ -1726,7 +1708,7 @@ ep-spin-lib:selectDrillingActivityTypeAccordingToEquipmentType
1726 ] 1708 ]
1727 ] 1709 ]
1728 ] ; 1710 ] ;
1729 - sp:variable _:b51 1711 + sp:variable _:b50
1730 ]) 1712 ])
1731 ] . 1713 ] .
1732 1714
...@@ -1736,7 +1718,7 @@ ep-spin-lib:selectDrillingEquipmentType ...@@ -1736,7 +1718,7 @@ ep-spin-lib:selectDrillingEquipmentType
1736 rdfs:subClassOf ep-spin-lib:Function ; 1718 rdfs:subClassOf ep-spin-lib:Function ;
1737 spin:body 1719 spin:body
1738 [ rdf:type sp:Select ; 1720 [ rdf:type sp:Select ;
1739 - sp:resultVariables (_:b52) ; 1721 + sp:resultVariables (_:b51) ;
1740 sp:where ([ rdf:type sp:Bind ; 1722 sp:where ([ rdf:type sp:Bind ;
1741 sp:expression 1723 sp:expression
1742 [ rdf:type sp:if ; 1724 [ rdf:type sp:if ;
...@@ -1957,7 +1939,7 @@ ep-spin-lib:selectDrillingEquipmentType ...@@ -1957,7 +1939,7 @@ ep-spin-lib:selectDrillingEquipmentType
1957 ] 1939 ]
1958 ] 1940 ]
1959 ] ; 1941 ] ;
1960 - sp:variable _:b52 1942 + sp:variable _:b51
1961 ]) 1943 ])
1962 ] . 1944 ] .
1963 1945
...@@ -1967,7 +1949,7 @@ ep-spin-lib:selectFixedOrMoveableRigType ...@@ -1967,7 +1949,7 @@ ep-spin-lib:selectFixedOrMoveableRigType
1967 rdfs:subClassOf ep-spin-lib:Function ; 1949 rdfs:subClassOf ep-spin-lib:Function ;
1968 spin:body 1950 spin:body
1969 [ rdf:type sp:Select ; 1951 [ rdf:type sp:Select ;
1970 - sp:resultVariables (_:b53) ; 1952 + sp:resultVariables (_:b52) ;
1971 sp:where ([ rdf:type sp:Bind ; 1953 sp:where ([ rdf:type sp:Bind ;
1972 sp:expression 1954 sp:expression
1973 [ rdf:type sp:if ; 1955 [ rdf:type sp:if ;
...@@ -1978,7 +1960,7 @@ ep-spin-lib:selectFixedOrMoveableRigType ...@@ -1978,7 +1960,7 @@ ep-spin-lib:selectFixedOrMoveableRigType
1978 sp:arg2 <http://www.reportinghub.no/ep/schema/facility#FixedRig> ; 1960 sp:arg2 <http://www.reportinghub.no/ep/schema/facility#FixedRig> ;
1979 sp:arg3 <http://www.reportinghub.no/ep/schema/facility#MoveableRig> 1961 sp:arg3 <http://www.reportinghub.no/ep/schema/facility#MoveableRig>
1980 ] ; 1962 ] ;
1981 - sp:variable _:b53 1963 + sp:variable _:b52
1982 ]) 1964 ])
1983 ] . 1965 ] .
1984 1966
...@@ -1988,7 +1970,7 @@ ep-spin-lib:selectFluidType ...@@ -1988,7 +1970,7 @@ ep-spin-lib:selectFluidType
1988 rdfs:subClassOf ep-spin-lib:Function ; 1970 rdfs:subClassOf ep-spin-lib:Function ;
1989 spin:body 1971 spin:body
1990 [ rdf:type sp:Select ; 1972 [ rdf:type sp:Select ;
1991 - sp:resultVariables (_:b54) ; 1973 + sp:resultVariables (_:b53) ;
1992 sp:where ([ rdf:type sp:Bind ; 1974 sp:where ([ rdf:type sp:Bind ;
1993 sp:expression 1975 sp:expression
1994 [ rdf:type sp:if ; 1976 [ rdf:type sp:if ;
...@@ -2020,7 +2002,7 @@ ep-spin-lib:selectFluidType ...@@ -2020,7 +2002,7 @@ ep-spin-lib:selectFluidType
2020 ] 2002 ]
2021 ] 2003 ]
2022 ] ; 2004 ] ;
2023 - sp:variable _:b54 2005 + sp:variable _:b53
2024 ]) 2006 ])
2025 ] . 2007 ] .
2026 2008
...@@ -2030,7 +2012,7 @@ ep-spin-lib:selectGasReadingType ...@@ -2030,7 +2012,7 @@ ep-spin-lib:selectGasReadingType
2030 rdfs:subClassOf ep-spin-lib:Function ; 2012 rdfs:subClassOf ep-spin-lib:Function ;
2031 spin:body 2013 spin:body
2032 [ rdf:type sp:Select ; 2014 [ rdf:type sp:Select ;
2033 - sp:resultVariables (_:b55) ; 2015 + sp:resultVariables (_:b54) ;
2034 sp:where ([ rdf:type sp:Bind ; 2016 sp:where ([ rdf:type sp:Bind ;
2035 sp:expression 2017 sp:expression
2036 [ rdf:type sp:if ; 2018 [ rdf:type sp:if ;
...@@ -2097,7 +2079,7 @@ ep-spin-lib:selectGasReadingType ...@@ -2097,7 +2079,7 @@ ep-spin-lib:selectGasReadingType
2097 ] 2079 ]
2098 ] 2080 ]
2099 ] ; 2081 ] ;
2100 - sp:variable _:b55 2082 + sp:variable _:b54
2101 ]) 2083 ])
2102 ] . 2084 ] .
2103 2085
...@@ -2107,7 +2089,7 @@ ep-spin-lib:selectInnerBarrelType ...@@ -2107,7 +2089,7 @@ ep-spin-lib:selectInnerBarrelType
2107 rdfs:subClassOf ep-spin-lib:Function ; 2089 rdfs:subClassOf ep-spin-lib:Function ;
2108 spin:body 2090 spin:body
2109 [ rdf:type sp:Select ; 2091 [ rdf:type sp:Select ;
2110 - sp:resultVariables (_:b56) ; 2092 + sp:resultVariables (_:b55) ;
2111 sp:where ([ rdf:type sp:Bind ; 2093 sp:where ([ rdf:type sp:Bind ;
2112 sp:expression 2094 sp:expression
2113 [ rdf:type sp:if ; 2095 [ rdf:type sp:if ;
...@@ -2139,7 +2121,7 @@ ep-spin-lib:selectInnerBarrelType ...@@ -2139,7 +2121,7 @@ ep-spin-lib:selectInnerBarrelType
2139 ] 2121 ]
2140 ] 2122 ]
2141 ] ; 2123 ] ;
2142 - sp:variable _:b56 2124 + sp:variable _:b55
2143 ]) 2125 ])
2144 ] . 2126 ] .
2145 2127
...@@ -2149,7 +2131,7 @@ ep-spin-lib:selectLabelOfSystem ...@@ -2149,7 +2131,7 @@ ep-spin-lib:selectLabelOfSystem
2149 rdfs:subClassOf ep-spin-lib:Function ; 2131 rdfs:subClassOf ep-spin-lib:Function ;
2150 spin:body 2132 spin:body
2151 [ rdf:type sp:Select ; 2133 [ rdf:type sp:Select ;
2152 - sp:resultVariables (_:b57) ; 2134 + sp:resultVariables (_:b56) ;
2153 sp:where ([ rdf:type sp:Bind ; 2135 sp:where ([ rdf:type sp:Bind ;
2154 sp:expression 2136 sp:expression
2155 [ rdf:type sp:if ; 2137 [ rdf:type sp:if ;
...@@ -2195,7 +2177,7 @@ ep-spin-lib:selectLabelOfSystem ...@@ -2195,7 +2177,7 @@ ep-spin-lib:selectLabelOfSystem
2195 ] 2177 ]
2196 ] 2178 ]
2197 ] ; 2179 ] ;
2198 - sp:variable _:b57 2180 + sp:variable _:b56
2199 ]) 2181 ])
2200 ] . 2182 ] .
2201 2183
...@@ -2205,7 +2187,7 @@ ep-spin-lib:selectLengthScale ...@@ -2205,7 +2187,7 @@ ep-spin-lib:selectLengthScale
2205 rdfs:subClassOf ep-spin-lib:Function ; 2187 rdfs:subClassOf ep-spin-lib:Function ;
2206 spin:body 2188 spin:body
2207 [ rdf:type sp:Select ; 2189 [ rdf:type sp:Select ;
2208 - sp:resultVariables (_:b58) ; 2190 + sp:resultVariables (_:b57) ;
2209 sp:where ([ rdf:type sp:Bind ; 2191 sp:where ([ rdf:type sp:Bind ;
2210 sp:expression 2192 sp:expression
2211 [ rdf:type sp:if ; 2193 [ rdf:type sp:if ;
...@@ -2286,7 +2268,7 @@ ep-spin-lib:selectLengthScale ...@@ -2286,7 +2268,7 @@ ep-spin-lib:selectLengthScale
2286 ] 2268 ]
2287 ] 2269 ]
2288 ] ; 2270 ] ;
2289 - sp:variable _:b58 2271 + sp:variable _:b57
2290 ]) 2272 ])
2291 ] . 2273 ] .
2292 2274
...@@ -2296,7 +2278,7 @@ ep-spin-lib:selectMassPerUnitLengthScale ...@@ -2296,7 +2278,7 @@ ep-spin-lib:selectMassPerUnitLengthScale
2296 rdfs:subClassOf ep-spin-lib:Function ; 2278 rdfs:subClassOf ep-spin-lib:Function ;
2297 spin:body 2279 spin:body
2298 [ rdf:type sp:Select ; 2280 [ rdf:type sp:Select ;
2299 - sp:resultVariables (_:b59) ; 2281 + sp:resultVariables (_:b58) ;
2300 sp:where ([ rdf:type sp:Bind ; 2282 sp:where ([ rdf:type sp:Bind ;
2301 sp:expression 2283 sp:expression
2302 [ rdf:type sp:if ; 2284 [ rdf:type sp:if ;
...@@ -2307,7 +2289,7 @@ ep-spin-lib:selectMassPerUnitLengthScale ...@@ -2307,7 +2289,7 @@ ep-spin-lib:selectMassPerUnitLengthScale
2307 sp:arg2 <http://www.reportinghub.no/ep/schema/core#pound_foot-1> ; 2289 sp:arg2 <http://www.reportinghub.no/ep/schema/core#pound_foot-1> ;
2308 sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale> 2290 sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
2309 ] ; 2291 ] ;
2310 - sp:variable _:b59 2292 + sp:variable _:b58
2311 ]) 2293 ])
2312 ] . 2294 ] .
2313 2295
...@@ -2317,7 +2299,7 @@ ep-spin-lib:selectMudClass ...@@ -2317,7 +2299,7 @@ ep-spin-lib:selectMudClass
2317 rdfs:subClassOf ep-spin-lib:Function ; 2299 rdfs:subClassOf ep-spin-lib:Function ;
2318 spin:body 2300 spin:body
2319 [ rdf:type sp:Select ; 2301 [ rdf:type sp:Select ;
2320 - sp:resultVariables (_:b60) ; 2302 + sp:resultVariables (_:b59) ;
2321 sp:where ([ rdf:type sp:Bind ; 2303 sp:where ([ rdf:type sp:Bind ;
2322 sp:expression 2304 sp:expression
2323 [ rdf:type sp:if ; 2305 [ rdf:type sp:if ;
...@@ -2342,7 +2324,7 @@ ep-spin-lib:selectMudClass ...@@ -2342,7 +2324,7 @@ ep-spin-lib:selectMudClass
2342 ] 2324 ]
2343 ] 2325 ]
2344 ] ; 2326 ] ;
2345 - sp:variable _:b60 2327 + sp:variable _:b59
2346 ]) 2328 ])
2347 ] . 2329 ] .
2348 2330
...@@ -2352,7 +2334,7 @@ ep-spin-lib:selectPlaneAngleScale ...@@ -2352,7 +2334,7 @@ ep-spin-lib:selectPlaneAngleScale
2352 rdfs:subClassOf ep-spin-lib:Function ; 2334 rdfs:subClassOf ep-spin-lib:Function ;
2353 spin:body 2335 spin:body
2354 [ rdf:type sp:Select ; 2336 [ rdf:type sp:Select ;
2355 - sp:resultVariables (_:b61) ; 2337 + sp:resultVariables (_:b60) ;
2356 sp:where ([ rdf:type sp:Bind ; 2338 sp:where ([ rdf:type sp:Bind ;
2357 sp:expression 2339 sp:expression
2358 [ rdf:type sp:if ; 2340 [ rdf:type sp:if ;
...@@ -2363,7 +2345,7 @@ ep-spin-lib:selectPlaneAngleScale ...@@ -2363,7 +2345,7 @@ ep-spin-lib:selectPlaneAngleScale
2363 sp:arg2 <http://www.reportinghub.no/ep/schema/core#degreesOfAngle> ; 2345 sp:arg2 <http://www.reportinghub.no/ep/schema/core#degreesOfAngle> ;
2364 sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale> 2346 sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
2365 ] ; 2347 ] ;
2366 - sp:variable _:b61 2348 + sp:variable _:b60
2367 ]) 2349 ])
2368 ] . 2350 ] .
2369 2351
...@@ -2373,7 +2355,7 @@ ep-spin-lib:selectPlasticViscosityScale ...@@ -2373,7 +2355,7 @@ ep-spin-lib:selectPlasticViscosityScale
2373 rdfs:subClassOf ep-spin-lib:Function ; 2355 rdfs:subClassOf ep-spin-lib:Function ;
2374 spin:body 2356 spin:body
2375 [ rdf:type sp:Select ; 2357 [ rdf:type sp:Select ;
2376 - sp:resultVariables (_:b62) ; 2358 + sp:resultVariables (_:b61) ;
2377 sp:where ([ rdf:type sp:Bind ; 2359 sp:where ([ rdf:type sp:Bind ;
2378 sp:expression 2360 sp:expression
2379 [ rdf:type sp:if ; 2361 [ rdf:type sp:if ;
...@@ -2447,7 +2429,7 @@ ep-spin-lib:selectPlasticViscosityScale ...@@ -2447,7 +2429,7 @@ ep-spin-lib:selectPlasticViscosityScale
2447 ] 2429 ]
2448 ] 2430 ]
2449 ] ; 2431 ] ;
2450 - sp:variable _:b62 2432 + sp:variable _:b61
2451 ]) 2433 ])
2452 ] . 2434 ] .
2453 2435
...@@ -2457,7 +2439,7 @@ ep-spin-lib:selectPorePressureDeterminationType ...@@ -2457,7 +2439,7 @@ ep-spin-lib:selectPorePressureDeterminationType
2457 rdfs:subClassOf ep-spin-lib:Function ; 2439 rdfs:subClassOf ep-spin-lib:Function ;
2458 spin:body 2440 spin:body
2459 [ rdf:type sp:Select ; 2441 [ rdf:type sp:Select ;
2460 - sp:resultVariables (_:b63) ; 2442 + sp:resultVariables (_:b62) ;
2461 sp:where ([ rdf:type sp:Bind ; 2443 sp:where ([ rdf:type sp:Bind ;
2462 sp:expression 2444 sp:expression
2463 [ rdf:type sp:if ; 2445 [ rdf:type sp:if ;
...@@ -2475,7 +2457,7 @@ ep-spin-lib:selectPorePressureDeterminationType ...@@ -2475,7 +2457,7 @@ ep-spin-lib:selectPorePressureDeterminationType
2475 sp:arg3 <http://www.reportinghub.no/ep/schema/activity#PorePressureDetermination> 2457 sp:arg3 <http://www.reportinghub.no/ep/schema/activity#PorePressureDetermination>
2476 ] 2458 ]
2477 ] ; 2459 ] ;
2478 - sp:variable _:b63 2460 + sp:variable _:b62
2479 ]) 2461 ])
2480 ] . 2462 ] .
2481 2463
...@@ -2485,7 +2467,7 @@ ep-spin-lib:selectPressureScale ...@@ -2485,7 +2467,7 @@ ep-spin-lib:selectPressureScale
2485 rdfs:subClassOf ep-spin-lib:Function ; 2467 rdfs:subClassOf ep-spin-lib:Function ;
2486 spin:body 2468 spin:body
2487 [ rdf:type sp:Select ; 2469 [ rdf:type sp:Select ;
2488 - sp:resultVariables (_:b64) ; 2470 + sp:resultVariables (_:b63) ;
2489 sp:where ([ rdf:type sp:Bind ; 2471 sp:where ([ rdf:type sp:Bind ;
2490 sp:expression 2472 sp:expression
2491 [ rdf:type sp:if ; 2473 [ rdf:type sp:if ;
...@@ -2524,7 +2506,7 @@ ep-spin-lib:selectPressureScale ...@@ -2524,7 +2506,7 @@ ep-spin-lib:selectPressureScale
2524 ] 2506 ]
2525 ] 2507 ]
2526 ] ; 2508 ] ;
2527 - sp:variable _:b64 2509 + sp:variable _:b63
2528 ]) 2510 ])
2529 ] . 2511 ] .
2530 2512
...@@ -2534,7 +2516,7 @@ ep-spin-lib:selectPressureTestType ...@@ -2534,7 +2516,7 @@ ep-spin-lib:selectPressureTestType
2534 rdfs:subClassOf ep-spin-lib:Function ; 2516 rdfs:subClassOf ep-spin-lib:Function ;
2535 spin:body 2517 spin:body
2536 [ rdf:type sp:Select ; 2518 [ rdf:type sp:Select ;
2537 - sp:resultVariables (_:b65) ; 2519 + sp:resultVariables (_:b64) ;
2538 sp:where ([ rdf:type sp:Bind ; 2520 sp:where ([ rdf:type sp:Bind ;
2539 sp:expression 2521 sp:expression
2540 [ rdf:type sp:if ; 2522 [ rdf:type sp:if ;
...@@ -2552,7 +2534,7 @@ ep-spin-lib:selectPressureTestType ...@@ -2552,7 +2534,7 @@ ep-spin-lib:selectPressureTestType
2552 sp:arg3 <http://www.reportinghub.no/ep/schema/activity#WellBorePressureTest> 2534 sp:arg3 <http://www.reportinghub.no/ep/schema/activity#WellBorePressureTest>
2553 ] 2535 ]
2554 ] ; 2536 ] ;
2555 - sp:variable _:b65 2537 + sp:variable _:b64
2556 ]) 2538 ])
2557 ] . 2539 ] .
2558 2540
...@@ -2562,7 +2544,7 @@ ep-spin-lib:selectSpecificMassScale ...@@ -2562,7 +2544,7 @@ ep-spin-lib:selectSpecificMassScale
2562 rdfs:subClassOf ep-spin-lib:Function ; 2544 rdfs:subClassOf ep-spin-lib:Function ;
2563 spin:body 2545 spin:body
2564 [ rdf:type sp:Select ; 2546 [ rdf:type sp:Select ;
2565 - sp:resultVariables (_:b66) ; 2547 + sp:resultVariables (_:b65) ;
2566 sp:where ([ rdf:type sp:Bind ; 2548 sp:where ([ rdf:type sp:Bind ;
2567 sp:expression 2549 sp:expression
2568 [ rdf:type sp:if ; 2550 [ rdf:type sp:if ;
...@@ -2573,7 +2555,7 @@ ep-spin-lib:selectSpecificMassScale ...@@ -2573,7 +2555,7 @@ ep-spin-lib:selectSpecificMassScale
2573 sp:arg2 <http://www.reportinghub.no/ep/schema/core#partPerMillionByMass> ; 2555 sp:arg2 <http://www.reportinghub.no/ep/schema/core#partPerMillionByMass> ;
2574 sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale> 2556 sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
2575 ] ; 2557 ] ;
2576 - sp:variable _:b66 2558 + sp:variable _:b65
2577 ]) 2559 ])
2578 ] . 2560 ] .
2579 2561
...@@ -2583,7 +2565,7 @@ ep-spin-lib:selectSpecificVolumeScale ...@@ -2583,7 +2565,7 @@ ep-spin-lib:selectSpecificVolumeScale
2583 rdfs:subClassOf ep-spin-lib:Function ; 2565 rdfs:subClassOf ep-spin-lib:Function ;
2584 spin:body 2566 spin:body
2585 [ rdf:type sp:Select ; 2567 [ rdf:type sp:Select ;
2586 - sp:resultVariables (_:b67) ; 2568 + sp:resultVariables (_:b66) ;
2587 sp:where ([ rdf:type sp:Bind ; 2569 sp:where ([ rdf:type sp:Bind ;
2588 sp:expression 2570 sp:expression
2589 [ rdf:type sp:if ; 2571 [ rdf:type sp:if ;
...@@ -2643,7 +2625,7 @@ ep-spin-lib:selectSpecificVolumeScale ...@@ -2643,7 +2625,7 @@ ep-spin-lib:selectSpecificVolumeScale
2643 ] 2625 ]
2644 ] 2626 ]
2645 ] ; 2627 ] ;
2646 - sp:variable _:b67 2628 + sp:variable _:b66
2647 ]) 2629 ])
2648 ] . 2630 ] .
2649 2631
...@@ -2653,7 +2635,7 @@ ep-spin-lib:selectSpeedScale ...@@ -2653,7 +2635,7 @@ ep-spin-lib:selectSpeedScale
2653 rdfs:subClassOf ep-spin-lib:Function ; 2635 rdfs:subClassOf ep-spin-lib:Function ;
2654 spin:body 2636 spin:body
2655 [ rdf:type sp:Select ; 2637 [ rdf:type sp:Select ;
2656 - sp:resultVariables (_:b68) ; 2638 + sp:resultVariables (_:b67) ;
2657 sp:where ([ rdf:type sp:Bind ; 2639 sp:where ([ rdf:type sp:Bind ;
2658 sp:expression 2640 sp:expression
2659 [ rdf:type sp:if ; 2641 [ rdf:type sp:if ;
...@@ -2664,7 +2646,7 @@ ep-spin-lib:selectSpeedScale ...@@ -2664,7 +2646,7 @@ ep-spin-lib:selectSpeedScale
2664 sp:arg2 <http://www.reportinghub.no/ep/schema/core#metre_hour-1> ; 2646 sp:arg2 <http://www.reportinghub.no/ep/schema/core#metre_hour-1> ;
2665 sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale> 2647 sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
2666 ] ; 2648 ] ;
2667 - sp:variable _:b68 2649 + sp:variable _:b67
2668 ]) 2650 ])
2669 ] . 2651 ] .
2670 2652
...@@ -2674,7 +2656,7 @@ ep-spin-lib:selectStrengthOfRockFormationScale ...@@ -2674,7 +2656,7 @@ ep-spin-lib:selectStrengthOfRockFormationScale
2674 rdfs:subClassOf ep-spin-lib:Function ; 2656 rdfs:subClassOf ep-spin-lib:Function ;
2675 spin:body 2657 spin:body
2676 [ rdf:type sp:Select ; 2658 [ rdf:type sp:Select ;
2677 - sp:resultVariables (_:b69) ; 2659 + sp:resultVariables (_:b68) ;
2678 sp:where ([ rdf:type sp:Bind ; 2660 sp:where ([ rdf:type sp:Bind ;
2679 sp:expression 2661 sp:expression
2680 [ rdf:type sp:if ; 2662 [ rdf:type sp:if ;
...@@ -2692,7 +2674,7 @@ ep-spin-lib:selectStrengthOfRockFormationScale ...@@ -2692,7 +2674,7 @@ ep-spin-lib:selectStrengthOfRockFormationScale
2692 sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale> 2674 sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
2693 ] 2675 ]
2694 ] ; 2676 ] ;
2695 - sp:variable _:b69 2677 + sp:variable _:b68
2696 ]) 2678 ])
2697 ] . 2679 ] .
2698 2680
...@@ -2702,7 +2684,7 @@ ep-spin-lib:selectTemperatureScale ...@@ -2702,7 +2684,7 @@ ep-spin-lib:selectTemperatureScale
2702 rdfs:subClassOf ep-spin-lib:Function ; 2684 rdfs:subClassOf ep-spin-lib:Function ;
2703 spin:body 2685 spin:body
2704 [ rdf:type sp:Select ; 2686 [ rdf:type sp:Select ;
2705 - sp:resultVariables (_:b70) ; 2687 + sp:resultVariables (_:b69) ;
2706 sp:where ([ rdf:type sp:Bind ; 2688 sp:where ([ rdf:type sp:Bind ;
2707 sp:expression 2689 sp:expression
2708 [ rdf:type sp:if ; 2690 [ rdf:type sp:if ;
...@@ -2713,7 +2695,7 @@ ep-spin-lib:selectTemperatureScale ...@@ -2713,7 +2695,7 @@ ep-spin-lib:selectTemperatureScale
2713 sp:arg2 <http://www.reportinghub.no/ep/schema/core#celsius> ; 2695 sp:arg2 <http://www.reportinghub.no/ep/schema/core#celsius> ;
2714 sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale> 2696 sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
2715 ] ; 2697 ] ;
2716 - sp:variable _:b70 2698 + sp:variable _:b69
2717 ]) 2699 ])
2718 ] . 2700 ] .
2719 2701
...@@ -2723,7 +2705,7 @@ ep-spin-lib:selectTimeDurationScale ...@@ -2723,7 +2705,7 @@ ep-spin-lib:selectTimeDurationScale
2723 rdfs:subClassOf ep-spin-lib:Function ; 2705 rdfs:subClassOf ep-spin-lib:Function ;
2724 spin:body 2706 spin:body
2725 [ rdf:type sp:Select ; 2707 [ rdf:type sp:Select ;
2726 - sp:resultVariables (_:b71) ; 2708 + sp:resultVariables (_:b70) ;
2727 sp:where ([ rdf:type sp:Bind ; 2709 sp:where ([ rdf:type sp:Bind ;
2728 sp:expression 2710 sp:expression
2729 [ rdf:type sp:if ; 2711 [ rdf:type sp:if ;
...@@ -2769,7 +2751,7 @@ ep-spin-lib:selectTimeDurationScale ...@@ -2769,7 +2751,7 @@ ep-spin-lib:selectTimeDurationScale
2769 ] 2751 ]
2770 ] 2752 ]
2771 ] ; 2753 ] ;
2772 - sp:variable _:b71 2754 + sp:variable _:b70
2773 ]) 2755 ])
2774 ] . 2756 ] .
2775 2757
...@@ -2779,7 +2761,7 @@ ep-spin-lib:selectTubeType ...@@ -2779,7 +2761,7 @@ ep-spin-lib:selectTubeType
2779 rdfs:subClassOf ep-spin-lib:Function ; 2761 rdfs:subClassOf ep-spin-lib:Function ;
2780 spin:body 2762 spin:body
2781 [ rdf:type sp:Select ; 2763 [ rdf:type sp:Select ;
2782 - sp:resultVariables (_:b72) ; 2764 + sp:resultVariables (_:b71) ;
2783 sp:where ([ rdf:type sp:Bind ; 2765 sp:where ([ rdf:type sp:Bind ;
2784 sp:expression 2766 sp:expression
2785 [ rdf:type sp:if ; 2767 [ rdf:type sp:if ;
...@@ -2804,7 +2786,7 @@ ep-spin-lib:selectTubeType ...@@ -2804,7 +2786,7 @@ ep-spin-lib:selectTubeType
2804 ] 2786 ]
2805 ] 2787 ]
2806 ] ; 2788 ] ;
2807 - sp:variable _:b72 2789 + sp:variable _:b71
2808 ]) 2790 ])
2809 ] . 2791 ] .
2810 2792
...@@ -2814,7 +2796,7 @@ ep-spin-lib:selectVolumeScale ...@@ -2814,7 +2796,7 @@ ep-spin-lib:selectVolumeScale
2814 rdfs:subClassOf ep-spin-lib:Function ; 2796 rdfs:subClassOf ep-spin-lib:Function ;
2815 spin:body 2797 spin:body
2816 [ rdf:type sp:Select ; 2798 [ rdf:type sp:Select ;
2817 - sp:resultVariables (_:b73) ; 2799 + sp:resultVariables (_:b72) ;
2818 sp:where ([ rdf:type sp:Bind ; 2800 sp:where ([ rdf:type sp:Bind ;
2819 sp:expression 2801 sp:expression
2820 [ rdf:type sp:if ; 2802 [ rdf:type sp:if ;
...@@ -2839,7 +2821,7 @@ ep-spin-lib:selectVolumeScale ...@@ -2839,7 +2821,7 @@ ep-spin-lib:selectVolumeScale
2839 ] 2821 ]
2840 ] 2822 ]
2841 ] ; 2823 ] ;
2842 - sp:variable _:b73 2824 + sp:variable _:b72
2843 ]) 2825 ])
2844 ] . 2826 ] .
2845 2827
...@@ -2849,7 +2831,7 @@ ep-spin-lib:selectVolumetricFlowRateScale ...@@ -2849,7 +2831,7 @@ ep-spin-lib:selectVolumetricFlowRateScale
2849 rdfs:subClassOf ep-spin-lib:Function ; 2831 rdfs:subClassOf ep-spin-lib:Function ;
2850 spin:body 2832 spin:body
2851 [ rdf:type sp:Select ; 2833 [ rdf:type sp:Select ;
2852 - sp:resultVariables (_:b74) ; 2834 + sp:resultVariables (_:b73) ;
2853 sp:where ([ rdf:type sp:Bind ; 2835 sp:where ([ rdf:type sp:Bind ;
2854 sp:expression 2836 sp:expression
2855 [ rdf:type sp:if ; 2837 [ rdf:type sp:if ;
...@@ -2860,7 +2842,7 @@ ep-spin-lib:selectVolumetricFlowRateScale ...@@ -2860,7 +2842,7 @@ ep-spin-lib:selectVolumetricFlowRateScale
2860 sp:arg2 <http://www.reportinghub.no/ep/schema/core#million_metre3_day-1> ; 2842 sp:arg2 <http://www.reportinghub.no/ep/schema/core#million_metre3_day-1> ;
2861 sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale> 2843 sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
2862 ] ; 2844 ] ;
2863 - sp:variable _:b74 2845 + sp:variable _:b73
2864 ]) 2846 ])
2865 ] . 2847 ] .
2866 2848
...@@ -2870,7 +2852,7 @@ ep-spin-lib:selectWellBoreDrillingType ...@@ -2870,7 +2852,7 @@ ep-spin-lib:selectWellBoreDrillingType
2870 rdfs:subClassOf ep-spin-lib:Function ; 2852 rdfs:subClassOf ep-spin-lib:Function ;
2871 spin:body 2853 spin:body
2872 [ rdf:type sp:Select ; 2854 [ rdf:type sp:Select ;
2873 - sp:resultVariables (_:b75) ; 2855 + sp:resultVariables (_:b74) ;
2874 sp:where ([ rdf:type sp:Bind ; 2856 sp:where ([ rdf:type sp:Bind ;
2875 sp:expression 2857 sp:expression
2876 [ rdf:type sp:if ; 2858 [ rdf:type sp:if ;
...@@ -2916,7 +2898,7 @@ ep-spin-lib:selectWellBoreDrillingType ...@@ -2916,7 +2898,7 @@ ep-spin-lib:selectWellBoreDrillingType
2916 ] 2898 ]
2917 ] 2899 ]
2918 ] ; 2900 ] ;
2919 - sp:variable _:b75 2901 + sp:variable _:b74
2920 ]) 2902 ])
2921 ] . 2903 ] .
2922 2904
...@@ -2926,7 +2908,7 @@ ep-spin-lib:selectWellBoreHphtType ...@@ -2926,7 +2908,7 @@ ep-spin-lib:selectWellBoreHphtType
2926 rdfs:subClassOf ep-spin-lib:Function ; 2908 rdfs:subClassOf ep-spin-lib:Function ;
2927 spin:body 2909 spin:body
2928 [ rdf:type sp:Select ; 2910 [ rdf:type sp:Select ;
2929 - sp:resultVariables (_:b76) ; 2911 + sp:resultVariables (_:b75) ;
2930 sp:where ([ rdf:type sp:Bind ; 2912 sp:where ([ rdf:type sp:Bind ;
2931 sp:expression 2913 sp:expression
2932 [ rdf:type sp:if ; 2914 [ rdf:type sp:if ;
...@@ -2937,7 +2919,7 @@ ep-spin-lib:selectWellBoreHphtType ...@@ -2937,7 +2919,7 @@ ep-spin-lib:selectWellBoreHphtType
2937 sp:arg2 <http://www.reportinghub.no/ep/schema/well#HphtWellBore> ; 2919 sp:arg2 <http://www.reportinghub.no/ep/schema/well#HphtWellBore> ;
2938 sp:arg3 <http://www.reportinghub.no/ep/schema/well#NotHphtWellBore> 2920 sp:arg3 <http://www.reportinghub.no/ep/schema/well#NotHphtWellBore>
2939 ] ; 2921 ] ;
2940 - sp:variable _:b76 2922 + sp:variable _:b75
2941 ]) 2923 ])
2942 ] . 2924 ] .
2943 2925
...@@ -2947,7 +2929,7 @@ ep-spin-lib:selectWellBoreTightnessType ...@@ -2947,7 +2929,7 @@ ep-spin-lib:selectWellBoreTightnessType
2947 rdfs:subClassOf ep-spin-lib:Function ; 2929 rdfs:subClassOf ep-spin-lib:Function ;
2948 spin:body 2930 spin:body
2949 [ rdf:type sp:Select ; 2931 [ rdf:type sp:Select ;
2950 - sp:resultVariables (_:b77) ; 2932 + sp:resultVariables (_:b76) ;
2951 sp:where ([ rdf:type sp:Bind ; 2933 sp:where ([ rdf:type sp:Bind ;
2952 sp:expression 2934 sp:expression
2953 [ rdf:type sp:if ; 2935 [ rdf:type sp:if ;
...@@ -2958,7 +2940,7 @@ ep-spin-lib:selectWellBoreTightnessType ...@@ -2958,7 +2940,7 @@ ep-spin-lib:selectWellBoreTightnessType
2958 sp:arg2 <http://www.reportinghub.no/ep/schema/well#TightWellBore> ; 2940 sp:arg2 <http://www.reportinghub.no/ep/schema/well#TightWellBore> ;
2959 sp:arg3 <http://www.reportinghub.no/ep/schema/well#LeakyWellBore> 2941 sp:arg3 <http://www.reportinghub.no/ep/schema/well#LeakyWellBore>
2960 ] ; 2942 ] ;
2961 - sp:variable _:b77 2943 + sp:variable _:b76
2962 ]) 2944 ])
2963 ] . 2945 ] .
2964 2946
...@@ -2968,7 +2950,7 @@ ep-spin-lib:selectWellCementJobBottomPlugType ...@@ -2968,7 +2950,7 @@ ep-spin-lib:selectWellCementJobBottomPlugType
2968 rdfs:subClassOf ep-spin-lib:Function ; 2950 rdfs:subClassOf ep-spin-lib:Function ;
2969 spin:body 2951 spin:body
2970 [ rdf:type sp:Select ; 2952 [ rdf:type sp:Select ;
2971 - sp:resultVariables (_:b78) ; 2953 + sp:resultVariables (_:b77) ;
2972 sp:where ([ rdf:type sp:Bind ; 2954 sp:where ([ rdf:type sp:Bind ;
2973 sp:expression 2955 sp:expression
2974 [ rdf:type sp:if ; 2956 [ rdf:type sp:if ;
...@@ -2979,7 +2961,7 @@ ep-spin-lib:selectWellCementJobBottomPlugType ...@@ -2979,7 +2961,7 @@ ep-spin-lib:selectWellCementJobBottomPlugType
2979 sp:arg2 <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithBottomPlug> ; 2961 sp:arg2 <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithBottomPlug> ;
2980 sp:arg3 <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithoutBottomPlug> 2962 sp:arg3 <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithoutBottomPlug>
2981 ] ; 2963 ] ;
2982 - sp:variable _:b78 2964 + sp:variable _:b77
2983 ]) 2965 ])
2984 ] . 2966 ] .
2985 2967
...@@ -2989,7 +2971,7 @@ ep-spin-lib:selectWellCementJobCasingReciprocationType ...@@ -2989,7 +2971,7 @@ ep-spin-lib:selectWellCementJobCasingReciprocationType
2989 rdfs:subClassOf ep-spin-lib:Function ; 2971 rdfs:subClassOf ep-spin-lib:Function ;
2990 spin:body 2972 spin:body
2991 [ rdf:type sp:Select ; 2973 [ rdf:type sp:Select ;
2992 - sp:resultVariables (_:b79) ; 2974 + sp:resultVariables (_:b78) ;
2993 sp:where ([ rdf:type sp:Bind ; 2975 sp:where ([ rdf:type sp:Bind ;
2994 sp:expression 2976 sp:expression
2995 [ rdf:type sp:if ; 2977 [ rdf:type sp:if ;
...@@ -3000,7 +2982,7 @@ ep-spin-lib:selectWellCementJobCasingReciprocationType ...@@ -3000,7 +2982,7 @@ ep-spin-lib:selectWellCementJobCasingReciprocationType
3000 sp:arg2 <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithCasingReciprocation> ; 2982 sp:arg2 <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithCasingReciprocation> ;
3001 sp:arg3 <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithoutCasingReciprocation> 2983 sp:arg3 <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithoutCasingReciprocation>
3002 ] ; 2984 ] ;
3003 - sp:variable _:b79 2985 + sp:variable _:b78
3004 ]) 2986 ])
3005 ] . 2987 ] .
3006 2988
...@@ -3010,7 +2992,7 @@ ep-spin-lib:selectWellCementJobCasingRotationType ...@@ -3010,7 +2992,7 @@ ep-spin-lib:selectWellCementJobCasingRotationType
3010 rdfs:subClassOf ep-spin-lib:Function ; 2992 rdfs:subClassOf ep-spin-lib:Function ;
3011 spin:body 2993 spin:body
3012 [ rdf:type sp:Select ; 2994 [ rdf:type sp:Select ;
3013 - sp:resultVariables (_:b80) ; 2995 + sp:resultVariables (_:b79) ;
3014 sp:where ([ rdf:type sp:Bind ; 2996 sp:where ([ rdf:type sp:Bind ;
3015 sp:expression 2997 sp:expression
3016 [ rdf:type sp:if ; 2998 [ rdf:type sp:if ;
...@@ -3021,7 +3003,7 @@ ep-spin-lib:selectWellCementJobCasingRotationType ...@@ -3021,7 +3003,7 @@ ep-spin-lib:selectWellCementJobCasingRotationType
3021 sp:arg2 <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithCasingRotation> ; 3003 sp:arg2 <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithCasingRotation> ;
3022 sp:arg3 <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithoutCasingRotation> 3004 sp:arg3 <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithoutCasingRotation>
3023 ] ; 3005 ] ;
3024 - sp:variable _:b80 3006 + sp:variable _:b79
3025 ]) 3007 ])
3026 ] . 3008 ] .
3027 3009
...@@ -3031,7 +3013,7 @@ ep-spin-lib:selectWellCementJobFloatHoldingType ...@@ -3031,7 +3013,7 @@ ep-spin-lib:selectWellCementJobFloatHoldingType
3031 rdfs:subClassOf ep-spin-lib:Function ; 3013 rdfs:subClassOf ep-spin-lib:Function ;
3032 spin:body 3014 spin:body
3033 [ rdf:type sp:Select ; 3015 [ rdf:type sp:Select ;
3034 - sp:resultVariables (_:b81) ; 3016 + sp:resultVariables (_:b80) ;
3035 sp:where ([ rdf:type sp:Bind ; 3017 sp:where ([ rdf:type sp:Bind ;
3036 sp:expression 3018 sp:expression
3037 [ rdf:type sp:if ; 3019 [ rdf:type sp:if ;
...@@ -3042,7 +3024,7 @@ ep-spin-lib:selectWellCementJobFloatHoldingType ...@@ -3042,7 +3024,7 @@ ep-spin-lib:selectWellCementJobFloatHoldingType
3042 sp:arg2 <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithFloatHolding> ; 3024 sp:arg2 <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithFloatHolding> ;
3043 sp:arg3 <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithoutFloatHolding> 3025 sp:arg3 <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithoutFloatHolding>
3044 ] ; 3026 ] ;
3045 - sp:variable _:b81 3027 + sp:variable _:b80
3046 ]) 3028 ])
3047 ] . 3029 ] .
3048 3030
...@@ -3052,7 +3034,7 @@ ep-spin-lib:selectWellCementJobPlugBumpingType ...@@ -3052,7 +3034,7 @@ ep-spin-lib:selectWellCementJobPlugBumpingType
3052 rdfs:subClassOf ep-spin-lib:Function ; 3034 rdfs:subClassOf ep-spin-lib:Function ;
3053 spin:body 3035 spin:body
3054 [ rdf:type sp:Select ; 3036 [ rdf:type sp:Select ;
3055 - sp:resultVariables (_:b82) ; 3037 + sp:resultVariables (_:b81) ;
3056 sp:where ([ rdf:type sp:Bind ; 3038 sp:where ([ rdf:type sp:Bind ;
3057 sp:expression 3039 sp:expression
3058 [ rdf:type sp:if ; 3040 [ rdf:type sp:if ;
...@@ -3063,7 +3045,7 @@ ep-spin-lib:selectWellCementJobPlugBumpingType ...@@ -3063,7 +3045,7 @@ ep-spin-lib:selectWellCementJobPlugBumpingType
3063 sp:arg2 <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithPlugBumping> ; 3045 sp:arg2 <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithPlugBumping> ;
3064 sp:arg3 <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithoutPlugBumping> 3046 sp:arg3 <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithoutPlugBumping>
3065 ] ; 3047 ] ;
3066 - sp:variable _:b82 3048 + sp:variable _:b81
3067 ]) 3049 ])
3068 ] . 3050 ] .
3069 3051
...@@ -3073,7 +3055,7 @@ ep-spin-lib:selectWellCementJobTopPlugType ...@@ -3073,7 +3055,7 @@ ep-spin-lib:selectWellCementJobTopPlugType
3073 rdfs:subClassOf ep-spin-lib:Function ; 3055 rdfs:subClassOf ep-spin-lib:Function ;
3074 spin:body 3056 spin:body
3075 [ rdf:type sp:Select ; 3057 [ rdf:type sp:Select ;
3076 - sp:resultVariables (_:b83) ; 3058 + sp:resultVariables (_:b82) ;
3077 sp:where ([ rdf:type sp:Bind ; 3059 sp:where ([ rdf:type sp:Bind ;
3078 sp:expression 3060 sp:expression
3079 [ rdf:type sp:if ; 3061 [ rdf:type sp:if ;
...@@ -3084,7 +3066,7 @@ ep-spin-lib:selectWellCementJobTopPlugType ...@@ -3084,7 +3066,7 @@ ep-spin-lib:selectWellCementJobTopPlugType
3084 sp:arg2 <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithTopPlug> ; 3066 sp:arg2 <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithTopPlug> ;
3085 sp:arg3 <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithoutTopPlug> 3067 sp:arg3 <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithoutTopPlug>
3086 ] ; 3068 ] ;
3087 - sp:variable _:b83 3069 + sp:variable _:b82
3088 ]) 3070 ])
3089 ] . 3071 ] .
3090 3072
...@@ -3094,7 +3076,7 @@ ep-spin-lib:selectWellCementJobType ...@@ -3094,7 +3076,7 @@ ep-spin-lib:selectWellCementJobType
3094 rdfs:subClassOf ep-spin-lib:Function ; 3076 rdfs:subClassOf ep-spin-lib:Function ;
3095 spin:body 3077 spin:body
3096 [ rdf:type sp:Select ; 3078 [ rdf:type sp:Select ;
3097 - sp:resultVariables (_:b84) ; 3079 + sp:resultVariables (_:b83) ;
3098 sp:where ([ rdf:type sp:Bind ; 3080 sp:where ([ rdf:type sp:Bind ;
3099 sp:expression 3081 sp:expression
3100 [ rdf:type sp:if ; 3082 [ rdf:type sp:if ;
...@@ -3126,7 +3108,7 @@ ep-spin-lib:selectWellCementJobType ...@@ -3126,7 +3108,7 @@ ep-spin-lib:selectWellCementJobType
3126 ] 3108 ]
3127 ] 3109 ]
3128 ] ; 3110 ] ;
3129 - sp:variable _:b84 3111 + sp:variable _:b83
3130 ]) 3112 ])
3131 ] . 3113 ] .
3132 3114
...@@ -3136,7 +3118,7 @@ ep-spin-lib:selectWellControlIncidentType ...@@ -3136,7 +3118,7 @@ ep-spin-lib:selectWellControlIncidentType
3136 rdfs:subClassOf ep-spin-lib:Function ; 3118 rdfs:subClassOf ep-spin-lib:Function ;
3137 spin:body 3119 spin:body
3138 [ rdf:type sp:Select ; 3120 [ rdf:type sp:Select ;
3139 - sp:resultVariables (_:b85) ; 3121 + sp:resultVariables (_:b84) ;
3140 sp:where ([ rdf:type sp:Bind ; 3122 sp:where ([ rdf:type sp:Bind ;
3141 sp:expression 3123 sp:expression
3142 [ rdf:type sp:if ; 3124 [ rdf:type sp:if ;
...@@ -3168,7 +3150,7 @@ ep-spin-lib:selectWellControlIncidentType ...@@ -3168,7 +3150,7 @@ ep-spin-lib:selectWellControlIncidentType
3168 ] 3150 ]
3169 ] 3151 ]
3170 ] ; 3152 ] ;
3171 - sp:variable _:b85 3153 + sp:variable _:b84
3172 ]) 3154 ])
3173 ] . 3155 ] .
3174 3156
...@@ -3178,7 +3160,7 @@ ep-spin-lib:selectWellKillingType ...@@ -3178,7 +3160,7 @@ ep-spin-lib:selectWellKillingType
3178 rdfs:subClassOf ep-spin-lib:Function ; 3160 rdfs:subClassOf ep-spin-lib:Function ;
3179 spin:body 3161 spin:body
3180 [ rdf:type sp:Select ; 3162 [ rdf:type sp:Select ;
3181 - sp:resultVariables (_:b86) ; 3163 + sp:resultVariables (_:b85) ;
3182 sp:where ([ rdf:type sp:Bind ; 3164 sp:where ([ rdf:type sp:Bind ;
3183 sp:expression 3165 sp:expression
3184 [ rdf:type sp:if ; 3166 [ rdf:type sp:if ;
...@@ -3224,7 +3206,7 @@ ep-spin-lib:selectWellKillingType ...@@ -3224,7 +3206,7 @@ ep-spin-lib:selectWellKillingType
3224 ] 3206 ]
3225 ] 3207 ]
3226 ] ; 3208 ] ;
3227 - sp:variable _:b86 3209 + sp:variable _:b85
3228 ]) 3210 ])
3229 ] . 3211 ] .
3230 3212
...@@ -3234,7 +3216,7 @@ ep-spin-lib:selectWellTestType ...@@ -3234,7 +3216,7 @@ ep-spin-lib:selectWellTestType
3234 rdfs:subClassOf ep-spin-lib:Function ; 3216 rdfs:subClassOf ep-spin-lib:Function ;
3235 spin:body 3217 spin:body
3236 [ rdf:type sp:Select ; 3218 [ rdf:type sp:Select ;
3237 - sp:resultVariables (_:b87) ; 3219 + sp:resultVariables (_:b86) ;
3238 sp:where ([ rdf:type sp:Bind ; 3220 sp:where ([ rdf:type sp:Bind ;
3239 sp:expression 3221 sp:expression
3240 [ rdf:type sp:if ; 3222 [ rdf:type sp:if ;
...@@ -3252,7 +3234,7 @@ ep-spin-lib:selectWellTestType ...@@ -3252,7 +3234,7 @@ ep-spin-lib:selectWellTestType
3252 sp:arg3 <http://www.reportinghub.no/ep/schema/activity#WellTest> 3234 sp:arg3 <http://www.reportinghub.no/ep/schema/activity#WellTest>
3253 ] 3235 ]
3254 ] ; 3236 ] ;
3255 - sp:variable _:b87 3237 + sp:variable _:b86
3256 ]) 3238 ])
3257 ] . 3239 ] .
3258 3240
...@@ -3262,7 +3244,7 @@ ep-spin-lib:selectWirelineFormationTestGoodnessOfSealType ...@@ -3262,7 +3244,7 @@ ep-spin-lib:selectWirelineFormationTestGoodnessOfSealType
3262 rdfs:subClassOf ep-spin-lib:Function ; 3244 rdfs:subClassOf ep-spin-lib:Function ;
3263 spin:body 3245 spin:body
3264 [ rdf:type sp:Select ; 3246 [ rdf:type sp:Select ;
3265 - sp:resultVariables (_:b88) ; 3247 + sp:resultVariables (_:b87) ;
3266 sp:where ([ rdf:type sp:Bind ; 3248 sp:where ([ rdf:type sp:Bind ;
3267 sp:expression 3249 sp:expression
3268 [ rdf:type sp:if ; 3250 [ rdf:type sp:if ;
...@@ -3273,7 +3255,7 @@ ep-spin-lib:selectWirelineFormationTestGoodnessOfSealType ...@@ -3273,7 +3255,7 @@ ep-spin-lib:selectWirelineFormationTestGoodnessOfSealType
3273 sp:arg2 <http://www.reportinghub.no/ep/schema/activity#WirelineFormationTestWithGoodSeal> ; 3255 sp:arg2 <http://www.reportinghub.no/ep/schema/activity#WirelineFormationTestWithGoodSeal> ;
3274 sp:arg3 <http://www.reportinghub.no/ep/schema/activity#WirelineFormationTestWithoutGoodSeal> 3256 sp:arg3 <http://www.reportinghub.no/ep/schema/activity#WirelineFormationTestWithoutGoodSeal>
3275 ] ; 3257 ] ;
3276 - sp:variable _:b88 3258 + sp:variable _:b87
3277 ]) 3259 ])
3278 ] . 3260 ] .
3279 3261
...@@ -3283,7 +3265,7 @@ ep-spin-lib:selectYieldPointScale ...@@ -3283,7 +3265,7 @@ ep-spin-lib:selectYieldPointScale
3283 rdfs:subClassOf ep-spin-lib:Function ; 3265 rdfs:subClassOf ep-spin-lib:Function ;
3284 spin:body 3266 spin:body
3285 [ rdf:type sp:Select ; 3267 [ rdf:type sp:Select ;
3286 - sp:resultVariables (_:b89) ; 3268 + sp:resultVariables (_:b88) ;
3287 sp:where ([ rdf:type sp:Bind ; 3269 sp:where ([ rdf:type sp:Bind ;
3288 sp:expression 3270 sp:expression
3289 [ rdf:type sp:if ; 3271 [ rdf:type sp:if ;
...@@ -3308,7 +3290,7 @@ ep-spin-lib:selectYieldPointScale ...@@ -3308,7 +3290,7 @@ ep-spin-lib:selectYieldPointScale
3308 ] 3290 ]
3309 ] 3291 ]
3310 ] ; 3292 ] ;
3311 - sp:variable _:b89 3293 + sp:variable _:b88
3312 ]) 3294 ])
3313 ] . 3295 ] .
3314 3296
...@@ -3317,176 +3299,173 @@ ddr:TTUC_Enumeration_1 ...@@ -3317,176 +3299,173 @@ ddr:TTUC_Enumeration_1
3317 rdfs:label "Enumeration"^^xsd:string ; 3299 rdfs:label "Enumeration"^^xsd:string ;
3318 dtype:value ddr:TTUC_degC . 3300 dtype:value ddr:TTUC_degC .
3319 3301
3320 -_:b66 3302 +_:b88
3321 - sp:varName "specificMassScale"^^xsd:string .
3322 -
3323 -_:b89
3324 sp:varName "yieldPointScale"^^xsd:string . 3303 sp:varName "yieldPointScale"^^xsd:string .
3325 3304
3326 -_:b88 3305 +_:b87
3327 sp:varName "wirelineFormationTestGoodnessOfSealType"^^xsd:string . 3306 sp:varName "wirelineFormationTestGoodnessOfSealType"^^xsd:string .
3328 3307
3329 -_:b87 3308 +_:b86
3330 sp:varName "wellTestType"^^xsd:string . 3309 sp:varName "wellTestType"^^xsd:string .
3331 3310
3332 -_:b86 3311 +_:b85
3333 sp:varName "wellKillingType"^^xsd:string . 3312 sp:varName "wellKillingType"^^xsd:string .
3334 3313
3335 -_:b85 3314 +_:b84
3336 sp:varName "wellControlIncidentType"^^xsd:string . 3315 sp:varName "wellControlIncidentType"^^xsd:string .
3337 3316
3338 -_:b84 3317 +_:b83
3339 sp:varName "wellCementJobType"^^xsd:string . 3318 sp:varName "wellCementJobType"^^xsd:string .
3340 3319
3341 -_:b83 3320 +_:b82
3342 sp:varName "wellCementJobTopPlugType"^^xsd:string . 3321 sp:varName "wellCementJobTopPlugType"^^xsd:string .
3343 3322
3344 -_:b82 3323 +_:b81
3345 sp:varName "wellCementJobPlugBumpingType"^^xsd:string . 3324 sp:varName "wellCementJobPlugBumpingType"^^xsd:string .
3346 3325
3347 -_:b81 3326 +_:b80
3348 sp:varName "wellCementJobFloatHoldingType"^^xsd:string . 3327 sp:varName "wellCementJobFloatHoldingType"^^xsd:string .
3349 3328
3350 -_:b80 3329 +_:b79
3351 sp:varName "wellCementJobCasingRotationType"^^xsd:string . 3330 sp:varName "wellCementJobCasingRotationType"^^xsd:string .
3352 3331
3353 -_:b79 3332 +_:b78
3354 sp:varName "wellCementJobCasingReciprocationType"^^xsd:string . 3333 sp:varName "wellCementJobCasingReciprocationType"^^xsd:string .
3355 3334
3356 -_:b78 3335 +_:b77
3357 sp:varName "wellCementJobBottomPlugType"^^xsd:string . 3336 sp:varName "wellCementJobBottomPlugType"^^xsd:string .
3358 3337
3359 -_:b77 3338 +_:b76
3360 sp:varName "wellBoreTightnessType"^^xsd:string . 3339 sp:varName "wellBoreTightnessType"^^xsd:string .
3361 3340
3362 -_:b76 3341 +_:b75
3363 sp:varName "wellBoreHphtType"^^xsd:string . 3342 sp:varName "wellBoreHphtType"^^xsd:string .
3364 3343
3365 -_:b75 3344 +_:b74
3366 sp:varName "wellBoreDrillingType"^^xsd:string . 3345 sp:varName "wellBoreDrillingType"^^xsd:string .
3367 3346
3368 -_:b74 3347 +_:b73
3369 sp:varName "volumetricFlowRateScale"^^xsd:string . 3348 sp:varName "volumetricFlowRateScale"^^xsd:string .
3370 3349
3371 -_:b73 3350 +_:b72
3372 sp:varName "volumeScale"^^xsd:string . 3351 sp:varName "volumeScale"^^xsd:string .
3373 3352
3374 -_:b72 3353 +_:b71
3375 sp:varName "tubeType"^^xsd:string . 3354 sp:varName "tubeType"^^xsd:string .
3376 3355
3377 -_:b71 3356 +_:b70
3378 sp:varName "durationScale"^^xsd:string . 3357 sp:varName "durationScale"^^xsd:string .
3379 3358
3380 -_:b70 3359 +_:b69
3381 sp:varName "temperatureScale"^^xsd:string . 3360 sp:varName "temperatureScale"^^xsd:string .
3382 3361
3383 -_:b69 3362 +_:b68
3384 sp:varName "strengthScale"^^xsd:string . 3363 sp:varName "strengthScale"^^xsd:string .
3385 3364
3386 -_:b68 3365 +_:b67
3387 sp:varName "speedScale"^^xsd:string . 3366 sp:varName "speedScale"^^xsd:string .
3388 3367
3389 -_:b67 3368 +_:b66
3390 sp:varName "specificVolumeScale"^^xsd:string . 3369 sp:varName "specificVolumeScale"^^xsd:string .
3391 3370
3392 _:b65 3371 _:b65
3393 - sp:varName "pressureTestType"^^xsd:string . 3372 + sp:varName "specificMassScale"^^xsd:string .
3394 3373
3395 _:b64 3374 _:b64
3396 - sp:varName "pressureScale"^^xsd:string . 3375 + sp:varName "pressureTestType"^^xsd:string .
3397 3376
3398 _:b63 3377 _:b63
3399 - sp:varName "porePressureDeterminationType"^^xsd:string . 3378 + sp:varName "pressureScale"^^xsd:string .
3400 3379
3401 _:b62 3380 _:b62
3402 - sp:varName "plasticViscosityScale"^^xsd:string . 3381 + sp:varName "porePressureDeterminationType"^^xsd:string .
3403 3382
3404 _:b61 3383 _:b61
3405 - sp:varName "angleScale"^^xsd:string . 3384 + sp:varName "plasticViscosityScale"^^xsd:string .
3406 3385
3407 _:b60 3386 _:b60
3408 - sp:varName "mudClass"^^xsd:string . 3387 + sp:varName "angleScale"^^xsd:string .
3409 3388
3410 _:b59 3389 _:b59
3411 - sp:varName "massPerUnitLengthScale"^^xsd:string . 3390 + sp:varName "mudClass"^^xsd:string .
3412 3391
3413 _:b58 3392 _:b58
3414 - sp:varName "lengthScale"^^xsd:string . 3393 + sp:varName "massPerUnitLengthScale"^^xsd:string .
3415 3394
3416 _:b57 3395 _:b57
3417 - sp:varName "dailyDrillingReportType"^^xsd:string . 3396 + sp:varName "lengthScale"^^xsd:string .
3418 3397
3419 _:b56 3398 _:b56
3420 - sp:varName "innerBarrelType"^^xsd:string . 3399 + sp:varName "dailyDrillingReportType"^^xsd:string .
3421 3400
3422 _:b55 3401 _:b55
3423 - sp:varName "gasReadingType"^^xsd:string . 3402 + sp:varName "innerBarrelType"^^xsd:string .
3424 3403
3425 _:b54 3404 _:b54
3426 - sp:varName "fluidType"^^xsd:string . 3405 + sp:varName "gasReadingType"^^xsd:string .
3427 3406
3428 _:b53 3407 _:b53
3429 - sp:varName "fixedOrMoveableRigType"^^xsd:string . 3408 + sp:varName "fluidType"^^xsd:string .
3430 3409
3431 _:b52 3410 _:b52
3432 - sp:varName "drillingEquipmentType"^^xsd:string . 3411 + sp:varName "fixedOrMoveableRigType"^^xsd:string .
3433 3412
3434 _:b51 3413 _:b51
3435 - sp:varName "drillingActivityTypeAccordingToEquipmentType"^^xsd:string . 3414 + sp:varName "drillingEquipmentType"^^xsd:string .
3436 3415
3437 _:b50 3416 _:b50
3438 - sp:varName "drillingActivityPurposeType"^^xsd:string . 3417 + sp:varName "drillingActivityTypeAccordingToEquipmentType"^^xsd:string .
3439 3418
3440 _:b49 3419 _:b49
3441 - sp:varName "drillingActivityOutcomeType"^^xsd:string . 3420 + sp:varName "drillingActivityPurposeType"^^xsd:string .
3442 3421
3443 _:b48 3422 _:b48
3444 - sp:varName "densityScale"^^xsd:string . 3423 + sp:varName "drillingActivityOutcomeType"^^xsd:string .
3445 3424
3446 _:b47 3425 _:b47
3447 - sp:varName "dailyDrillingReportType"^^xsd:string . 3426 + sp:varName "densityScale"^^xsd:string .
3448 3427
3449 _:b46 3428 _:b46
3450 - sp:varName "componentType"^^xsd:string . 3429 + sp:varName "dailyDrillingReportType"^^xsd:string .
3451 3430
3452 _:b45 3431 _:b45
3453 - sp:varName "cementingFluidReturnType"^^xsd:string . 3432 + sp:varName "componentType"^^xsd:string .
3454 3433
3455 _:b44 3434 _:b44
3456 - sp:varName "casingRoleType"^^xsd:string . 3435 + sp:varName "cementingFluidReturnType"^^xsd:string .
3457 3436
3458 _:b43 3437 _:b43
3459 - sp:varName "activitySuccessType"^^xsd:string . 3438 + sp:varName "casingRoleType"^^xsd:string .
3460 3439
3461 _:b42 3440 _:b42
3462 - sp:varName "t4"^^xsd:string . 3441 + sp:varName "activitySuccessType"^^xsd:string .
3463 3442
3464 _:b41 3443 _:b41
3465 - sp:varName "t3"^^xsd:string . 3444 + sp:varName "t4"^^xsd:string .
3466 3445
3467 _:b40 3446 _:b40
3468 - sp:varName "t2"^^xsd:string . 3447 + sp:varName "t3"^^xsd:string .
3469 3448
3470 _:b39 3449 _:b39
3471 - sp:varName "t1"^^xsd:string . 3450 + sp:varName "t2"^^xsd:string .
3472 3451
3473 _:b38 3452 _:b38
3474 - sp:varName "t0b"^^xsd:string . 3453 + sp:varName "t1"^^xsd:string .
3475 3454
3476 _:b37 3455 _:b37
3477 - sp:varName "t0a"^^xsd:string . 3456 + sp:varName "t0b"^^xsd:string .
3478 3457
3479 _:b36 3458 _:b36
3480 - sp:varName "s2"^^xsd:string . 3459 + sp:varName "t0a"^^xsd:string .
3481 3460
3482 _:b35 3461 _:b35
3483 - sp:varName "s1"^^xsd:string . 3462 + sp:varName "s2"^^xsd:string .
3484 3463
3485 _:b34 3464 _:b34
3486 - sp:varName "normalizedStr"^^xsd:string . 3465 + sp:varName "s1"^^xsd:string .
3487 3466
3488 _:b33 3467 _:b33
3489 - sp:varName "uri"^^xsd:string . 3468 + sp:varName "normalizedStr"^^xsd:string .
3490 3469
3491 _:b32 3470 _:b32
3492 sp:varName "uri"^^xsd:string . 3471 sp:varName "uri"^^xsd:string .
......
1 -# Saved by TopBraid on Sun Sep 25 18:41:25 BST 2011
2 # baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport 1 # baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport
3 -# imports: http://www.reportinghub.no/ep/schema/1.0/report 2 +# imports: http://spinrdf.org/spin
4 -# imports: http://www.reportinghub.no/ep/spin/1.1/lib
5 # imports: http://www.energistics.org/schemas/abstract 3 # imports: http://www.energistics.org/schemas/abstract
6 -# imports: http://www.witsml.org/schemas/1series 4 +# imports: http://www.reportinghub.no/ep/schema/1.0/activity
7 -# imports: http://www.reportinghub.no/ep/schema/1.0/well 5 +# imports: http://www.reportinghub.no/ep/schema/1.0/activity-purpose
8 # imports: http://www.reportinghub.no/ep/schema/1.0/core 6 # imports: http://www.reportinghub.no/ep/schema/1.0/core
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/activity-purpose 8 +# imports: http://www.reportinghub.no/ep/schema/1.0/report
11 -# imports: http://www.reportinghub.no/ep/schema/1.0/activity 9 +# imports: http://www.reportinghub.no/ep/schema/1.0/well
12 -# imports: http://spinrdf.org/spin 10 +# imports: http://www.reportinghub.no/ep/spin/1.1/lib
11 +# imports: http://www.witsml.org/schemas/1series
13 12
13 +@prefix NPD_110721144611-valid: <file:///Sandbox/NPD_110721144611-valid.xml#> .
14 @prefix arg: <http://spinrdf.org/arg#> . 14 @prefix arg: <http://spinrdf.org/arg#> .
15 @prefix ddr: <http://www.witsml.org/schemas/1series#> . 15 @prefix ddr: <http://www.witsml.org/schemas/1series#> .
16 @prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> . 16 @prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> .
...@@ -25,388 +25,431 @@ ...@@ -25,388 +25,431 @@
25 25
26 <http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport> 26 <http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport>
27 rdf:type owl:Ontology ; 27 rdf:type owl:Ontology ;
28 - owl:imports <http://www.reportinghub.no/ep/schema/1.0/activity-purpose> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.witsml.org/schemas/1series> , <http://www.energistics.org/schemas/abstract> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/ep/schema/1.0/report> ; 28 + owl:imports <http://spinrdf.org/spin> , <http://www.energistics.org/schemas/abstract> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/schema/1.0/activity-purpose> , <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/report> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.witsml.org/schemas/1series> ;
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 106 Create Well"^^xsd:string ; 34 + rdfs:comment """STEP 103 Create DailyDrillingReport, DailyDrillingActivity, TemporalPartOfAWellBore and WellBore
35 - sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/well#Well> ; 35 +Minimum data - createDate, dTimStart, dTimEnd, nameWellBore
36 +Optional data - extendedReport
37 +replaced for testing - BIND (rhspin:wellBoreByName(?nameWellBore) AS ?wellBore) ."""^^xsd:string ;
38 + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/report#DailyDrillingReport> ;
36 sp:predicate rdf:type ; 39 sp:predicate rdf:type ;
37 - sp:subject _:b1 40 + sp:subject
38 - ] [ sp:object _:b2 ; 41 + [ sp:varName "dailyDrillingReport"^^xsd:string
42 + ]
43 + ] [ sp:object <http://www.reportinghub.no/ep/schema/activity#DailyDrillingActivity> ;
44 + sp:predicate rdf:type ;
45 + sp:subject
46 + [ sp:varName "dailyDrillingActivity"^^xsd:string
47 + ]
48 + ] [ sp:object
49 + [ sp:varName "dailyDrillingActivity"^^xsd:string
50 + ] ;
51 + sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
52 + sp:subject
53 + [ sp:varName "dailyDrillingReport"^^xsd:string
54 + ]
55 + ] [ sp:object
56 + [ sp:varName "createDate"^^xsd:string
57 + ] ;
58 + sp:predicate <http://www.reportinghub.no/ep/schema/report#createdAt> ;
59 + sp:subject
60 + [ sp:varName "dailyDrillingReport"^^xsd:string
61 + ]
62 + ] [ sp:object
63 + [ sp:varName "dTimStart"^^xsd:string
64 + ] ;
65 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
66 + sp:subject
67 + [ sp:varName "dailyDrillingActivity"^^xsd:string
68 + ]
69 + ] [ sp:object <http://www.reportinghub.no/ep/schema/well#TemporalPartOfAWellBore> ;
70 + sp:predicate rdf:type ;
71 + sp:subject
72 + [ sp:varName "temporalPartOfAWellBore"^^xsd:string
73 + ]
74 + ] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore> ;
75 + sp:predicate rdf:type ;
76 + sp:subject
77 + [ sp:varName "wellBore"^^xsd:string
78 + ]
79 + ] [ sp:object
80 + [ sp:varName "wellBore"^^xsd:string
81 + ] ;
82 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
83 + sp:subject
84 + [ sp:varName "temporalPartOfAWellBore"^^xsd:string
85 + ]
86 + ] [ sp:object
87 + [ sp:varName "nameWellBore"^^xsd:string
88 + ] ;
39 sp:predicate <http://www.reportinghub.no/ep/schema/core#humanRecognizableName> ; 89 sp:predicate <http://www.reportinghub.no/ep/schema/core#humanRecognizableName> ;
90 + sp:subject
91 + [ sp:varName "wellBore"^^xsd:string
92 + ]
93 + ] [ sp:object
94 + [ sp:varName "temporalPartOfAWellBore"^^xsd:string
95 + ] ;
96 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
97 + sp:subject
98 + [ sp:varName "dailyDrillingActivity"^^xsd:string
99 + ]
100 + ] [ sp:object _:b1 ;
101 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#descriptionOfActivitiesFollowingTheDailyReportingPeriod> ;
102 + sp:subject
103 + [ sp:varName "dailyDrillingActivity"^^xsd:string
104 + ]
105 + ] [ sp:object <http://www.reportinghub.no/ep/schema/report#Report> ;
106 + sp:predicate rdf:type ;
107 + sp:subject _:b1
108 + ] [ sp:object
109 + [ sp:varName "extendedReportContent"^^xsd:string
110 + ] ;
111 + sp:predicate <http://www.reportinghub.no/ep/schema/report#hasContent> ;
40 sp:subject _:b1 112 sp:subject _:b1
113 + ] [ sp:object
114 + [ sp:varName "dTimExtendedReport"^^xsd:string
115 + ] ;
116 + sp:predicate <http://www.reportinghub.no/ep/schema/report#createdAt> ;
117 + sp:subject _:b1
118 + ]) ;
119 + sp:where ([ sp:object
120 + [ sp:varName "nameWellBore"^^xsd:string
121 + ] ;
122 + sp:predicate ddr:nameWellbore ;
123 + sp:subject spin:_this
124 + ] [ sp:object
125 + [ sp:varName "dTimStart"^^xsd:string
126 + ] ;
127 + sp:predicate ddr:dTimStart ;
128 + sp:subject spin:_this
129 + ] [ sp:object
130 + [ sp:varName "dTimEnd"^^xsd:string
131 + ] ;
132 + sp:predicate ddr:dTimEnd ;
133 + sp:subject spin:_this
134 + ] [ sp:object
135 + [ sp:varName "createDate"^^xsd:string
136 + ] ;
137 + sp:predicate ddr:createDate ;
138 + sp:subject spin:_this
139 + ] [ rdf:type sp:Optional ;
140 + sp:elements ([ sp:object
141 + [ sp:varName "extendedReport"^^xsd:string
142 + ] ;
143 + sp:predicate ddr:extendedReportRef ;
144 + sp:subject spin:_this
145 + ] [ sp:object
146 + [ sp:varName "extendedReportContent"^^xsd:string
147 + ] ;
148 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
149 + sp:subject
150 + [ sp:varName "extendedReport"^^xsd:string
151 + ]
152 + ] [ rdf:type sp:Optional ;
153 + sp:elements ([ sp:object
154 + [ sp:varName "dTimExtendedReport"^^xsd:string
155 + ] ;
156 + sp:predicate ddr:dTim ;
157 + sp:subject
158 + [ sp:varName "extendedReport"^^xsd:string
159 + ]
160 + ])
161 + ])
162 + ] [ rdf:type sp:Bind ;
163 + sp:expression
164 + [ rdf:type ep-spin-lib:normalizeString ;
165 + sp:arg1 [ sp:varName "nameWellBore"^^xsd:string
166 + ]
167 + ] ;
168 + sp:variable
169 + [ sp:varName "normalizedWellBoreName"^^xsd:string
170 + ]
171 + ] [ rdf:type sp:Bind ;
172 + sp:expression
173 + [ rdf:type ep-spin-lib:buildDailyDrillingReportURI ;
174 + sp:arg1 [ sp:varName "normalizedWellBoreName"^^xsd:string
175 + ] ;
176 + sp:arg2 [ sp:varName "createDate"^^xsd:string
177 + ]
178 + ] ;
179 + sp:variable
180 + [ sp:varName "dailyDrillingReport"^^xsd:string
181 + ]
182 + ] [ rdf:type sp:Bind ;
183 + sp:expression
184 + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
185 + sp:arg1 [ sp:varName "normalizedWellBoreName"^^xsd:string
186 + ] ;
187 + sp:arg2 [ sp:varName "dTimStart"^^xsd:string
188 + ]
189 + ] ;
190 + sp:variable
191 + [ sp:varName "dailyDrillingActivity"^^xsd:string
192 + ]
193 + ] [ rdf:type sp:Bind ;
194 + sp:expression
195 + [ rdf:type ep-spin-lib:buildTemporalPartOfAWellBoreURI ;
196 + sp:arg1 [ sp:varName "normalizedWellBoreName"^^xsd:string
197 + ] ;
198 + sp:arg2 [ sp:varName "dTimStart"^^xsd:string
199 + ] ;
200 + sp:arg3 [ sp:varName "dTimEnd"^^xsd:string
201 + ]
202 + ] ;
203 + sp:variable
204 + [ sp:varName "temporalPartOfAWellBore"^^xsd:string
205 + ]
206 + ] [ rdf:type sp:Bind ;
207 + sp:expression
208 + [ rdf:type rhspin:wellBoreByName ;
209 + arg:wellBoreName
210 + [ rdf:type xsd:string ;
211 + sp:arg1 [ sp:varName "nameWellBore"^^xsd:string
212 + ]
213 + ]
214 + ] ;
215 + sp:variable
216 + [ sp:varName "wellBore"^^xsd:string
217 + ]
218 + ])
219 + ] ;
220 + spin:rule
221 + [ rdf:type sp:Construct ;
222 + rdfs:comment "STEP 106 Create Well"^^xsd:string ;
223 + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/well#Well> ;
224 + sp:predicate rdf:type ;
225 + sp:subject _:b2
41 ] [ sp:object _:b3 ; 226 ] [ sp:object _:b3 ;
227 + sp:predicate <http://www.reportinghub.no/ep/schema/core#humanRecognizableName> ;
228 + sp:subject _:b2
229 + ] [ sp:object _:b4 ;
42 sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWell> ; 230 sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWell> ;
43 - sp:subject _:b4 231 + sp:subject _:b5
44 - ] [ sp:object _:b1 ; 232 + ] [ sp:object _:b2 ;
45 sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; 233 sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
46 - sp:subject _:b3 234 + sp:subject _:b4
47 ] [ sp:object <http://www.reportinghub.no/ep/schema/well#TemporalPartOfAWell> ; 235 ] [ sp:object <http://www.reportinghub.no/ep/schema/well#TemporalPartOfAWell> ;
48 sp:predicate rdf:type ; 236 sp:predicate rdf:type ;
49 - sp:subject _:b3 237 + sp:subject _:b4
50 - ] [ sp:object _:b5 ; 238 + ] [ sp:object _:b6 ;
51 sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ; 239 sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
52 - sp:subject _:b1 240 + sp:subject _:b2
53 ]) ; 241 ]) ;
54 - sp:where ([ sp:object _:b6 ; 242 + sp:where ([ sp:object _:b7 ;
55 sp:predicate ddr:nameWellbore ; 243 sp:predicate ddr:nameWellbore ;
56 sp:subject spin:_this 244 sp:subject spin:_this
57 - ] [ sp:object _:b2 ; 245 + ] [ sp:object _:b3 ;
58 sp:predicate ddr:nameWell ; 246 sp:predicate ddr:nameWell ;
59 sp:subject spin:_this 247 sp:subject spin:_this
60 - ] [ sp:object _:b7 ; 248 + ] [ sp:object _:b8 ;
61 sp:predicate ddr:dTimStart ; 249 sp:predicate ddr:dTimStart ;
62 sp:subject spin:_this 250 sp:subject spin:_this
63 - ] [ sp:object _:b8 ; 251 + ] [ sp:object _:b9 ;
64 sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; 252 sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
65 - sp:subject _:b4 253 + sp:subject _:b5
66 - ] [ sp:object _:b5 ; 254 + ] [ sp:object _:b6 ;
67 sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; 255 sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
68 - sp:subject _:b8 256 + sp:subject _:b9
69 ] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore> ; 257 ] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore> ;
70 sp:predicate rdf:type ; 258 sp:predicate rdf:type ;
71 - sp:subject _:b5 259 + sp:subject _:b6
72 ] [ rdf:type sp:Bind ; 260 ] [ rdf:type sp:Bind ;
73 sp:expression 261 sp:expression
74 [ rdf:type ep-spin-lib:normalizeString ; 262 [ rdf:type ep-spin-lib:normalizeString ;
75 - sp:arg1 _:b6 263 + sp:arg1 _:b7
76 ] ; 264 ] ;
77 - sp:variable _:b9 265 + sp:variable _:b10
78 ] [ rdf:type sp:Bind ; 266 ] [ rdf:type sp:Bind ;
79 sp:expression 267 sp:expression
80 [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; 268 [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
81 - sp:arg1 _:b9 ; 269 + sp:arg1 _:b10 ;
82 - sp:arg2 _:b7 270 + sp:arg2 _:b8
83 ] ; 271 ] ;
84 - sp:variable _:b4 272 + sp:variable _:b5
85 ] [ rdf:type sp:Bind ; 273 ] [ rdf:type sp:Bind ;
86 sp:expression 274 sp:expression
87 [ rdf:type ep-spin-lib:normalizeString ; 275 [ rdf:type ep-spin-lib:normalizeString ;
88 - sp:arg1 _:b2 276 + sp:arg1 _:b3
89 ] ; 277 ] ;
90 - sp:variable _:b10 278 + sp:variable _:b11
91 ] [ rdf:type sp:Bind ; 279 ] [ rdf:type sp:Bind ;
92 sp:expression 280 sp:expression
93 [ rdf:type rhspin:wellByName ; 281 [ rdf:type rhspin:wellByName ;
94 - arg:wellName _:b10 282 + arg:wellName _:b11
95 ] ; 283 ] ;
96 - sp:variable _:b1 284 + sp:variable _:b2
97 ]) 285 ])
98 ] ; 286 ] ;
99 spin:rule 287 spin:rule
100 [ rdf:type sp:Construct ; 288 [ rdf:type sp:Construct ;
101 rdfs:comment "STEP 104 Transfer dTimEnd"^^xsd:string ; 289 rdfs:comment "STEP 104 Transfer dTimEnd"^^xsd:string ;
102 - sp:templates ([ sp:object _:b11 ; 290 + sp:templates ([ sp:object _:b12 ;
103 sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; 291 sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
104 - sp:subject _:b12 292 + sp:subject _:b13
105 ]) ; 293 ]) ;
106 - sp:where ([ sp:object _:b13 ; 294 + sp:where ([ sp:object _:b14 ;
107 sp:predicate ddr:nameWellbore ; 295 sp:predicate ddr:nameWellbore ;
108 sp:subject spin:_this 296 sp:subject spin:_this
109 - ] [ sp:object _:b14 ; 297 + ] [ sp:object _:b15 ;
110 sp:predicate ddr:dTimStart ; 298 sp:predicate ddr:dTimStart ;
111 sp:subject spin:_this 299 sp:subject spin:_this
112 - ] [ sp:object _:b11 ; 300 + ] [ sp:object _:b12 ;
113 sp:predicate ddr:dTimEnd ; 301 sp:predicate ddr:dTimEnd ;
114 sp:subject spin:_this 302 sp:subject spin:_this
115 ] [ rdf:type sp:Bind ; 303 ] [ rdf:type sp:Bind ;
116 sp:expression 304 sp:expression
117 [ rdf:type ep-spin-lib:normalizeString ; 305 [ rdf:type ep-spin-lib:normalizeString ;
118 - sp:arg1 _:b13 306 + sp:arg1 _:b14
119 ] ; 307 ] ;
120 - sp:variable _:b15 308 + sp:variable _:b16
121 ] [ rdf:type sp:Bind ; 309 ] [ rdf:type sp:Bind ;
122 sp:expression 310 sp:expression
123 [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; 311 [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
124 - sp:arg1 _:b15 ; 312 + sp:arg1 _:b16 ;
125 - sp:arg2 _:b14 313 + sp:arg2 _:b15
126 ] ; 314 ] ;
127 - sp:variable _:b12 315 + sp:variable _:b13
128 ]) 316 ])
129 ] ; 317 ] ;
130 spin:rule 318 spin:rule
131 [ rdf:type sp:Construct ; 319 [ rdf:type sp:Construct ;
132 rdfs:comment """STEP 105 320 rdfs:comment """STEP 105
133 Classify a DailyDrillingReport"""^^xsd:string ; 321 Classify a DailyDrillingReport"""^^xsd:string ;
134 - sp:templates ([ sp:object _:b16 ; 322 + sp:templates ([ sp:object _:b17 ;
135 sp:predicate rdf:type ; 323 sp:predicate rdf:type ;
136 - sp:subject _:b17 324 + sp:subject _:b18
137 ]) ; 325 ]) ;
138 - sp:where ([ sp:object _:b18 ; 326 + sp:where ([ sp:object _:b19 ;
139 sp:predicate ddr:nameWellbore ; 327 sp:predicate ddr:nameWellbore ;
140 sp:subject spin:_this 328 sp:subject spin:_this
141 - ] [ sp:object _:b19 ; 329 + ] [ sp:object _:b20 ;
142 sp:predicate ddr:createDate ; 330 sp:predicate ddr:createDate ;
143 sp:subject spin:_this 331 sp:subject spin:_this
144 - ] [ sp:object _:b20 ; 332 + ] [ sp:object _:b21 ;
145 sp:predicate ddr:versionKindRef ; 333 sp:predicate ddr:versionKindRef ;
146 sp:subject spin:_this 334 sp:subject spin:_this
147 ] [ rdf:type sp:Bind ; 335 ] [ rdf:type sp:Bind ;
148 sp:expression 336 sp:expression
149 [ rdf:type ep-spin-lib:selectDailyDrillingReportType ; 337 [ rdf:type ep-spin-lib:selectDailyDrillingReportType ;
150 - sp:arg1 _:b20 338 + sp:arg1 _:b21
151 ] ; 339 ] ;
152 - sp:variable _:b16 340 + sp:variable _:b17
153 ] [ rdf:type sp:Bind ; 341 ] [ rdf:type sp:Bind ;
154 sp:expression 342 sp:expression
155 [ rdf:type ep-spin-lib:normalizeString ; 343 [ rdf:type ep-spin-lib:normalizeString ;
156 - sp:arg1 _:b18 344 + sp:arg1 _:b19
157 ] ; 345 ] ;
158 - sp:variable _:b21 346 + sp:variable _:b22
159 ] [ rdf:type sp:Bind ; 347 ] [ rdf:type sp:Bind ;
160 sp:expression 348 sp:expression
161 [ rdf:type ep-spin-lib:buildDailyDrillingReportURI ; 349 [ rdf:type ep-spin-lib:buildDailyDrillingReportURI ;
162 - sp:arg1 _:b21 ; 350 + sp:arg1 _:b22 ;
163 - sp:arg2 _:b19 351 + sp:arg2 _:b20
164 ] ; 352 ] ;
165 - sp:variable _:b17 353 + sp:variable _:b18
166 ]) 354 ])
167 ] ; 355 ] ;
168 spin:rule 356 spin:rule
169 [ rdf:type sp:Construct ; 357 [ rdf:type sp:Construct ;
170 rdfs:comment """STEP 103a Set name of DailyDrillingReport as label 358 rdfs:comment """STEP 103a Set name of DailyDrillingReport as label
171 Minimum data - createDate, dTimStart, nameWellBore"""^^xsd:string ; 359 Minimum data - createDate, dTimStart, nameWellBore"""^^xsd:string ;
172 - sp:templates ([ sp:object _:b22 ; 360 + sp:templates ([ sp:object _:b23 ;
173 sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ; 361 sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
174 - sp:subject _:b23 362 + sp:subject _:b24
175 ]) ; 363 ]) ;
176 - sp:where ([ sp:object _:b24 ; 364 + sp:where ([ sp:object _:b25 ;
177 sp:predicate ddr:nameWellbore ; 365 sp:predicate ddr:nameWellbore ;
178 sp:subject spin:_this 366 sp:subject spin:_this
179 - ] [ sp:object _:b22 ; 367 + ] [ sp:object _:b23 ;
180 sp:predicate ddr:name ; 368 sp:predicate ddr:name ;
181 sp:subject spin:_this 369 sp:subject spin:_this
182 - ] [ sp:object _:b25 ; 370 + ] [ sp:object _:b26 ;
183 - sp:predicate ddr:createDate ;
184 - sp:subject spin:_this
185 - ] [ rdf:type sp:Bind ;
186 - sp:expression
187 - [ rdf:type ep-spin-lib:normalizeString ;
188 - sp:arg1 _:b24
189 - ] ;
190 - sp:variable _:b26
191 - ] [ rdf:type sp:Bind ;
192 - sp:expression
193 - [ rdf:type ep-spin-lib:buildDailyDrillingReportURI ;
194 - sp:arg1 _:b26 ;
195 - sp:arg2 _:b25
196 - ] ;
197 - sp:variable _:b23
198 - ])
199 - ] ;
200 - spin:rule
201 - [ rdf:type sp:Construct ;
202 - rdfs:comment """STEP 103 Create DailyDrillingReport, DailyDrillingActivity, TemporalPartOfAWellBore and WellBore
203 -Minimum data - createDate, dTimStart, dTimEnd, nameWellBore
204 -Optional data - extendedReport
205 -replaced for testing - BIND (rhspin:wellBoreByName(?nameWellBore) AS ?wellBore) ."""^^xsd:string ;
206 - sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/report#DailyDrillingReport> ;
207 - sp:predicate rdf:type ;
208 - sp:subject _:b27
209 - ] [ sp:object <http://www.reportinghub.no/ep/schema/activity#DailyDrillingActivity> ;
210 - sp:predicate rdf:type ;
211 - sp:subject _:b28
212 - ] [ sp:object _:b28 ;
213 - sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
214 - sp:subject _:b27
215 - ] [ sp:object _:b29 ;
216 - sp:predicate <http://www.reportinghub.no/ep/schema/report#createdAt> ;
217 - sp:subject _:b27
218 - ] [ sp:object _:b30 ;
219 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
220 - sp:subject _:b28
221 - ] [ sp:object <http://www.reportinghub.no/ep/schema/well#TemporalPartOfAWellBore> ;
222 - sp:predicate rdf:type ;
223 - sp:subject _:b31
224 - ] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore> ;
225 - sp:predicate rdf:type ;
226 - sp:subject _:b32
227 - ] [ sp:object _:b32 ;
228 - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
229 - sp:subject _:b31
230 - ] [ sp:object _:b33 ;
231 - sp:predicate <http://www.reportinghub.no/ep/schema/core#humanRecognizableName> ;
232 - sp:subject _:b32
233 - ] [ sp:object _:b31 ;
234 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
235 - sp:subject _:b28
236 - ] [ sp:object _:b34 ;
237 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#descriptionOfActivitiesFollowingTheDailyReportingPeriod> ;
238 - sp:subject _:b28
239 - ] [ sp:object <http://www.reportinghub.no/ep/schema/report#Report> ;
240 - sp:predicate rdf:type ;
241 - sp:subject _:b34
242 - ] [ sp:object _:b35 ;
243 - sp:predicate <http://www.reportinghub.no/ep/schema/report#hasContent> ;
244 - sp:subject _:b34
245 - ] [ sp:object _:b36 ;
246 - sp:predicate <http://www.reportinghub.no/ep/schema/report#createdAt> ;
247 - sp:subject _:b34
248 - ]) ;
249 - sp:where ([ sp:object _:b33 ;
250 - sp:predicate ddr:nameWellbore ;
251 - sp:subject spin:_this
252 - ] [ sp:object _:b30 ;
253 - sp:predicate ddr:dTimStart ;
254 - sp:subject spin:_this
255 - ] [ sp:object _:b37 ;
256 - sp:predicate ddr:dTimEnd ;
257 - sp:subject spin:_this
258 - ] [ sp:object _:b29 ;
259 sp:predicate ddr:createDate ; 371 sp:predicate ddr:createDate ;
260 sp:subject spin:_this 372 sp:subject spin:_this
261 - ] [ rdf:type sp:Optional ;
262 - sp:elements ([ sp:object _:b38 ;
263 - sp:predicate ddr:extendedReportRef ;
264 - sp:subject spin:_this
265 - ] [ sp:object _:b35 ;
266 - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
267 - sp:subject _:b38
268 - ] [ rdf:type sp:Optional ;
269 - sp:elements ([ sp:object _:b36 ;
270 - sp:predicate ddr:dTim ;
271 - sp:subject _:b38
272 - ])
273 - ])
274 ] [ rdf:type sp:Bind ; 373 ] [ rdf:type sp:Bind ;
275 sp:expression 374 sp:expression
276 [ rdf:type ep-spin-lib:normalizeString ; 375 [ rdf:type ep-spin-lib:normalizeString ;
277 - sp:arg1 _:b33 376 + sp:arg1 _:b25
278 - ] ;
279 - sp:variable _:b39
280 - ] [ rdf:type sp:Bind ;
281 - sp:expression
282 - [ rdf:type ep-spin-lib:buildDailyDrillingReportURI ;
283 - sp:arg1 _:b39 ;
284 - sp:arg2 _:b29
285 ] ; 377 ] ;
286 sp:variable _:b27 378 sp:variable _:b27
287 ] [ rdf:type sp:Bind ; 379 ] [ rdf:type sp:Bind ;
288 sp:expression 380 sp:expression
289 - [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; 381 + [ rdf:type ep-spin-lib:buildDailyDrillingReportURI ;
290 - sp:arg1 _:b39 ; 382 + sp:arg1 _:b27 ;
291 - sp:arg2 _:b30 383 + sp:arg2 _:b26
292 - ] ;
293 - sp:variable _:b28
294 - ] [ rdf:type sp:Bind ;
295 - sp:expression
296 - [ rdf:type ep-spin-lib:buildTemporalPartOfAWellBoreURI ;
297 - sp:arg1 _:b39 ;
298 - sp:arg2 _:b30 ;
299 - sp:arg3 _:b37
300 - ] ;
301 - sp:variable _:b31
302 - ] [ rdf:type sp:Bind ;
303 - sp:expression
304 - [ rdf:type ep-spin-lib:buildTemporaryWellBoreURI ;
305 - sp:arg1 _:b39
306 ] ; 384 ] ;
307 - sp:variable _:b32 385 + sp:variable _:b24
308 ]) 386 ])
309 ] . 387 ] .
310 388
311 -_:b1 sp:varName "well"^^xsd:string . 389 +_:b11
390 + sp:varName "normalizedWellName"^^xsd:string .
312 391
313 _:b10 392 _:b10
314 - sp:varName "normalizedWellName"^^xsd:string . 393 + sp:varName "normalizedWellBoreName"^^xsd:string .
315 394
316 -_:b9 sp:varName "normalizedWellBoreName"^^xsd:string . 395 +_:b9 sp:varName "temporalPartOfAWellBore"^^xsd:string .
317 396
318 -_:b5 sp:varName "wellBore"^^xsd:string . 397 +_:b8 sp:varName "dTimStart"^^xsd:string .
319 398
320 -_:b8 sp:varName "temporalPartOfAWellBore"^^xsd:string . 399 +_:b7 sp:varName "nameWellBore"^^xsd:string .
321 400
322 -_:b4 sp:varName "dailyDrillingActivity"^^xsd:string . 401 +_:b6 sp:varName "wellBore"^^xsd:string .
323 402
324 -_:b7 sp:varName "dTimStart"^^xsd:string . 403 +_:b5 sp:varName "dailyDrillingActivity"^^xsd:string .
325 404
326 -_:b2 sp:varName "nameWell"^^xsd:string . 405 +_:b3 sp:varName "nameWell"^^xsd:string .
327 406
328 -_:b6 sp:varName "nameWellBore"^^xsd:string . 407 +_:b2 sp:varName "well"^^xsd:string .
329 408
330 -_:b15 409 +_:b16
331 sp:varName "normalizedWellBoreName"^^xsd:string . 410 sp:varName "normalizedWellBoreName"^^xsd:string .
332 411
333 -_:b14 412 +_:b15
334 sp:varName "dTimStart"^^xsd:string . 413 sp:varName "dTimStart"^^xsd:string .
335 414
336 -_:b13 415 +_:b14
337 sp:varName "nameWellBore"^^xsd:string . 416 sp:varName "nameWellBore"^^xsd:string .
338 417
339 -_:b12 418 +_:b13
340 sp:varName "dailyDrillingActivity"^^xsd:string . 419 sp:varName "dailyDrillingActivity"^^xsd:string .
341 420
342 -_:b11 421 +_:b12
343 sp:varName "dTimEnd"^^xsd:string . 422 sp:varName "dTimEnd"^^xsd:string .
344 423
345 -_:b21 424 +_:b22
346 sp:varName "normalizedWellBoreName"^^xsd:string . 425 sp:varName "normalizedWellBoreName"^^xsd:string .
347 426
348 -_:b20 427 +_:b21
349 sp:varName "versionKind"^^xsd:string . 428 sp:varName "versionKind"^^xsd:string .
350 429
351 -_:b19 430 +_:b20
352 sp:varName "createDate"^^xsd:string . 431 sp:varName "createDate"^^xsd:string .
353 432
354 -_:b18 433 +_:b19
355 sp:varName "nameWellBore"^^xsd:string . 434 sp:varName "nameWellBore"^^xsd:string .
356 435
357 -_:b17 436 +_:b18
358 sp:varName "dailyDrillingReport"^^xsd:string . 437 sp:varName "dailyDrillingReport"^^xsd:string .
359 438
360 -_:b16 439 +_:b17
361 sp:varName "dailyDrillingReportType"^^xsd:string . 440 sp:varName "dailyDrillingReportType"^^xsd:string .
362 441
363 -_:b26 442 +_:b27
364 sp:varName "normalizedWellBoreName"^^xsd:string . 443 sp:varName "normalizedWellBoreName"^^xsd:string .
365 444
366 -_:b25 445 +_:b26
367 sp:varName "createDate"^^xsd:string . 446 sp:varName "createDate"^^xsd:string .
368 447
369 -_:b24 448 +_:b25
370 sp:varName "nameWellBore"^^xsd:string . 449 sp:varName "nameWellBore"^^xsd:string .
371 450
372 -_:b23 451 +_:b24
373 sp:varName "dailyDrillingReport"^^xsd:string . 452 sp:varName "dailyDrillingReport"^^xsd:string .
374 453
375 -_:b22 454 +_:b23
376 sp:varName "nameDailyDrillingReport"^^xsd:string . 455 sp:varName "nameDailyDrillingReport"^^xsd:string .
377 -
378 -_:b39
379 - sp:varName "normalizedWellBoreName"^^xsd:string .
380 -
381 -_:b38
382 - sp:varName "extendedReport"^^xsd:string .
383 -
384 -_:b37
385 - sp:varName "dTimEnd"^^xsd:string .
386 -
387 -_:b36
388 - sp:varName "dTimExtendedReport"^^xsd:string .
389 -
390 -_:b35
391 - sp:varName "extendedReportContent"^^xsd:string .
392 -
393 -_:b33
394 - sp:varName "nameWellBore"^^xsd:string .
395 -
396 -_:b32
397 - sp:varName "wellBore"^^xsd:string .
398 -
399 -_:b31
400 - sp:varName "temporalPartOfAWellBore"^^xsd:string .
401 -
402 -_:b30
403 - sp:varName "dTimStart"^^xsd:string .
404 -
405 -_:b29
406 - sp:varName "createDate"^^xsd:string .
407 -
408 -_:b28
409 - sp:varName "dailyDrillingActivity"^^xsd:string .
410 -
411 -_:b27
412 - sp:varName "dailyDrillingReport"^^xsd:string .
......
...@@ -415,12 +415,19 @@ rhspin:ddrActivityStartDate ...@@ -415,12 +415,19 @@ rhspin:ddrActivityStartDate
415 spin:body 415 spin:body
416 [ rdf:type sp:Select ; 416 [ rdf:type sp:Select ;
417 sp:resultVariables ([ rdf:type xsd:date ; 417 sp:resultVariables ([ rdf:type xsd:date ;
418 - sp:arg1 _:b18 418 + sp:arg1 [ rdf:type xsd:dateTime ;
419 + sp:arg1 [ rdf:type xsd:string ;
420 + sp:arg1 [ sp:varName "startedAt"^^xsd:string
421 + ]
422 + ]
423 + ]
419 ]) ; 424 ]) ;
420 sp:where ([ rdf:type sp:TriplePath ; 425 sp:where ([ rdf:type sp:TriplePath ;
421 - sp:object _:b18 ; 426 + sp:object
427 + [ sp:varName "startedAt"^^xsd:string
428 + ] ;
422 sp:path [ rdf:type sp:SeqPath ; 429 sp:path [ rdf:type sp:SeqPath ;
423 - sp:path1 <http://www.reportinghub.no/ep/schema/activity#reportOn> ; 430 + sp:path1 <http://www.reportinghub.no/ep/schema/report#reportOn> ;
424 sp:path2 <http://www.reportinghub.no/ep/schema/activity#startedAt> 431 sp:path2 <http://www.reportinghub.no/ep/schema/activity#startedAt>
425 ] ; 432 ] ;
426 sp:subject 433 sp:subject
...@@ -443,13 +450,16 @@ rhspin:ddrWellBoreId ...@@ -443,13 +450,16 @@ rhspin:ddrWellBoreId
443 rdfs:subClassOf spin:Functions ; 450 rdfs:subClassOf spin:Functions ;
444 spin:body 451 spin:body
445 [ rdf:type sp:Select ; 452 [ rdf:type sp:Select ;
446 - sp:resultVariables (_:b19) ; 453 + sp:resultVariables ([ sp:varName "id"^^xsd:string
454 + ]) ;
447 sp:where ([ rdf:type sp:TriplePath ; 455 sp:where ([ rdf:type sp:TriplePath ;
448 - sp:object _:b20 ; 456 + sp:object
457 + [ sp:varName "wellBore"^^xsd:string
458 + ] ;
449 sp:path [ rdf:type sp:SeqPath ; 459 sp:path [ rdf:type sp:SeqPath ;
450 sp:path1 460 sp:path1
451 [ rdf:type sp:SeqPath ; 461 [ rdf:type sp:SeqPath ;
452 - sp:path1 <http://www.reportinghub.no/ep/schema/activity#reportOn> ; 462 + sp:path1 <http://www.reportinghub.no/ep/schema/report#reportOn> ;
453 sp:path2 <http://www.reportinghub.no/ep/schema/activity#onWellBore> 463 sp:path2 <http://www.reportinghub.no/ep/schema/activity#onWellBore>
454 ] ; 464 ] ;
455 sp:path2 <http://www.reportinghub.no/ep/schema/core#temporalPartOf> 465 sp:path2 <http://www.reportinghub.no/ep/schema/core#temporalPartOf>
...@@ -458,9 +468,13 @@ rhspin:ddrWellBoreId ...@@ -458,9 +468,13 @@ rhspin:ddrWellBoreId
458 [ sp:varName "ddr"^^xsd:string 468 [ sp:varName "ddr"^^xsd:string
459 ] 469 ]
460 ] [ rdf:type sp:NamedGraph ; 470 ] [ rdf:type sp:NamedGraph ;
461 - sp:elements ([ sp:object _:b19 ; 471 + sp:elements ([ sp:object
472 + [ sp:varName "id"^^xsd:string
473 + ] ;
462 sp:predicate <http://www.reportinghub.no/np/schema/npd#id> ; 474 sp:predicate <http://www.reportinghub.no/np/schema/npd#id> ;
463 - sp:subject _:b20 475 + sp:subject
476 + [ sp:varName "wellBore"^^xsd:string
477 + ]
464 ]) ; 478 ]) ;
465 sp:graphNameNode npdata:npd 479 sp:graphNameNode npdata:npd
466 ]) 480 ])
...@@ -502,13 +516,13 @@ rhspin:dtypeValue ...@@ -502,13 +516,13 @@ rhspin:dtypeValue
502 rdfs:subClassOf spl:OntologyFunctions ; 516 rdfs:subClassOf spl:OntologyFunctions ;
503 spin:body 517 spin:body
504 [ rdf:type sp:Select ; 518 [ rdf:type sp:Select ;
505 - sp:resultVariables (_:b21) ; 519 + sp:resultVariables (_:b18) ;
506 - sp:where ([ sp:object _:b22 ; 520 + sp:where ([ sp:object _:b19 ;
507 sp:predicate spin:_arg2 ; 521 sp:predicate spin:_arg2 ;
508 sp:subject spin:_arg1 522 sp:subject spin:_arg1
509 - ] [ sp:object _:b21 ; 523 + ] [ sp:object _:b18 ;
510 sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; 524 sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
511 - sp:subject _:b22 525 + sp:subject _:b19
512 ]) 526 ])
513 ] ; 527 ] ;
514 spin:constraint 528 spin:constraint
...@@ -576,14 +590,17 @@ rhspin:graphForDDR ...@@ -576,14 +590,17 @@ rhspin:graphForDDR
576 spin:body 590 spin:body
577 [ rdf:type sp:Select ; 591 [ rdf:type sp:Select ;
578 sp:resultVariables ([ rdf:type sp:iri ; 592 sp:resultVariables ([ rdf:type sp:iri ;
579 - sp:arg1 _:b23 593 + sp:arg1 [ sp:varName "uri"^^xsd:string
594 + ]
580 ]) ; 595 ]) ;
581 sp:where ([ rdf:type sp:TriplePath ; 596 sp:where ([ rdf:type sp:TriplePath ;
582 - sp:object _:b24 ; 597 + sp:object
598 + [ sp:varName "wellBore"^^xsd:string
599 + ] ;
583 sp:path [ rdf:type sp:SeqPath ; 600 sp:path [ rdf:type sp:SeqPath ;
584 sp:path1 601 sp:path1
585 [ rdf:type sp:SeqPath ; 602 [ rdf:type sp:SeqPath ;
586 - sp:path1 <http://www.reportinghub.no/ep/schema/activity#reportOn> ; 603 + sp:path1 <http://www.reportinghub.no/ep/schema/report#reportOn> ;
587 sp:path2 <http://www.reportinghub.no/ep/schema/activity#onWellBore> 604 sp:path2 <http://www.reportinghub.no/ep/schema/activity#onWellBore>
588 ] ; 605 ] ;
589 sp:path2 <http://www.reportinghub.no/ep/schema/core#temporalPartOf> 606 sp:path2 <http://www.reportinghub.no/ep/schema/core#temporalPartOf>
...@@ -592,21 +609,32 @@ rhspin:graphForDDR ...@@ -592,21 +609,32 @@ rhspin:graphForDDR
592 [ sp:varName "ddr"^^xsd:string 609 [ sp:varName "ddr"^^xsd:string
593 ] 610 ]
594 ] [ rdf:type sp:NamedGraph ; 611 ] [ rdf:type sp:NamedGraph ;
595 - sp:elements ([ sp:object _:b25 ; 612 + sp:elements ([ sp:object
613 + [ sp:varName "licence"^^xsd:string
614 + ] ;
596 sp:predicate <http://www.reportinghub.no/np/schema/npd#drilledInProductionLicence> ; 615 sp:predicate <http://www.reportinghub.no/np/schema/npd#drilledInProductionLicence> ;
597 - sp:subject _:b24 616 + sp:subject
598 - ] [ sp:object _:b26 ; 617 + [ sp:varName "wellBore"^^xsd:string
618 + ]
619 + ] [ sp:object
620 + [ sp:varName "id"^^xsd:string
621 + ] ;
599 sp:predicate <http://www.reportinghub.no/np/schema/npd#id> ; 622 sp:predicate <http://www.reportinghub.no/np/schema/npd#id> ;
600 - sp:subject _:b25 623 + sp:subject
624 + [ sp:varName "licence"^^xsd:string
625 + ]
601 ]) ; 626 ]) ;
602 sp:graphNameNode npdata:npd 627 sp:graphNameNode npdata:npd
603 ] [ rdf:type sp:Bind ; 628 ] [ rdf:type sp:Bind ;
604 sp:expression 629 sp:expression
605 [ rdf:type fn:concat ; 630 [ rdf:type fn:concat ;
606 sp:arg1 "https://www.reportinghub.no/ep/graph/licence-" ; 631 sp:arg1 "https://www.reportinghub.no/ep/graph/licence-" ;
607 - sp:arg2 _:b26 632 + sp:arg2 [ sp:varName "id"^^xsd:string
633 + ]
608 ] ; 634 ] ;
609 - sp:variable _:b23 635 + sp:variable
636 + [ sp:varName "uri"^^xsd:string
637 + ]
610 ]) 638 ])
611 ] ; 639 ] ;
612 spin:constraint 640 spin:constraint
...@@ -702,9 +730,9 @@ rhspin:licenceForWellBore ...@@ -702,9 +730,9 @@ rhspin:licenceForWellBore
702 rdfs:subClassOf spin:Functions ; 730 rdfs:subClassOf spin:Functions ;
703 spin:body 731 spin:body
704 [ rdf:type sp:Select ; 732 [ rdf:type sp:Select ;
705 - sp:resultVariables (_:b27) ; 733 + sp:resultVariables (_:b20) ;
706 sp:where ([ rdf:type sp:NamedGraph ; 734 sp:where ([ rdf:type sp:NamedGraph ;
707 - sp:elements ([ sp:object _:b27 ; 735 + sp:elements ([ sp:object _:b20 ;
708 sp:predicate <http://www.reportinghub.no/np/schema/npd#drilledInProductionLicence> ; 736 sp:predicate <http://www.reportinghub.no/np/schema/npd#drilledInProductionLicence> ;
709 sp:subject 737 sp:subject
710 [ sp:varName "wellBore"^^xsd:string 738 [ sp:varName "wellBore"^^xsd:string
...@@ -728,7 +756,7 @@ rhspin:normalizeString ...@@ -728,7 +756,7 @@ rhspin:normalizeString
728 rdfs:subClassOf spl:StringFunctions ; 756 rdfs:subClassOf spl:StringFunctions ;
729 spin:body 757 spin:body
730 [ rdf:type sp:Select ; 758 [ rdf:type sp:Select ;
731 - sp:resultVariables (_:b28) ; 759 + sp:resultVariables (_:b21) ;
732 sp:where ([ rdf:type sp:Bind ; 760 sp:where ([ rdf:type sp:Bind ;
733 sp:expression 761 sp:expression
734 [ rdf:type spif:regex ; 762 [ rdf:type spif:regex ;
...@@ -736,67 +764,67 @@ rhspin:normalizeString ...@@ -736,67 +764,67 @@ rhspin:normalizeString
736 sp:arg2 "\\((.*)\\)" ; 764 sp:arg2 "\\((.*)\\)" ;
737 sp:arg3 "" 765 sp:arg3 ""
738 ] ; 766 ] ;
739 - sp:variable _:b29 767 + sp:variable _:b22
740 ] [ rdf:type sp:Bind ; 768 ] [ rdf:type sp:Bind ;
741 sp:expression 769 sp:expression
742 [ rdf:type spif:trim ; 770 [ rdf:type spif:trim ;
743 - sp:arg1 _:b29 771 + sp:arg1 _:b22
744 ] ; 772 ] ;
745 - sp:variable _:b30 773 + sp:variable _:b23
746 ] [ rdf:type sp:Bind ; 774 ] [ rdf:type sp:Bind ;
747 sp:expression 775 sp:expression
748 [ rdf:type spif:encodeURL ; 776 [ rdf:type spif:encodeURL ;
749 - sp:arg1 _:b30 777 + sp:arg1 _:b23
750 ] ; 778 ] ;
751 - sp:variable _:b31 779 + sp:variable _:b24
752 ] [ rdf:type sp:Bind ; 780 ] [ rdf:type sp:Bind ;
753 sp:expression 781 sp:expression
754 [ rdf:type spif:regex ; 782 [ rdf:type spif:regex ;
755 - sp:arg1 _:b31 ; 783 + sp:arg1 _:b24 ;
756 sp:arg2 "%2F" ; 784 sp:arg2 "%2F" ;
757 sp:arg3 "_" 785 sp:arg3 "_"
758 ] ; 786 ] ;
759 - sp:variable _:b32 787 + sp:variable _:b25
760 ] [ rdf:type sp:Bind ; 788 ] [ rdf:type sp:Bind ;
761 sp:expression 789 sp:expression
762 [ rdf:type spif:regex ; 790 [ rdf:type spif:regex ;
763 - sp:arg1 _:b32 ; 791 + sp:arg1 _:b25 ;
764 sp:arg2 "%[0-9A-F][0-9A-F]" ; 792 sp:arg2 "%[0-9A-F][0-9A-F]" ;
765 sp:arg3 "" 793 sp:arg3 ""
766 ] ; 794 ] ;
767 - sp:variable _:b33 795 + sp:variable _:b26
768 ] [ rdf:type sp:Bind ; 796 ] [ rdf:type sp:Bind ;
769 sp:expression 797 sp:expression
770 [ rdf:type spif:regex ; 798 [ rdf:type spif:regex ;
771 - sp:arg1 _:b33 ; 799 + sp:arg1 _:b26 ;
772 sp:arg2 "\\+" ; 800 sp:arg2 "\\+" ;
773 sp:arg3 "_" 801 sp:arg3 "_"
774 ] ; 802 ] ;
775 - sp:variable _:b34 803 + sp:variable _:b27
776 ] [ rdf:type sp:Bind ; 804 ] [ rdf:type sp:Bind ;
777 sp:expression 805 sp:expression
778 [ rdf:type spif:regex ; 806 [ rdf:type spif:regex ;
779 - sp:arg1 _:b34 ; 807 + sp:arg1 _:b27 ;
780 sp:arg2 "_+" ; 808 sp:arg2 "_+" ;
781 sp:arg3 "_" 809 sp:arg3 "_"
782 ] ; 810 ] ;
783 - sp:variable _:b35 811 + sp:variable _:b28
784 ] [ rdf:type sp:Bind ; 812 ] [ rdf:type sp:Bind ;
785 sp:expression 813 sp:expression
786 [ rdf:type spif:regex ; 814 [ rdf:type spif:regex ;
787 - sp:arg1 _:b35 ; 815 + sp:arg1 _:b28 ;
788 sp:arg2 "\\*" ; 816 sp:arg2 "\\*" ;
789 sp:arg3 "" 817 sp:arg3 ""
790 ] ; 818 ] ;
791 - sp:variable _:b36 819 + sp:variable _:b29
792 ] [ rdf:type sp:Bind ; 820 ] [ rdf:type sp:Bind ;
793 sp:expression 821 sp:expression
794 [ rdf:type xsd:string ; 822 [ rdf:type xsd:string ;
795 sp:arg1 [ rdf:type spif:upperCase ; 823 sp:arg1 [ rdf:type spif:upperCase ;
796 - sp:arg1 _:b36 824 + sp:arg1 _:b29
797 ] 825 ]
798 ] ; 826 ] ;
799 - sp:variable _:b28 827 + sp:variable _:b21
800 ]) 828 ])
801 ] ; 829 ] ;
802 spin:constraint 830 spin:constraint
...@@ -813,9 +841,9 @@ rhspin:npdId ...@@ -813,9 +841,9 @@ rhspin:npdId
813 rdfs:subClassOf spl:StringFunctions ; 841 rdfs:subClassOf spl:StringFunctions ;
814 spin:body 842 spin:body
815 [ rdf:type sp:Select ; 843 [ rdf:type sp:Select ;
816 - sp:resultVariables (_:b37) ; 844 + sp:resultVariables (_:b30) ;
817 sp:where ([ rdf:type sp:NamedGraph ; 845 sp:where ([ rdf:type sp:NamedGraph ;
818 - sp:elements ([ sp:object _:b37 ; 846 + sp:elements ([ sp:object _:b30 ;
819 sp:predicate <http://www.reportinghub.no/np/schema/npd#id> ; 847 sp:predicate <http://www.reportinghub.no/np/schema/npd#id> ;
820 sp:subject 848 sp:subject
821 [ sp:varName "resource"^^xsd:string 849 [ sp:varName "resource"^^xsd:string
...@@ -838,9 +866,9 @@ rhspin:npdName ...@@ -838,9 +866,9 @@ rhspin:npdName
838 rdfs:subClassOf spl:StringFunctions ; 866 rdfs:subClassOf spl:StringFunctions ;
839 spin:body 867 spin:body
840 [ rdf:type sp:Select ; 868 [ rdf:type sp:Select ;
841 - sp:resultVariables (_:b38) ; 869 + sp:resultVariables (_:b31) ;
842 sp:where ([ rdf:type sp:NamedGraph ; 870 sp:where ([ rdf:type sp:NamedGraph ;
843 - sp:elements ([ sp:object _:b38 ; 871 + sp:elements ([ sp:object _:b31 ;
844 sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; 872 sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
845 sp:subject 873 sp:subject
846 [ sp:varName "resource"^^xsd:string 874 [ sp:varName "resource"^^xsd:string
...@@ -993,16 +1021,16 @@ rhspin:wellBoreByName ...@@ -993,16 +1021,16 @@ rhspin:wellBoreByName
993 rdfs:subClassOf spl:URIFunctions ; 1021 rdfs:subClassOf spl:URIFunctions ;
994 spin:body 1022 spin:body
995 [ rdf:type sp:Select ; 1023 [ rdf:type sp:Select ;
996 - sp:resultVariables (_:b39) ; 1024 + sp:resultVariables (_:b32) ;
997 sp:where ([ rdf:type sp:NamedGraph ; 1025 sp:where ([ rdf:type sp:NamedGraph ;
998 sp:elements ([ sp:object 1026 sp:elements ([ sp:object
999 [ sp:varName "wellBoreName"^^xsd:string 1027 [ sp:varName "wellBoreName"^^xsd:string
1000 ] ; 1028 ] ;
1001 sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; 1029 sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
1002 - sp:subject _:b39 1030 + sp:subject _:b32
1003 ] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore> ; 1031 ] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore> ;
1004 sp:predicate rdf:type ; 1032 sp:predicate rdf:type ;
1005 - sp:subject _:b39 1033 + sp:subject _:b32
1006 ]) ; 1034 ]) ;
1007 sp:graphNameNode npdata:npd 1035 sp:graphNameNode npdata:npd
1008 ]) 1036 ])
...@@ -1041,71 +1069,50 @@ rhspin:wellByName ...@@ -1041,71 +1069,50 @@ rhspin:wellByName
1041 ] ; 1069 ] ;
1042 spin:returnType <http://www.reportinghub.no/ep/schema/well#Well> . 1070 spin:returnType <http://www.reportinghub.no/ep/schema/well#Well> .
1043 1071
1044 -_:b39
1045 - sp:varName "wellBore"^^xsd:string .
1046 -
1047 -_:b38
1048 - sp:varName "name"^^xsd:string .
1049 -
1050 -_:b37
1051 - sp:varName "id"^^xsd:string .
1052 -
1053 -_:b36
1054 - sp:varName "t4"^^xsd:string .
1055 -
1056 -_:b35
1057 - sp:varName "t3"^^xsd:string .
1058 -
1059 -_:b34
1060 - sp:varName "t2"^^xsd:string .
1061 -
1062 -_:b33
1063 - sp:varName "t1"^^xsd:string .
1064 -
1065 _:b32 1072 _:b32
1066 - sp:varName "t0b"^^xsd:string . 1073 + sp:varName "wellBore"^^xsd:string .
1067 1074
1068 _:b31 1075 _:b31
1069 - sp:varName "t0a"^^xsd:string . 1076 + sp:varName "name"^^xsd:string .
1070 1077
1071 _:b30 1078 _:b30
1072 - sp:varName "s2"^^xsd:string . 1079 + sp:varName "id"^^xsd:string .
1073 1080
1074 _:b29 1081 _:b29
1075 - sp:varName "s1"^^xsd:string . 1082 + sp:varName "t4"^^xsd:string .
1076 1083
1077 _:b28 1084 _:b28
1078 - sp:varName "normalizedStr"^^xsd:string . 1085 + sp:varName "t3"^^xsd:string .
1079 1086
1080 _:b27 1087 _:b27
1081 - sp:varName "licence"^^xsd:string . 1088 + sp:varName "t2"^^xsd:string .
1082 1089
1083 _:b26 1090 _:b26
1084 - sp:varName "id"^^xsd:string . 1091 + sp:varName "t1"^^xsd:string .
1085 1092
1086 _:b25 1093 _:b25
1087 - sp:varName "licence"^^xsd:string . 1094 + sp:varName "t0b"^^xsd:string .
1088 1095
1089 _:b24 1096 _:b24
1090 - sp:varName "wellBore"^^xsd:string . 1097 + sp:varName "t0a"^^xsd:string .
1091 1098
1092 _:b23 1099 _:b23
1093 - sp:varName "uri"^^xsd:string . 1100 + sp:varName "s2"^^xsd:string .
1094 1101
1095 _:b22 1102 _:b22
1096 - sp:varName "reif"^^xsd:string . 1103 + sp:varName "s1"^^xsd:string .
1097 1104
1098 _:b21 1105 _:b21
1099 - sp:varName "value"^^xsd:string . 1106 + sp:varName "normalizedStr"^^xsd:string .
1100 1107
1101 _:b20 1108 _:b20
1102 - sp:varName "wellBore"^^xsd:string . 1109 + sp:varName "licence"^^xsd:string .
1103 1110
1104 _:b19 1111 _:b19
1105 - sp:varName "id"^^xsd:string . 1112 + sp:varName "reif"^^xsd:string .
1106 1113
1107 _:b18 1114 _:b18
1108 - sp:varName "startedAt"^^xsd:string . 1115 + sp:varName "value"^^xsd:string .
1109 1116
1110 _:b17 1117 _:b17
1111 sp:varName "wellBore"^^xsd:string . 1118 sp:varName "wellBore"^^xsd:string .
......