David Price

Minor update to bit record transform and bit size function rename.

...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
31 31
32 <http://www.reportinghub.no/ep/spin/1.1/lib> 32 <http://www.reportinghub.no/ep/spin/1.1/lib>
33 rdf:type owl:Ontology ; 33 rdf:type owl:Ontology ;
34 - owl:imports <http://www.reportinghub.no/spin/rh> , <http://www.reportinghub.no/ep/schema/1.0/drilling-equipment-type> , <http://www.reportinghub.no/ep/schema/1.0/report> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://spinrdf.org/spin> , <http://www.witsml.org/schemas/1series> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/activity-purpose> , <http://www.reportinghub.no/ep/schema/1.0/facility> ; 34 + owl:imports <http://www.reportinghub.no/spin/rh> , <http://www.reportinghub.no/ep/schema/1.0/drilling-equipment-type> , <http://www.reportinghub.no/ep/schema/1.0/report> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://spinrdf.org/spin> , <http://www.witsml.org/schemas/1series> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/schema/1.0/activity-purpose> ;
35 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 35 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
36 36
37 ep-spin-lib:Function 37 ep-spin-lib:Function
...@@ -121,9 +121,9 @@ ep-spin-lib:buildDailyDrillingReportURI ...@@ -121,9 +121,9 @@ ep-spin-lib:buildDailyDrillingReportURI
121 ]) 121 ])
122 ] . 122 ] .
123 123
124 -ep-spin-lib:buildDrillBitClassURI 124 +ep-spin-lib:buildDrillBitSizeClassURI
125 rdf:type spin:Function ; 125 rdf:type spin:Function ;
126 - rdfs:label "build WellBoreDrillBitClass URI"^^xsd:string ; 126 + rdfs:label "build WellBoreDrillBitSizeClass URI"^^xsd:string ;
127 rdfs:subClassOf ep-spin-lib:Function ; 127 rdfs:subClassOf ep-spin-lib:Function ;
128 spin:body 128 spin:body
129 [ rdf:type sp:Select ; 129 [ rdf:type sp:Select ;
...@@ -569,12 +569,12 @@ ep-spin-lib:buildURI ...@@ -569,12 +569,12 @@ ep-spin-lib:buildURI
569 ] ; 569 ] ;
570 spin:constraint 570 spin:constraint
571 [ rdf:type spl:Argument ; 571 [ rdf:type spl:Argument ;
572 - spl:predicate sp:arg2 ; 572 + spl:predicate sp:arg1 ;
573 spl:valueType xsd:string 573 spl:valueType xsd:string
574 ] ; 574 ] ;
575 spin:constraint 575 spin:constraint
576 [ rdf:type spl:Argument ; 576 [ rdf:type spl:Argument ;
577 - spl:predicate sp:arg1 ; 577 + spl:predicate sp:arg2 ;
578 spl:valueType xsd:string 578 spl:valueType xsd:string
579 ] . 579 ] .
580 580
......
1 -# Saved by TopBraid on Fri Oct 28 22:28:33 BST 2011 1 +# Saved by TopBraid on Wed Nov 02 11:51:44 GMT 2011
2 # baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/bitRecord 2 # baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/bitRecord
3 # imports: http://www.reportinghub.no/ep/spin/1.1/lib 3 # imports: http://www.reportinghub.no/ep/spin/1.1/lib
4 # imports: http://www.witsml.org/schemas/1series 4 # imports: http://www.witsml.org/schemas/1series
...@@ -78,6 +78,9 @@ ...@@ -78,6 +78,9 @@
78 ] [ sp:object _:b11 ; 78 ] [ sp:object _:b11 ;
79 sp:predicate rdf:type ; 79 sp:predicate rdf:type ;
80 sp:subject _:b9 80 sp:subject _:b9
81 + ] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#DrillBit> ;
82 + sp:predicate rdfs:subClassOf ;
83 + sp:subject _:b11
81 ] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#ClassOfDrillBitBySize> ; 84 ] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#ClassOfDrillBitBySize> ;
82 sp:predicate rdf:type ; 85 sp:predicate rdf:type ;
83 sp:subject _:b11 86 sp:subject _:b11
...@@ -190,7 +193,7 @@ ...@@ -190,7 +193,7 @@
190 sp:variable _:b12 193 sp:variable _:b12
191 ] [ rdf:type sp:Bind ; 194 ] [ rdf:type sp:Bind ;
192 sp:expression 195 sp:expression
193 - [ rdf:type ep-spin-lib:buildDrillBitClassURI ; 196 + [ rdf:type ep-spin-lib:buildDrillBitSizeClassURI ;
194 sp:arg1 _:b12 197 sp:arg1 _:b12
195 ] ; 198 ] ;
196 sp:variable _:b11 199 sp:variable _:b11
...@@ -716,6 +719,95 @@ ...@@ -716,6 +719,95 @@
716 ]) 719 ])
717 ] . 720 ] .
718 721
722 +_:b7 sp:varName "wellBore"^^xsd:string .
723 +
724 +_:b11
725 + sp:varName "wellBoreDrillBitSizeClass"^^xsd:string .
726 +
727 +_:b12
728 + sp:varName "diaName"^^xsd:string .
729 +
730 +_:b9 sp:varName "drillBitForWellBore"^^xsd:string .
731 +
732 +_:b25
733 + sp:varName "normalizedNumBit"^^xsd:string .
734 +
735 +_:b1 sp:varName "wellBoreDrillBitRun"^^xsd:string .
736 +
737 +_:b24
738 + sp:varName "localname"^^xsd:string .
739 +
740 +_:b4 sp:varName "dailyDrillingActivity"^^xsd:string .
741 +
742 +_:b23
743 + sp:varName "normalizedWellBoreName"^^xsd:string .
744 +
745 +_:b16
746 + sp:varName "codeMfg"^^xsd:string .
747 +
748 +_:b14
749 + sp:varName "nameManufacturer"^^xsd:string .
750 +
751 +_:b22
752 + sp:varName "realDia"^^xsd:string .
753 +
754 +_:b21
755 + sp:varName "uomDia"^^xsd:string .
756 +
757 +_:b20
758 + sp:varName "diaBit"^^xsd:string .
759 +
760 +_:b10
761 + sp:varName "numBit"^^xsd:string .
762 +
763 +_:b19
764 + sp:varName "bitRecord"^^xsd:string .
765 +
766 +_:b18
767 + sp:varName "dTimStart"^^xsd:string .
768 +
769 +_:b17
770 + sp:varName "nameWellBore"^^xsd:string .
771 +
772 +_:b114
773 + sp:varName "normalizedDullGradeLabel"^^xsd:string .
774 +
775 +_:b113
776 + sp:varName "normalizedNumBit"^^xsd:string .
777 +
778 +_:b112
779 + sp:varName "localname"^^xsd:string .
780 +
781 +_:b111
782 + sp:varName "normalizedWellBoreName"^^xsd:string .
783 +
784 +_:b110
785 + sp:varName "drillBitForWellBore"^^xsd:string .
786 +
787 +_:b109
788 + sp:varName "wellBoreDrillBitRun"^^xsd:string .
789 +
790 +_:b108
791 + sp:varName "numBit"^^xsd:string .
792 +
793 +_:b107
794 + sp:varName "bitRecord"^^xsd:string .
795 +
796 +_:b106
797 + sp:varName "dTimStart"^^xsd:string .
798 +
799 +_:b105
800 + sp:varName "nameWellBore"^^xsd:string .
801 +
802 +_:b104
803 + sp:varName "temporalPartOfADrillBit"^^xsd:string .
804 +
805 +_:b103
806 + sp:varName "dullGradeLabel"^^xsd:string .
807 +
808 +_:b102
809 + sp:varName "dullGrade"^^xsd:string .
810 +
719 _:b38 811 _:b38
720 sp:varName "normalizedDullGradeLabel"^^xsd:string . 812 sp:varName "normalizedDullGradeLabel"^^xsd:string .
721 813
...@@ -913,92 +1005,3 @@ _:b41 ...@@ -913,92 +1005,3 @@ _:b41
913 1005
914 _:b40 1006 _:b40
915 sp:varName "wellBoreDrillBitRun"^^xsd:string . 1007 sp:varName "wellBoreDrillBitRun"^^xsd:string .
916 -
917 -_:b105
918 - sp:varName "nameWellBore"^^xsd:string .
919 -
920 -_:b106
921 - sp:varName "dTimStart"^^xsd:string .
922 -
923 -_:b107
924 - sp:varName "bitRecord"^^xsd:string .
925 -
926 -_:b108
927 - sp:varName "numBit"^^xsd:string .
928 -
929 -_:b103
930 - sp:varName "dullGradeLabel"^^xsd:string .
931 -
932 -_:b109
933 - sp:varName "wellBoreDrillBitRun"^^xsd:string .
934 -
935 -_:b104
936 - sp:varName "temporalPartOfADrillBit"^^xsd:string .
937 -
938 -_:b110
939 - sp:varName "drillBitForWellBore"^^xsd:string .
940 -
941 -_:b102
942 - sp:varName "dullGrade"^^xsd:string .
943 -
944 -_:b111
945 - sp:varName "normalizedWellBoreName"^^xsd:string .
946 -
947 -_:b112
948 - sp:varName "localname"^^xsd:string .
949 -
950 -_:b113
951 - sp:varName "normalizedNumBit"^^xsd:string .
952 -
953 -_:b114
954 - sp:varName "normalizedDullGradeLabel"^^xsd:string .
955 -
956 -_:b17
957 - sp:varName "nameWellBore"^^xsd:string .
958 -
959 -_:b18
960 - sp:varName "dTimStart"^^xsd:string .
961 -
962 -_:b19
963 - sp:varName "bitRecord"^^xsd:string .
964 -
965 -_:b10
966 - sp:varName "numBit"^^xsd:string .
967 -
968 -_:b20
969 - sp:varName "diaBit"^^xsd:string .
970 -
971 -_:b21
972 - sp:varName "uomDia"^^xsd:string .
973 -
974 -_:b22
975 - sp:varName "realDia"^^xsd:string .
976 -
977 -_:b14
978 - sp:varName "nameManufacturer"^^xsd:string .
979 -
980 -_:b16
981 - sp:varName "codeMfg"^^xsd:string .
982 -
983 -_:b23
984 - sp:varName "normalizedWellBoreName"^^xsd:string .
985 -
986 -_:b4 sp:varName "dailyDrillingActivity"^^xsd:string .
987 -
988 -_:b24
989 - sp:varName "localname"^^xsd:string .
990 -
991 -_:b1 sp:varName "wellBoreDrillBitRun"^^xsd:string .
992 -
993 -_:b25
994 - sp:varName "normalizedNumBit"^^xsd:string .
995 -
996 -_:b9 sp:varName "drillBitForWellBore"^^xsd:string .
997 -
998 -_:b12
999 - sp:varName "diaName"^^xsd:string .
1000 -
1001 -_:b11
1002 - sp:varName "wellBoreDrillBitSizeClass"^^xsd:string .
1003 -
1004 -_:b7 sp:varName "wellBore"^^xsd:string .
......