David Leal

Fixed remaining DDR bugs

...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
23 <http://www.reportinghub.no/ep/spin/ddr-tables> 23 <http://www.reportinghub.no/ep/spin/ddr-tables>
24 rdf:type owl:Ontology ; 24 rdf:type owl:Ontology ;
25 rdfs:comment "A collection of SELECT templates that can be used to assemble tables in DD reports."^^xsd:string ; 25 rdfs:comment "A collection of SELECT templates that can be used to assemble tables in DD reports."^^xsd:string ;
26 - owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/activity-purpose> , <http://www.reportinghub.no/ep/schema/1.0/ddr> , <http://www.reportinghub.no/spin/rh> , <http://www.reportinghub.no/ep/spin/1.1/lib> ; 26 + owl:imports <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/spin/rh> , <http://www.reportinghub.no/ep/schema/1.0/ddr> , <http://www.reportinghub.no/ep/schema/1.0/activity-purpose> , <http://spinrdf.org/spin> ;
27 owl:versionInfo "0.1.0"^^xsd:string . 27 owl:versionInfo "0.1.0"^^xsd:string .
28 28
29 ddr-tables:BitRecord 29 ddr-tables:BitRecord
...@@ -754,8 +754,7 @@ ddr-tables:CementFluidInformation ...@@ -754,8 +754,7 @@ ddr-tables:CementFluidInformation
754 rdfs:subClassOf rhspin:DDRTableTemplates ; 754 rdfs:subClassOf rhspin:DDRTableTemplates ;
755 spin:body 755 spin:body
756 [ rdf:type sp:Select ; 756 [ rdf:type sp:Select ;
757 - sp:resultVariables ([ sp:varName "startTime"^^xsd:string 757 + sp:resultVariables ([ sp:varName "fluidType"^^xsd:string
758 - ] [ sp:varName "fluidType"^^xsd:string
759 ] [ sp:varName "volumePumped"^^xsd:string 758 ] [ sp:varName "volumePumped"^^xsd:string
760 ] [ sp:varName "fluidDensity"^^xsd:string 759 ] [ sp:varName "fluidDensity"^^xsd:string
761 ] [ sp:varName "yieldPoint"^^xsd:string 760 ] [ sp:varName "yieldPoint"^^xsd:string
...@@ -773,49 +772,35 @@ ddr-tables:CementFluidInformation ...@@ -773,49 +772,35 @@ ddr-tables:CementFluidInformation
773 [ sp:varName "report"^^xsd:string 772 [ sp:varName "report"^^xsd:string
774 ] 773 ]
775 ] [ sp:object 774 ] [ sp:object
776 - [ sp:varName "wcj"^^xsd:string 775 + [ sp:varName "wellCementJob"^^xsd:string
777 ] ; 776 ] ;
778 sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ; 777 sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
779 sp:subject 778 sp:subject
780 [ sp:varName "reportOn"^^xsd:string 779 [ sp:varName "reportOn"^^xsd:string
781 ] 780 ]
782 - ] [ sp:object 781 + ] [ sp:object <http://www.reportinghub.no/ep/schema/activity#WellCementJob> ;
783 - [ sp:varName "wcjclass"^^xsd:string
784 - ] ;
785 - sp:predicate rdf:type ;
786 - sp:subject
787 - [ sp:varName "wcj"^^xsd:string
788 - ]
789 - ] [ sp:object <http://www.reportinghub.no/ep/schema/activity#WellCementJobPurposeType> ;
790 sp:predicate rdf:type ; 782 sp:predicate rdf:type ;
791 sp:subject 783 sp:subject
792 - [ sp:varName "wcjclass"^^xsd:string 784 + [ sp:varName "wellCementJob"^^xsd:string
793 ] 785 ]
794 ] [ sp:object 786 ] [ sp:object
795 - [ sp:varName "cementPumping"^^xsd:string 787 + [ sp:varName "wellCementPumping"^^xsd:string
796 ] ; 788 ] ;
797 sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ; 789 sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
798 sp:subject 790 sp:subject
799 - [ sp:varName "wcj"^^xsd:string 791 + [ sp:varName "wellCementJob"^^xsd:string
800 ] 792 ]
801 - ] [ sp:object 793 + ] [ sp:object <http://www.reportinghub.no/ep/schema/activity#WellCementPumping> ;
802 - [ sp:varName "wcPumpingFluidReturnType"^^xsd:string
803 - ] ;
804 sp:predicate rdf:type ; 794 sp:predicate rdf:type ;
805 sp:subject 795 sp:subject
806 - [ sp:varName "cementPumping"^^xsd:string 796 + [ sp:varName "wellCementPumping"^^xsd:string
807 - ]
808 - ] [ sp:object <http://www.reportinghub.no/ep/schema/activity#WellCementPumpingFluidReturnType> ;
809 - sp:predicate rdf:type ;
810 - sp:subject
811 - [ sp:varName "wcPumpingFluidReturnType"^^xsd:string
812 ] 797 ]
813 ] [ sp:object 798 ] [ sp:object
814 [ sp:varName "pumpedFluid"^^xsd:string 799 [ sp:varName "pumpedFluid"^^xsd:string
815 ] ; 800 ] ;
816 sp:predicate <http://www.reportinghub.no/ep/schema/activity#pumpedFluid> ; 801 sp:predicate <http://www.reportinghub.no/ep/schema/activity#pumpedFluid> ;
817 sp:subject 802 sp:subject
818 - [ sp:varName "cementPumping"^^xsd:string 803 + [ sp:varName "wellCementPumping"^^xsd:string
819 ] 804 ]
820 ] [ sp:object <http://www.reportinghub.no/ep/schema/well#CementingFluid> ; 805 ] [ sp:object <http://www.reportinghub.no/ep/schema/well#CementingFluid> ;
821 sp:predicate rdf:type ; 806 sp:predicate rdf:type ;
...@@ -850,24 +835,6 @@ ddr-tables:CementFluidInformation ...@@ -850,24 +835,6 @@ ddr-tables:CementFluidInformation
850 ] 835 ]
851 ] [ rdf:type sp:Optional ; 836 ] [ rdf:type sp:Optional ;
852 sp:elements ([ sp:object 837 sp:elements ([ sp:object
853 - [ sp:varName "startedAt"^^xsd:string
854 - ] ;
855 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
856 - sp:subject
857 - [ sp:varName "cementPumping"^^xsd:string
858 - ]
859 - ] [ rdf:type sp:Bind ;
860 - sp:expression
861 - [ rdf:type ep-spin-lib:normalizeTimeFromDateTime ;
862 - sp:arg1 [ sp:varName "startedAt"^^xsd:string
863 - ]
864 - ] ;
865 - sp:variable
866 - [ sp:varName "startTime"^^xsd:string
867 - ]
868 - ])
869 - ] [ rdf:type sp:Optional ;
870 - sp:elements ([ sp:object
871 [ sp:varName "userDescribedCementingFluidType"^^xsd:string 838 [ sp:varName "userDescribedCementingFluidType"^^xsd:string
872 ] ; 839 ] ;
873 sp:predicate rdf:type ; 840 sp:predicate rdf:type ;
...@@ -1024,8 +991,7 @@ ddr-tables:CementFluidInformation ...@@ -1024,8 +991,7 @@ ddr-tables:CementFluidInformation
1024 ]) 991 ])
1025 ]) 992 ])
1026 ] ; 993 ] ;
1027 - rhspin:tableHeaders ("""Start 994 + rhspin:tableHeaders ("Fluid type"^^xsd:string """Volume pumped
1028 -time"""^^xsd:string "Fluid type"^^xsd:string """Volume pumped
1029 m3"""^^xsd:string "Fluid density"^^xsd:string """Yield point 995 m3"""^^xsd:string "Fluid density"^^xsd:string """Yield point
1030 ft3/sack"""^^xsd:string """Mix water ratio 996 ft3/sack"""^^xsd:string """Mix water ratio
1031 gal/sack"""^^xsd:string """Free water 997 gal/sack"""^^xsd:string """Free water
...@@ -1063,39 +1029,69 @@ ddr-tables:CementInformation ...@@ -1063,39 +1029,69 @@ ddr-tables:CementInformation
1063 [ sp:varName "report"^^xsd:string 1029 [ sp:varName "report"^^xsd:string
1064 ] 1030 ]
1065 ] [ sp:object 1031 ] [ sp:object
1066 - [ sp:varName "wcj"^^xsd:string 1032 + [ sp:varName "wellCementJob"^^xsd:string
1067 ] ; 1033 ] ;
1068 sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ; 1034 sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
1069 sp:subject 1035 sp:subject
1070 [ sp:varName "reportOn"^^xsd:string 1036 [ sp:varName "reportOn"^^xsd:string
1071 ] 1037 ]
1072 - ] [ sp:object 1038 + ] [ sp:object <http://www.reportinghub.no/ep/schema/activity#WellCementJob> ;
1073 - [ sp:varName "wcjclass"^^xsd:string 1039 + sp:predicate rdf:type ;
1040 + sp:subject
1041 + [ sp:varName "wellCementJob"^^xsd:string
1042 + ]
1043 + ] [ rdf:type sp:Optional ;
1044 + sp:elements ([ sp:object
1045 + [ sp:varName "wellCementJobPurposeType"^^xsd:string
1074 ] ; 1046 ] ;
1075 sp:predicate rdf:type ; 1047 sp:predicate rdf:type ;
1076 sp:subject 1048 sp:subject
1077 - [ sp:varName "wcj"^^xsd:string 1049 + [ sp:varName "wellCementJob"^^xsd:string
1078 ] 1050 ]
1079 ] [ sp:object <http://www.reportinghub.no/ep/schema/activity#WellCementJobPurposeType> ; 1051 ] [ sp:object <http://www.reportinghub.no/ep/schema/activity#WellCementJobPurposeType> ;
1080 sp:predicate rdf:type ; 1052 sp:predicate rdf:type ;
1081 sp:subject 1053 sp:subject
1082 - [ sp:varName "wcjclass"^^xsd:string 1054 + [ sp:varName "wellCementJobPurposeType"^^xsd:string
1083 ] 1055 ]
1084 - ] [ sp:object 1056 + ] [ rdf:type sp:Bind ;
1057 + sp:expression
1058 + [ rdf:type ep-spin-lib:selectWellCementJobFlag ;
1059 + sp:arg1 [ sp:varName "wellCementJobPurposeType"^^xsd:string
1060 + ]
1061 + ] ;
1062 + sp:variable
1085 [ sp:varName "jobType"^^xsd:string 1063 [ sp:varName "jobType"^^xsd:string
1064 + ]
1065 + ])
1066 + ] [ rdf:type sp:Optional ;
1067 + sp:elements ([ rdf:type sp:NotExists ;
1068 + sp:elements ([ sp:object
1069 + [ sp:varName "wellCementJobPurposeType"^^xsd:string
1086 ] ; 1070 ] ;
1087 - sp:predicate rdfs:label ; 1071 + sp:predicate rdf:type ;
1072 + sp:subject
1073 + [ sp:varName "wellCementJob"^^xsd:string
1074 + ]
1075 + ] [ sp:object <http://www.reportinghub.no/ep/schema/activity#WellCementJobPurposeType> ;
1076 + sp:predicate rdf:type ;
1088 sp:subject 1077 sp:subject
1089 - [ sp:varName "wcjclass"^^xsd:string 1078 + [ sp:varName "wellCementJobPurposeType"^^xsd:string
1090 ] 1079 ]
1080 + ])
1081 + ] [ rdf:type sp:Bind ;
1082 + sp:expression "unknown" ;
1083 + sp:variable
1084 + [ sp:varName "jobType"^^xsd:string
1085 + ]
1086 + ])
1091 ] [ rdf:type sp:Optional ; 1087 ] [ rdf:type sp:Optional ;
1092 sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithTopPlug> ; 1088 sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithTopPlug> ;
1093 sp:predicate rdf:type ; 1089 sp:predicate rdf:type ;
1094 sp:subject 1090 sp:subject
1095 - [ sp:varName "wcj"^^xsd:string 1091 + [ sp:varName "wellCementJob"^^xsd:string
1096 ] 1092 ]
1097 ] [ rdf:type sp:Bind ; 1093 ] [ rdf:type sp:Bind ;
1098 - sp:expression "Yes" ; 1094 + sp:expression "yes" ;
1099 sp:variable 1095 sp:variable
1100 [ sp:varName "topPlug"^^xsd:string 1096 [ sp:varName "topPlug"^^xsd:string
1101 ] 1097 ]
...@@ -1104,10 +1100,10 @@ ddr-tables:CementInformation ...@@ -1104,10 +1100,10 @@ ddr-tables:CementInformation
1104 sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithoutTopPlug> ; 1100 sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithoutTopPlug> ;
1105 sp:predicate rdf:type ; 1101 sp:predicate rdf:type ;
1106 sp:subject 1102 sp:subject
1107 - [ sp:varName "wcj"^^xsd:string 1103 + [ sp:varName "wellCementJob"^^xsd:string
1108 ] 1104 ]
1109 ] [ rdf:type sp:Bind ; 1105 ] [ rdf:type sp:Bind ;
1110 - sp:expression "No" ; 1106 + sp:expression "no" ;
1111 sp:variable 1107 sp:variable
1112 [ sp:varName "topPlug"^^xsd:string 1108 [ sp:varName "topPlug"^^xsd:string
1113 ] 1109 ]
...@@ -1118,7 +1114,7 @@ ddr-tables:CementInformation ...@@ -1118,7 +1114,7 @@ ddr-tables:CementInformation
1118 ] ; 1114 ] ;
1119 sp:predicate <http://www.reportinghub.no/ep/schema/activity#pressureAtWhichPlugBumped> ; 1115 sp:predicate <http://www.reportinghub.no/ep/schema/activity#pressureAtWhichPlugBumped> ;
1120 sp:subject 1116 sp:subject
1121 - [ sp:varName "wcj"^^xsd:string 1117 + [ sp:varName "wellCementJob"^^xsd:string
1122 ] 1118 ]
1123 ] [ sp:object 1119 ] [ sp:object
1124 [ sp:varName "plugBumpPressure"^^xsd:string 1120 [ sp:varName "plugBumpPressure"^^xsd:string
...@@ -1129,261 +1125,190 @@ ddr-tables:CementInformation ...@@ -1129,261 +1125,190 @@ ddr-tables:CementInformation
1129 ] 1125 ]
1130 ]) 1126 ])
1131 ] [ rdf:type sp:Optional ; 1127 ] [ rdf:type sp:Optional ;
1132 - sp:elements ([ sp:object 1128 + sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithCasingRotation> ;
1133 - [ sp:varName "jobpartstart"^^xsd:string 1129 + sp:predicate rdf:type ;
1134 - ] ;
1135 - sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
1136 - sp:subject
1137 - [ sp:varName "wcj"^^xsd:string
1138 - ]
1139 - ] [ sp:object
1140 - [ sp:varName "startedAt"^^xsd:string
1141 - ] ;
1142 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
1143 sp:subject 1130 sp:subject
1144 - [ sp:varName "jobpartstart"^^xsd:string 1131 + [ sp:varName "wellCementJob"^^xsd:string
1145 ] 1132 ]
1146 ] [ rdf:type sp:Bind ; 1133 ] [ rdf:type sp:Bind ;
1147 - sp:expression 1134 + sp:expression "yes" ;
1148 - [ rdf:type ep-spin-lib:normalizeTimeFromDateTime ;
1149 - sp:arg1 [ sp:varName "startedAt"^^xsd:string
1150 - ]
1151 - ] ;
1152 sp:variable 1135 sp:variable
1153 - [ sp:varName "startTime"^^xsd:string 1136 + [ sp:varName "rotated"^^xsd:string
1154 ] 1137 ]
1155 ]) 1138 ])
1156 ] [ rdf:type sp:Optional ; 1139 ] [ rdf:type sp:Optional ;
1157 - sp:elements ([ sp:object 1140 + sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithoutCasingRotation> ;
1158 - [ sp:varName "jobpartend"^^xsd:string 1141 + sp:predicate rdf:type ;
1159 - ] ;
1160 - sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
1161 - sp:subject
1162 - [ sp:varName "wcj"^^xsd:string
1163 - ]
1164 - ] [ sp:object
1165 - [ sp:varName "finishedAt"^^xsd:string
1166 - ] ;
1167 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
1168 sp:subject 1142 sp:subject
1169 - [ sp:varName "jobpartend"^^xsd:string 1143 + [ sp:varName "wellCementJob"^^xsd:string
1170 ] 1144 ]
1171 ] [ rdf:type sp:Bind ; 1145 ] [ rdf:type sp:Bind ;
1172 - sp:expression 1146 + sp:expression "no" ;
1173 - [ rdf:type ep-spin-lib:normalizeTimeFromDateTime ;
1174 - sp:arg1 [ sp:varName "finishedAt"^^xsd:string
1175 - ]
1176 - ] ;
1177 sp:variable 1147 sp:variable
1178 - [ sp:varName "endTime"^^xsd:string 1148 + [ sp:varName "rotated"^^xsd:string
1179 ] 1149 ]
1180 ]) 1150 ])
1181 ] [ rdf:type sp:Optional ; 1151 ] [ rdf:type sp:Optional ;
1182 - sp:elements ([ sp:object 1152 + sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithoutCasingReciprocation> ;
1183 - [ sp:varName "prel"^^xsd:string
1184 - ] ;
1185 - sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
1186 - sp:subject
1187 - [ sp:varName "wcj"^^xsd:string
1188 - ]
1189 - ] [ sp:object <http://www.reportinghub.no/ep/schema/activity#WellCementJobPressureRelease> ;
1190 sp:predicate rdf:type ; 1153 sp:predicate rdf:type ;
1191 sp:subject 1154 sp:subject
1192 - [ sp:varName "prel"^^xsd:string 1155 + [ sp:varName "wellCementJob"^^xsd:string
1193 - ]
1194 - ] [ sp:object
1195 - [ sp:varName "nominallyAt"^^xsd:string
1196 - ] ;
1197 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#nominallyAt> ;
1198 - sp:subject
1199 - [ sp:varName "prel"^^xsd:string
1200 ] 1156 ]
1201 ] [ rdf:type sp:Bind ; 1157 ] [ rdf:type sp:Bind ;
1202 - sp:expression 1158 + sp:expression "no" ;
1203 - [ rdf:type ep-spin-lib:normalizeTimeFromDateTime ;
1204 - sp:arg1 [ sp:varName "nominallyAt"^^xsd:string
1205 - ]
1206 - ] ;
1207 sp:variable 1159 sp:variable
1208 - [ sp:varName "pressureReleaseTime"^^xsd:string 1160 + [ sp:varName "reciprocated"^^xsd:string
1209 ] 1161 ]
1210 ]) 1162 ])
1211 ] [ rdf:type sp:Optional ; 1163 ] [ rdf:type sp:Optional ;
1212 - sp:elements ([ sp:object 1164 + sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithCasingReciprocation> ;
1213 - [ sp:varName "temporalPartOfWellBoreSection"^^xsd:string
1214 - ] ;
1215 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
1216 - sp:subject
1217 - [ sp:varName "wcj"^^xsd:string
1218 - ]
1219 - ] [ sp:object
1220 - [ sp:varName "wellBoreSection"^^xsd:string
1221 - ] ;
1222 - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
1223 - sp:subject
1224 - [ sp:varName "temporalPartOfWellBoreSection"^^xsd:string
1225 - ]
1226 - ] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBoreSection> ;
1227 - sp:predicate rdf:type ;
1228 - sp:subject
1229 - [ sp:varName "wellBoreSection"^^xsd:string
1230 - ]
1231 - ] [ sp:object
1232 - [ sp:varName "casing"^^xsd:string
1233 - ] ;
1234 - sp:predicate <http://www.reportinghub.no/ep/schema/core#hasSpatialPart> ;
1235 - sp:subject
1236 - [ sp:varName "wellBoreSection"^^xsd:string
1237 - ]
1238 - ] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#CasingString> ;
1239 - sp:predicate rdf:type ;
1240 - sp:subject
1241 - [ sp:varName "casing"^^xsd:string
1242 - ]
1243 - ] [ sp:object
1244 - [ sp:varName "pipeOutsideDiameterAPI_5CTClass"^^xsd:string
1245 - ] ;
1246 - sp:predicate rdf:type ;
1247 - sp:subject
1248 - [ sp:varName "casing"^^xsd:string
1249 - ]
1250 - ] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#PipeOutsideDiameterAPI_5CTClass> ;
1251 sp:predicate rdf:type ; 1165 sp:predicate rdf:type ;
1252 sp:subject 1166 sp:subject
1253 - [ sp:varName "pipeOutsideDiameterAPI_5CTClass"^^xsd:string 1167 + [ sp:varName "wellCementJob"^^xsd:string
1254 ] 1168 ]
1255 - ] [ sp:object 1169 + ] [ rdf:type sp:Bind ;
1256 - [ sp:varName "casingStringDiameter"^^xsd:string 1170 + sp:expression "yes" ;
1257 - ] ; 1171 + sp:variable
1258 - sp:predicate rdfs:label ; 1172 + [ sp:varName "reciprocated"^^xsd:string
1259 - sp:subject
1260 - [ sp:varName "pipeOutsideDiameterAPI_5CTClass"^^xsd:string
1261 ] 1173 ]
1262 ]) 1174 ])
1263 ] [ rdf:type sp:Optional ; 1175 ] [ rdf:type sp:Optional ;
1264 - sp:elements ([ sp:object 1176 + sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithBottomPlug> ;
1265 - [ sp:varName "jobreturnno"^^xsd:string
1266 - ] ;
1267 - sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
1268 - sp:subject
1269 - [ sp:varName "wcj"^^xsd:string
1270 - ]
1271 - ] [ sp:object <http://www.reportinghub.no/ep/schema/activity#WellCementPumpingWithoutFluidReturn> ;
1272 sp:predicate rdf:type ; 1177 sp:predicate rdf:type ;
1273 sp:subject 1178 sp:subject
1274 - [ sp:varName "jobreturnno"^^xsd:string 1179 + [ sp:varName "wellCementJob"^^xsd:string
1275 ] 1180 ]
1276 ] [ rdf:type sp:Bind ; 1181 ] [ rdf:type sp:Bind ;
1277 - sp:expression "No" ; 1182 + sp:expression "yes" ;
1278 sp:variable 1183 sp:variable
1279 - [ sp:varName "fullReturns"^^xsd:string 1184 + [ sp:varName "bottomPlug"^^xsd:string
1280 ] 1185 ]
1281 ]) 1186 ])
1282 ] [ rdf:type sp:Optional ; 1187 ] [ rdf:type sp:Optional ;
1283 - sp:elements ([ sp:object 1188 + sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithoutBottomPlug> ;
1284 - [ sp:varName "jobreturnno"^^xsd:string
1285 - ] ;
1286 - sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
1287 - sp:subject
1288 - [ sp:varName "wcj"^^xsd:string
1289 - ]
1290 - ] [ sp:object <http://www.reportinghub.no/ep/schema/activity#WellCementPumpingWithFluidReturn> ;
1291 sp:predicate rdf:type ; 1189 sp:predicate rdf:type ;
1292 sp:subject 1190 sp:subject
1293 - [ sp:varName "jobreturnno"^^xsd:string 1191 + [ sp:varName "wellCementJob"^^xsd:string
1294 ] 1192 ]
1295 ] [ rdf:type sp:Bind ; 1193 ] [ rdf:type sp:Bind ;
1296 - sp:expression "Yes" ; 1194 + sp:expression "no" ;
1297 sp:variable 1195 sp:variable
1298 - [ sp:varName "fullReturns"^^xsd:string 1196 + [ sp:varName "bottomPlug"^^xsd:string
1299 ] 1197 ]
1300 ]) 1198 ])
1301 ] [ rdf:type sp:Optional ; 1199 ] [ rdf:type sp:Optional ;
1302 - sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithCasingRotation> ; 1200 + sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithFloatHolding> ;
1303 sp:predicate rdf:type ; 1201 sp:predicate rdf:type ;
1304 sp:subject 1202 sp:subject
1305 - [ sp:varName "wcj"^^xsd:string 1203 + [ sp:varName "wellCementJob"^^xsd:string
1306 ] 1204 ]
1307 ] [ rdf:type sp:Bind ; 1205 ] [ rdf:type sp:Bind ;
1308 - sp:expression "Yes" ; 1206 + sp:expression "yes" ;
1309 sp:variable 1207 sp:variable
1310 - [ sp:varName "rotated"^^xsd:string 1208 + [ sp:varName "floatHeld"^^xsd:string
1311 ] 1209 ]
1312 ]) 1210 ])
1313 ] [ rdf:type sp:Optional ; 1211 ] [ rdf:type sp:Optional ;
1314 - sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithoutCasingRotation> ; 1212 + sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithoutFloatHolding> ;
1315 sp:predicate rdf:type ; 1213 sp:predicate rdf:type ;
1316 sp:subject 1214 sp:subject
1317 - [ sp:varName "wcj"^^xsd:string 1215 + [ sp:varName "wellCementJob"^^xsd:string
1318 ] 1216 ]
1319 ] [ rdf:type sp:Bind ; 1217 ] [ rdf:type sp:Bind ;
1320 - sp:expression "No" ; 1218 + sp:expression "no" ;
1321 sp:variable 1219 sp:variable
1322 - [ sp:varName "rotated"^^xsd:string 1220 + [ sp:varName "floatHeld"^^xsd:string
1323 ] 1221 ]
1324 ]) 1222 ])
1325 ] [ rdf:type sp:Optional ; 1223 ] [ rdf:type sp:Optional ;
1326 - sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithoutCasingReciprocation> ; 1224 + sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithPlugBumping> ;
1327 sp:predicate rdf:type ; 1225 sp:predicate rdf:type ;
1328 sp:subject 1226 sp:subject
1329 - [ sp:varName "wcj"^^xsd:string 1227 + [ sp:varName "wellCementJob"^^xsd:string
1330 ] 1228 ]
1331 ] [ rdf:type sp:Bind ; 1229 ] [ rdf:type sp:Bind ;
1332 - sp:expression "No" ; 1230 + sp:expression "yes" ;
1333 sp:variable 1231 sp:variable
1334 - [ sp:varName "reciprocated"^^xsd:string 1232 + [ sp:varName "plugBumped"^^xsd:string
1335 ] 1233 ]
1336 ]) 1234 ])
1337 ] [ rdf:type sp:Optional ; 1235 ] [ rdf:type sp:Optional ;
1338 - sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithCasingReciprocation> ; 1236 + sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithoutPlugBumping> ;
1339 sp:predicate rdf:type ; 1237 sp:predicate rdf:type ;
1340 sp:subject 1238 sp:subject
1341 - [ sp:varName "wcj"^^xsd:string 1239 + [ sp:varName "wellCementJob"^^xsd:string
1342 ] 1240 ]
1343 ] [ rdf:type sp:Bind ; 1241 ] [ rdf:type sp:Bind ;
1344 - sp:expression "Yes" ; 1242 + sp:expression "no" ;
1345 sp:variable 1243 sp:variable
1346 - [ sp:varName "reciprocated"^^xsd:string 1244 + [ sp:varName "plugBumped"^^xsd:string
1347 ] 1245 ]
1348 ]) 1246 ])
1349 ] [ rdf:type sp:Optional ; 1247 ] [ rdf:type sp:Optional ;
1350 - sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithBottomPlug> ; 1248 + sp:elements ([ sp:object
1351 - sp:predicate rdf:type ; 1249 + [ sp:varName "comments"^^xsd:string
1250 + ] ;
1251 + sp:predicate rdfs:comment ;
1352 sp:subject 1252 sp:subject
1353 - [ sp:varName "wcj"^^xsd:string 1253 + [ sp:varName "wellCementJob"^^xsd:string
1354 - ]
1355 - ] [ rdf:type sp:Bind ;
1356 - sp:expression "Yes" ;
1357 - sp:variable
1358 - [ sp:varName "bottomPlug"^^xsd:string
1359 ] 1254 ]
1360 ]) 1255 ])
1361 ] [ rdf:type sp:Optional ; 1256 ] [ rdf:type sp:Optional ;
1362 sp:elements ([ sp:object 1257 sp:elements ([ sp:object
1363 - [ sp:varName "wcPumping"^^xsd:string 1258 + [ sp:varName "wellCementPumping"^^xsd:string
1364 ] ; 1259 ] ;
1365 sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ; 1260 sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
1366 sp:subject 1261 sp:subject
1367 - [ sp:varName "wcj"^^xsd:string 1262 + [ sp:varName "wellCementJob"^^xsd:string
1368 ] 1263 ]
1369 - ] [ sp:object 1264 + ] [ sp:object <http://www.reportinghub.no/ep/schema/activity#WellCementPumping> ;
1370 - [ sp:varName "wcPumpingFluidReturnType"^^xsd:string
1371 - ] ;
1372 sp:predicate rdf:type ; 1265 sp:predicate rdf:type ;
1373 sp:subject 1266 sp:subject
1374 - [ sp:varName "wcPumping"^^xsd:string 1267 + [ sp:varName "wellCementPumping"^^xsd:string
1375 ] 1268 ]
1376 - ] [ sp:object <http://www.reportinghub.no/ep/schema/activity#WellCementPumpingFluidReturnType> ; 1269 + ] [ rdf:type sp:Optional ;
1377 - sp:predicate rdf:type ; 1270 + sp:elements ([ sp:object
1271 + [ sp:varName "startedAt"^^xsd:string
1272 + ] ;
1273 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
1378 sp:subject 1274 sp:subject
1379 - [ sp:varName "wcPumpingFluidReturnType"^^xsd:string 1275 + [ sp:varName "wellCementPumping"^^xsd:string
1380 ] 1276 ]
1381 - ] [ sp:object 1277 + ] [ rdf:type sp:Bind ;
1278 + sp:expression
1279 + [ rdf:type ep-spin-lib:normalizeTimeFromDateTime ;
1280 + sp:arg1 [ sp:varName "startedAt"^^xsd:string
1281 + ]
1282 + ] ;
1283 + sp:variable
1284 + [ sp:varName "startTime"^^xsd:string
1285 + ]
1286 + ])
1287 + ] [ rdf:type sp:Optional ;
1288 + sp:elements ([ sp:object
1289 + [ sp:varName "finishedAt"^^xsd:string
1290 + ] ;
1291 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
1292 + sp:subject
1293 + [ sp:varName "wellCementPumping"^^xsd:string
1294 + ]
1295 + ] [ rdf:type sp:Bind ;
1296 + sp:expression
1297 + [ rdf:type ep-spin-lib:normalizeTimeFromDateTime ;
1298 + sp:arg1 [ sp:varName "finishedAt"^^xsd:string
1299 + ]
1300 + ] ;
1301 + sp:variable
1302 + [ sp:varName "endTime"^^xsd:string
1303 + ]
1304 + ])
1305 + ] [ rdf:type sp:Optional ;
1306 + sp:elements ([ sp:object
1382 [ sp:varName "returnedFluid"^^xsd:string 1307 [ sp:varName "returnedFluid"^^xsd:string
1383 ] ; 1308 ] ;
1384 sp:predicate <http://www.reportinghub.no/ep/schema/activity#returnedCementingFluid> ; 1309 sp:predicate <http://www.reportinghub.no/ep/schema/activity#returnedCementingFluid> ;
1385 sp:subject 1310 sp:subject
1386 - [ sp:varName "wcPumping"^^xsd:string 1311 + [ sp:varName "wellCementPumping"^^xsd:string
1387 ] 1312 ]
1388 ] [ sp:object 1313 ] [ sp:object
1389 [ sp:varName "returnedFluidVolume"^^xsd:string 1314 [ sp:varName "returnedFluidVolume"^^xsd:string
...@@ -1406,72 +1331,110 @@ ddr-tables:CementInformation ...@@ -1406,72 +1331,110 @@ ddr-tables:CementInformation
1406 ] 1331 ]
1407 ]) 1332 ])
1408 ] [ rdf:type sp:Optional ; 1333 ] [ rdf:type sp:Optional ;
1409 - sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithoutBottomPlug> ; 1334 + sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/activity#WellCementPumpingWithoutFluidReturn> ;
1410 sp:predicate rdf:type ; 1335 sp:predicate rdf:type ;
1411 sp:subject 1336 sp:subject
1412 - [ sp:varName "wcj"^^xsd:string 1337 + [ sp:varName "wellCementPumping"^^xsd:string
1413 ] 1338 ]
1414 ] [ rdf:type sp:Bind ; 1339 ] [ rdf:type sp:Bind ;
1415 - sp:expression "No" ; 1340 + sp:expression "no" ;
1416 sp:variable 1341 sp:variable
1417 - [ sp:varName "bottomPlug"^^xsd:string 1342 + [ sp:varName "fullReturns"^^xsd:string
1418 ] 1343 ]
1419 ]) 1344 ])
1420 ] [ rdf:type sp:Optional ; 1345 ] [ rdf:type sp:Optional ;
1421 - sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithFloatHolding> ; 1346 + sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/activity#WellCementPumpingWithFluidReturn> ;
1422 sp:predicate rdf:type ; 1347 sp:predicate rdf:type ;
1423 sp:subject 1348 sp:subject
1424 - [ sp:varName "wcj"^^xsd:string 1349 + [ sp:varName "wellCementPumping"^^xsd:string
1425 ] 1350 ]
1426 ] [ rdf:type sp:Bind ; 1351 ] [ rdf:type sp:Bind ;
1427 - sp:expression "Yes" ; 1352 + sp:expression "yes" ;
1428 sp:variable 1353 sp:variable
1429 - [ sp:varName "floatHeld"^^xsd:string 1354 + [ sp:varName "fullReturns"^^xsd:string
1430 ] 1355 ]
1431 ]) 1356 ])
1357 + ])
1432 ] [ rdf:type sp:Optional ; 1358 ] [ rdf:type sp:Optional ;
1433 - sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithoutFloatHolding> ; 1359 + sp:elements ([ sp:object
1360 + [ sp:varName "wellCementJobPressureRelease"^^xsd:string
1361 + ] ;
1362 + sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
1363 + sp:subject
1364 + [ sp:varName "wellCementJob"^^xsd:string
1365 + ]
1366 + ] [ sp:object <http://www.reportinghub.no/ep/schema/activity#WellCementJobPressureRelease> ;
1434 sp:predicate rdf:type ; 1367 sp:predicate rdf:type ;
1435 sp:subject 1368 sp:subject
1436 - [ sp:varName "wcj"^^xsd:string 1369 + [ sp:varName "wellCementJobPressureRelease"^^xsd:string
1370 + ]
1371 + ] [ sp:object
1372 + [ sp:varName "nominallyAt"^^xsd:string
1373 + ] ;
1374 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#nominallyAt> ;
1375 + sp:subject
1376 + [ sp:varName "wellCementJobPressureRelease"^^xsd:string
1437 ] 1377 ]
1438 ] [ rdf:type sp:Bind ; 1378 ] [ rdf:type sp:Bind ;
1439 - sp:expression "No" ; 1379 + sp:expression
1380 + [ rdf:type ep-spin-lib:normalizeTimeFromDateTime ;
1381 + sp:arg1 [ sp:varName "nominallyAt"^^xsd:string
1382 + ]
1383 + ] ;
1440 sp:variable 1384 sp:variable
1441 - [ sp:varName "floatHeld"^^xsd:string 1385 + [ sp:varName "pressureReleaseTime"^^xsd:string
1442 ] 1386 ]
1443 ]) 1387 ])
1444 ] [ rdf:type sp:Optional ; 1388 ] [ rdf:type sp:Optional ;
1445 - sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithPlugBumping> ; 1389 + sp:elements ([ sp:object
1390 + [ sp:varName "temporalPartOfWellBoreSection"^^xsd:string
1391 + ] ;
1392 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
1393 + sp:subject
1394 + [ sp:varName "wellCementJob"^^xsd:string
1395 + ]
1396 + ] [ sp:object
1397 + [ sp:varName "wellBoreSection"^^xsd:string
1398 + ] ;
1399 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
1400 + sp:subject
1401 + [ sp:varName "temporalPartOfWellBoreSection"^^xsd:string
1402 + ]
1403 + ] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBoreSection> ;
1446 sp:predicate rdf:type ; 1404 sp:predicate rdf:type ;
1447 sp:subject 1405 sp:subject
1448 - [ sp:varName "wcj"^^xsd:string 1406 + [ sp:varName "wellBoreSection"^^xsd:string
1449 ] 1407 ]
1450 - ] [ rdf:type sp:Bind ; 1408 + ] [ sp:object
1451 - sp:expression "Yes" ; 1409 + [ sp:varName "casing"^^xsd:string
1452 - sp:variable 1410 + ] ;
1453 - [ sp:varName "plugBumped"^^xsd:string 1411 + sp:predicate <http://www.reportinghub.no/ep/schema/core#hasSpatialPart> ;
1412 + sp:subject
1413 + [ sp:varName "wellBoreSection"^^xsd:string
1454 ] 1414 ]
1455 - ]) 1415 + ] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#CasingString> ;
1456 - ] [ rdf:type sp:Optional ;
1457 - sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithoutPlugBumping> ;
1458 sp:predicate rdf:type ; 1416 sp:predicate rdf:type ;
1459 sp:subject 1417 sp:subject
1460 - [ sp:varName "wcj"^^xsd:string 1418 + [ sp:varName "casing"^^xsd:string
1461 ] 1419 ]
1462 - ] [ rdf:type sp:Bind ; 1420 + ] [ sp:object
1463 - sp:expression "No" ; 1421 + [ sp:varName "pipeOutsideDiameterAPI_5CTClass"^^xsd:string
1464 - sp:variable 1422 + ] ;
1465 - [ sp:varName "plugBumped"^^xsd:string 1423 + sp:predicate rdf:type ;
1424 + sp:subject
1425 + [ sp:varName "casing"^^xsd:string
1466 ] 1426 ]
1467 - ]) 1427 + ] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#PipeOutsideDiameterAPI_5CTClass> ;
1468 - ] [ rdf:type sp:Optional ; 1428 + sp:predicate rdf:type ;
1469 - sp:elements ([ sp:object 1429 + sp:subject
1470 - [ sp:varName "comments"^^xsd:string 1430 + [ sp:varName "pipeOutsideDiameterAPI_5CTClass"^^xsd:string
1431 + ]
1432 + ] [ sp:object
1433 + [ sp:varName "casingStringDiameter"^^xsd:string
1471 ] ; 1434 ] ;
1472 - sp:predicate rdfs:comment ; 1435 + sp:predicate rdfs:label ;
1473 sp:subject 1436 sp:subject
1474 - [ sp:varName "wcj"^^xsd:string 1437 + [ sp:varName "pipeOutsideDiameterAPI_5CTClass"^^xsd:string
1475 ] 1438 ]
1476 ]) 1439 ])
1477 ]) 1440 ])
...@@ -2837,6 +2800,7 @@ ddr-tables:LogInformation ...@@ -2837,6 +2800,7 @@ ddr-tables:LogInformation
2837 ] [ sp:varName "tool"^^xsd:string 2800 ] [ sp:varName "tool"^^xsd:string
2838 ] [ sp:varName "bHCTdegC"^^xsd:string 2801 ] [ sp:varName "bHCTdegC"^^xsd:string
2839 ] [ sp:varName "bHSTdegC"^^xsd:string 2802 ] [ sp:varName "bHSTdegC"^^xsd:string
2803 + ] [ sp:varName "serviceCompanyName"^^xsd:string
2840 ]) ; 2804 ]) ;
2841 sp:where ([ sp:object 2805 sp:where ([ sp:object
2842 [ sp:varName "dailyDrillingActivity"^^xsd:string 2806 [ sp:varName "dailyDrillingActivity"^^xsd:string
...@@ -3005,13 +2969,29 @@ ddr-tables:LogInformation ...@@ -3005,13 +2969,29 @@ ddr-tables:LogInformation
3005 [ sp:varName "loggingTool"^^xsd:string 2969 [ sp:varName "loggingTool"^^xsd:string
3006 ] 2970 ]
3007 ]) 2971 ])
2972 + ] [ rdf:type sp:Optional ;
2973 + sp:elements ([ sp:object
2974 + [ sp:varName "serviceCompany"^^xsd:string
2975 + ] ;
2976 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#serviceCompany> ;
2977 + sp:subject
2978 + [ sp:varName "logRun"^^xsd:string
2979 + ]
2980 + ] [ sp:object
2981 + [ sp:varName "serviceCompanyName"^^xsd:string
2982 + ] ;
2983 + sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
2984 + sp:subject
2985 + [ sp:varName "serviceCompany"^^xsd:string
2986 + ]
2987 + ])
3008 ]) 2988 ])
3009 ] ; 2989 ] ;
3010 rhspin:tableHeaders ("Run no"^^xsd:string """Depth Top 2990 rhspin:tableHeaders ("Run no"^^xsd:string """Depth Top
3011 mMD"""^^xsd:string """Depth Bottom 2991 mMD"""^^xsd:string """Depth Bottom
3012 mMD"""^^xsd:string "Tool"^^xsd:string """BHCT 2992 mMD"""^^xsd:string "Tool"^^xsd:string """BHCT
3013 degC"""^^xsd:string """BHST 2993 degC"""^^xsd:string """BHST
3014 -degC"""^^xsd:string) . 2994 +degC"""^^xsd:string "Service Company"^^xsd:string) .
3015 2995
3016 ddr-tables:Operations 2996 ddr-tables:Operations
3017 rdf:type rhspin:TableTemplate ; 2997 rdf:type rhspin:TableTemplate ;
...@@ -3860,6 +3840,7 @@ ddr-tables:WellControlIncident ...@@ -3860,6 +3840,7 @@ ddr-tables:WellControlIncident
3860 ] [ sp:varName "killingProcd"^^xsd:string 3840 ] [ sp:varName "killingProcd"^^xsd:string
3861 ] [ sp:varName "formation"^^xsd:string 3841 ] [ sp:varName "formation"^^xsd:string
3862 ] [ sp:varName "bHT"^^xsd:string 3842 ] [ sp:varName "bHT"^^xsd:string
3843 + ] [ sp:varName "comment"^^xsd:string
3863 ]) ; 3844 ]) ;
3864 sp:where ([ sp:object 3845 sp:where ([ sp:object
3865 [ sp:varName "reportOn"^^xsd:string 3846 [ sp:varName "reportOn"^^xsd:string
...@@ -4201,6 +4182,15 @@ ddr-tables:WellControlIncident ...@@ -4201,6 +4182,15 @@ ddr-tables:WellControlIncident
4201 [ sp:varName "timeForWellControlRegain"^^xsd:string 4182 [ sp:varName "timeForWellControlRegain"^^xsd:string
4202 ] 4183 ]
4203 ]) 4184 ])
4185 + ] [ rdf:type sp:Optional ;
4186 + sp:elements ([ sp:object
4187 + [ sp:varName "comment"^^xsd:string
4188 + ] ;
4189 + sp:predicate rdfs:comment ;
4190 + sp:subject
4191 + [ sp:varName "wci"^^xsd:string
4192 + ]
4193 + ])
4204 ]) 4194 ])
4205 ] ; 4195 ] ;
4206 rhspin:tableHeaders ("Date"^^xsd:string """Depth of 4196 rhspin:tableHeaders ("Date"^^xsd:string """Depth of
...@@ -4225,7 +4215,7 @@ bar"""^^xsd:string """Shut in drill ...@@ -4225,7 +4215,7 @@ bar"""^^xsd:string """Shut in drill
4225 pipe pressure 4215 pipe pressure
4226 bar"""^^xsd:string """Incident 4216 bar"""^^xsd:string """Incident
4227 class"""^^xsd:string """Killing 4217 class"""^^xsd:string """Killing
4228 -procd"""^^xsd:string "Formation"^^xsd:string "BHT"^^xsd:string) . 4218 +procd"""^^xsd:string "Formation"^^xsd:string "BHT"^^xsd:string "Comment"^^xsd:string) .
4229 4219
4230 ddr-tables:WellTestInformation 4220 ddr-tables:WellTestInformation
4231 rdf:type rhspin:TableTemplate ; 4221 rdf:type rhspin:TableTemplate ;
......
...@@ -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/facility> , <http://www.reportinghub.no/ep/schema/1.0/activity-purpose> ; 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> ;
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
...@@ -640,12 +640,12 @@ ep-spin-lib:buildURI ...@@ -640,12 +640,12 @@ ep-spin-lib:buildURI
640 ] ; 640 ] ;
641 spin:constraint 641 spin:constraint
642 [ rdf:type spl:Argument ; 642 [ rdf:type spl:Argument ;
643 - spl:predicate sp:arg2 ; 643 + spl:predicate sp:arg1 ;
644 spl:valueType xsd:string 644 spl:valueType xsd:string
645 ] ; 645 ] ;
646 spin:constraint 646 spin:constraint
647 [ rdf:type spl:Argument ; 647 [ rdf:type spl:Argument ;
648 - spl:predicate sp:arg1 ; 648 + spl:predicate sp:arg2 ;
649 spl:valueType xsd:string 649 spl:valueType xsd:string
650 ] . 650 ] .
651 651
...@@ -4073,6 +4073,51 @@ ep-spin-lib:selectWellCementJobCasingRotationType ...@@ -4073,6 +4073,51 @@ ep-spin-lib:selectWellCementJobCasingRotationType
4073 ]) 4073 ])
4074 ] . 4074 ] .
4075 4075
4076 +ep-spin-lib:selectWellCementJobFlag
4077 + rdf:type spin:Function ;
4078 + rdfs:label "select WellCementJobFlag"^^xsd:string ;
4079 + rdfs:subClassOf ep-spin-lib:Function ;
4080 + spin:body
4081 + [ rdf:type sp:Select ;
4082 + sp:resultVariables ([ sp:varName "wellCementJobFlag"^^xsd:string
4083 + ]) ;
4084 + sp:where ([ rdf:type sp:Bind ;
4085 + sp:expression
4086 + [ rdf:type sp:if ;
4087 + sp:arg1 [ rdf:type sp:eq ;
4088 + sp:arg1 spin:_arg1 ;
4089 + sp:arg2 <http://www.reportinghub.no/ep/schema/activity#WellCementJob-primary>
4090 + ] ;
4091 + sp:arg2 "primary" ;
4092 + sp:arg3 [ rdf:type sp:if ;
4093 + sp:arg1 [ rdf:type sp:eq ;
4094 + sp:arg1 spin:_arg1 ;
4095 + sp:arg2 <http://www.reportinghub.no/ep/schema/activity#WellCementJob-plug>
4096 + ] ;
4097 + sp:arg2 "plug" ;
4098 + sp:arg3 [ rdf:type sp:if ;
4099 + sp:arg1 [ rdf:type sp:eq ;
4100 + sp:arg1 spin:_arg1 ;
4101 + sp:arg2 <http://www.reportinghub.no/ep/schema/activity#WellCementJob-squeeze>
4102 + ] ;
4103 + sp:arg2 "squeeze" ;
4104 + sp:arg3 [ rdf:type sp:if ;
4105 + sp:arg1 [ rdf:type sp:eq ;
4106 + sp:arg1 spin:_arg1 ;
4107 + sp:arg2 <http://www.reportinghub.no/ep/schema/activity#WellCementJob-other>
4108 + ] ;
4109 + sp:arg2 "other" ;
4110 + sp:arg3 "n/a"
4111 + ]
4112 + ]
4113 + ]
4114 + ] ;
4115 + sp:variable
4116 + [ sp:varName "wellCementJobFlag"^^xsd:string
4117 + ]
4118 + ])
4119 + ] .
4120 +
4076 ep-spin-lib:selectWellCementJobFloatHoldingType 4121 ep-spin-lib:selectWellCementJobFloatHoldingType
4077 rdf:type spin:Function ; 4122 rdf:type spin:Function ;
4078 rdfs:label "select WellCementJobFloatHoldingType"^^xsd:string ; 4123 rdfs:label "select WellCementJobFloatHoldingType"^^xsd:string ;
...@@ -4469,230 +4514,230 @@ ddr:TTUC_Enumeration_1 ...@@ -4469,230 +4514,230 @@ ddr:TTUC_Enumeration_1
4469 rdfs:label "Enumeration"^^xsd:string ; 4514 rdfs:label "Enumeration"^^xsd:string ;
4470 dtype:value ddr:TTUC_degC . 4515 dtype:value ddr:TTUC_degC .
4471 4516
4472 -_:b79 4517 +_:b1 sp:varName "uri"^^xsd:string .
4473 - sp:varName "yieldPointScale"^^xsd:string .
4474 4518
4475 -_:b78 4519 +_:b2 sp:varName "uri"^^xsd:string .
4476 - sp:varName "wirelineFormationTestGoodnessOfSealType"^^xsd:string .
4477 4520
4478 -_:b77 4521 +_:b3 sp:varName "uri"^^xsd:string .
4479 - sp:varName "wellTestType"^^xsd:string .
4480 4522
4481 -_:b76 4523 +_:b4 sp:varName "uri"^^xsd:string .
4482 - sp:varName "wellKillingType"^^xsd:string .
4483 4524
4484 -_:b75 4525 +_:b5 sp:varName "uri"^^xsd:string .
4485 - sp:varName "wellControlIncidentType"^^xsd:string .
4486 4526
4487 -_:b74 4527 +_:b6 sp:varName "uri"^^xsd:string .
4488 - sp:varName "wellCementJobType"^^xsd:string .
4489 4528
4490 -_:b73 4529 +_:b7 sp:varName "uri"^^xsd:string .
4491 - sp:varName "wellCementJobTopPlugType"^^xsd:string .
4492 4530
4493 -_:b72 4531 +_:b8 sp:varName "uri"^^xsd:string .
4494 - sp:varName "wellCementJobPlugBumpingType"^^xsd:string .
4495 4532
4496 -_:b71 4533 +_:b9 sp:varName "uri"^^xsd:string .
4497 - sp:varName "wellCementJobFloatHoldingType"^^xsd:string .
4498 4534
4499 -_:b70 4535 +_:b10
4500 - sp:varName "wellCementJobCasingRotationType"^^xsd:string . 4536 + sp:varName "uri"^^xsd:string .
4501 4537
4502 -_:b69 4538 +_:b11
4503 - sp:varName "wellCementJobCasingReciprocationType"^^xsd:string . 4539 + sp:varName "uri"^^xsd:string .
4504 4540
4505 -_:b68 4541 +_:b12
4506 - sp:varName "wellCementJobBottomPlugType"^^xsd:string . 4542 + sp:varName "uri"^^xsd:string .
4507 4543
4508 -_:b67 4544 +_:b13
4509 - sp:varName "wellBoreTightnessType"^^xsd:string . 4545 + sp:varName "uri"^^xsd:string .
4510 4546
4511 -_:b66 4547 +_:b14
4512 - sp:varName "wellBoreHphtType"^^xsd:string . 4548 + sp:varName "uri"^^xsd:string .
4513 4549
4514 -_:b65 4550 +_:b15
4515 - sp:varName "wellBoreDrillingType"^^xsd:string . 4551 + sp:varName "uri"^^xsd:string .
4516 4552
4517 -_:b64 4553 +_:b16
4518 - sp:varName "volumetricFlowRateScale"^^xsd:string . 4554 + sp:varName "uri"^^xsd:string .
4519 4555
4520 -_:b63 4556 +_:b17
4521 - sp:varName "volumeScale"^^xsd:string . 4557 + sp:varName "uri"^^xsd:string .
4522 4558
4523 -_:b62 4559 +_:b18
4524 - sp:varName "durationScale"^^xsd:string . 4560 + sp:varName "uri"^^xsd:string .
4525 4561
4526 -_:b61 4562 +_:b19
4527 - sp:varName "temperatureScale"^^xsd:string . 4563 + sp:varName "uri"^^xsd:string .
4528 4564
4529 -_:b60 4565 +_:b20
4530 - sp:varName "strengthScale"^^xsd:string . 4566 + sp:varName "uri"^^xsd:string .
4531 4567
4532 -_:b59 4568 +_:b21
4533 - sp:varName "speedScale"^^xsd:string . 4569 + sp:varName "uri"^^xsd:string .
4534 4570
4535 -_:b58 4571 +_:b22
4536 - sp:varName "pressureTestType"^^xsd:string . 4572 + sp:varName "uri"^^xsd:string .
4537 4573
4538 -_:b57 4574 +_:b23
4539 - sp:varName "pressureScale"^^xsd:string . 4575 + sp:varName "uri"^^xsd:string .
4540 4576
4541 -_:b56 4577 +_:b24
4542 - sp:varName "porePressureDeterminationType"^^xsd:string . 4578 + sp:varName "uri"^^xsd:string .
4543 4579
4544 -_:b55 4580 +_:b25
4545 - sp:varName "plasticViscosityScale"^^xsd:string . 4581 + sp:varName "uri"^^xsd:string .
4546 4582
4547 -_:b54 4583 +_:b26
4548 - sp:varName "angleScale"^^xsd:string . 4584 + sp:varName "normalizedStr"^^xsd:string .
4549 4585
4550 -_:b53 4586 +_:b27
4551 - sp:varName "mudClass"^^xsd:string . 4587 + sp:varName "s1"^^xsd:string .
4552 4588
4553 -_:b52 4589 +_:b28
4554 - sp:varName "massPerUnitLengthScale"^^xsd:string . 4590 + sp:varName "s2"^^xsd:string .
4555 4591
4556 -_:b51 4592 +_:b29
4557 - sp:varName "lengthScale"^^xsd:string . 4593 + sp:varName "t0a"^^xsd:string .
4558 4594
4559 -_:b50 4595 +_:b30
4560 - sp:varName "dailyDrillingReportType"^^xsd:string . 4596 + sp:varName "t0b"^^xsd:string .
4561 4597
4562 -_:b49 4598 +_:b31
4563 - sp:varName "innerBarrelType"^^xsd:string . 4599 + sp:varName "t1"^^xsd:string .
4564 4600
4565 -_:b48 4601 +_:b32
4566 - sp:varName "gasReadingType"^^xsd:string . 4602 + sp:varName "t2"^^xsd:string .
4567 4603
4568 -_:b47 4604 +_:b33
4569 - sp:varName "fluidType"^^xsd:string . 4605 + sp:varName "t3"^^xsd:string .
4570 4606
4571 -_:b46 4607 +_:b34
4572 - sp:varName "fixedOrMoveableRigType"^^xsd:string . 4608 + sp:varName "t4"^^xsd:string .
4573 4609
4574 -_:b45 4610 +_:b35
4575 - sp:varName "drillingEquipmentType"^^xsd:string . 4611 + sp:varName "activitySuccessType"^^xsd:string .
4576 4612
4577 -_:b44 4613 +_:b36
4578 - sp:varName "drillingActivityTypeAccordingToEquipmentType"^^xsd:string . 4614 + sp:varName "casingRoleType"^^xsd:string .
4579 4615
4580 -_:b43 4616 +_:b37
4581 - sp:varName "drillingActivityPurposeType"^^xsd:string . 4617 + sp:varName "cementingFluidReturnType"^^xsd:string .
4582 4618
4583 -_:b42 4619 +_:b38
4584 - sp:varName "drillingActivityOutcomeType"^^xsd:string . 4620 + sp:varName "classOfWellDatumObject"^^xsd:string .
4585 4621
4586 -_:b41 4622 +_:b39
4587 - sp:varName "densityScale"^^xsd:string . 4623 + sp:varName "componentType"^^xsd:string .
4588 4624
4589 _:b40 4625 _:b40
4590 sp:varName "dailyDrillingReportType"^^xsd:string . 4626 sp:varName "dailyDrillingReportType"^^xsd:string .
4591 4627
4592 -_:b39 4628 +_:b41
4593 - sp:varName "componentType"^^xsd:string . 4629 + sp:varName "densityScale"^^xsd:string .
4594 4630
4595 -_:b38 4631 +_:b42
4596 - sp:varName "classOfWellDatumObject"^^xsd:string . 4632 + sp:varName "drillingActivityOutcomeType"^^xsd:string .
4597 4633
4598 -_:b37 4634 +_:b43
4599 - sp:varName "cementingFluidReturnType"^^xsd:string . 4635 + sp:varName "drillingActivityPurposeType"^^xsd:string .
4600 4636
4601 -_:b36 4637 +_:b44
4602 - sp:varName "casingRoleType"^^xsd:string . 4638 + sp:varName "drillingActivityTypeAccordingToEquipmentType"^^xsd:string .
4603 4639
4604 -_:b35 4640 +_:b45
4605 - sp:varName "activitySuccessType"^^xsd:string . 4641 + sp:varName "drillingEquipmentType"^^xsd:string .
4606 4642
4607 -_:b34 4643 +_:b46
4608 - sp:varName "t4"^^xsd:string . 4644 + sp:varName "fixedOrMoveableRigType"^^xsd:string .
4609 4645
4610 -_:b33 4646 +_:b47
4611 - sp:varName "t3"^^xsd:string . 4647 + sp:varName "fluidType"^^xsd:string .
4612 4648
4613 -_:b32 4649 +_:b48
4614 - sp:varName "t2"^^xsd:string . 4650 + sp:varName "gasReadingType"^^xsd:string .
4615 4651
4616 -_:b31 4652 +_:b49
4617 - sp:varName "t1"^^xsd:string . 4653 + sp:varName "innerBarrelType"^^xsd:string .
4618 4654
4619 -_:b30 4655 +_:b50
4620 - sp:varName "t0b"^^xsd:string . 4656 + sp:varName "dailyDrillingReportType"^^xsd:string .
4621 4657
4622 -_:b29 4658 +_:b51
4623 - sp:varName "t0a"^^xsd:string . 4659 + sp:varName "lengthScale"^^xsd:string .
4624 4660
4625 -_:b28 4661 +_:b52
4626 - sp:varName "s2"^^xsd:string . 4662 + sp:varName "massPerUnitLengthScale"^^xsd:string .
4627 4663
4628 -_:b27 4664 +_:b53
4629 - sp:varName "s1"^^xsd:string . 4665 + sp:varName "mudClass"^^xsd:string .
4630 4666
4631 -_:b26 4667 +_:b54
4632 - sp:varName "normalizedStr"^^xsd:string . 4668 + sp:varName "angleScale"^^xsd:string .
4633 4669
4634 -_:b25 4670 +_:b55
4635 - sp:varName "uri"^^xsd:string . 4671 + sp:varName "plasticViscosityScale"^^xsd:string .
4636 4672
4637 -_:b24 4673 +_:b56
4638 - sp:varName "uri"^^xsd:string . 4674 + sp:varName "porePressureDeterminationType"^^xsd:string .
4639 4675
4640 -_:b23 4676 +_:b57
4641 - sp:varName "uri"^^xsd:string . 4677 + sp:varName "pressureScale"^^xsd:string .
4642 4678
4643 -_:b22 4679 +_:b58
4644 - sp:varName "uri"^^xsd:string . 4680 + sp:varName "pressureTestType"^^xsd:string .
4645 4681
4646 -_:b21 4682 +_:b59
4647 - sp:varName "uri"^^xsd:string . 4683 + sp:varName "speedScale"^^xsd:string .
4648 4684
4649 -_:b20 4685 +_:b60
4650 - sp:varName "uri"^^xsd:string . 4686 + sp:varName "strengthScale"^^xsd:string .
4651 4687
4652 -_:b19 4688 +_:b61
4653 - sp:varName "uri"^^xsd:string . 4689 + sp:varName "temperatureScale"^^xsd:string .
4654 4690
4655 -_:b18 4691 +_:b62
4656 - sp:varName "uri"^^xsd:string . 4692 + sp:varName "durationScale"^^xsd:string .
4657 4693
4658 -_:b17 4694 +_:b63
4659 - sp:varName "uri"^^xsd:string . 4695 + sp:varName "volumeScale"^^xsd:string .
4660 4696
4661 -_:b16 4697 +_:b64
4662 - sp:varName "uri"^^xsd:string . 4698 + sp:varName "volumetricFlowRateScale"^^xsd:string .
4663 4699
4664 -_:b15 4700 +_:b65
4665 - sp:varName "uri"^^xsd:string . 4701 + sp:varName "wellBoreDrillingType"^^xsd:string .
4666 4702
4667 -_:b14 4703 +_:b66
4668 - sp:varName "uri"^^xsd:string . 4704 + sp:varName "wellBoreHphtType"^^xsd:string .
4669 4705
4670 -_:b13 4706 +_:b67
4671 - sp:varName "uri"^^xsd:string . 4707 + sp:varName "wellBoreTightnessType"^^xsd:string .
4672 4708
4673 -_:b12 4709 +_:b68
4674 - sp:varName "uri"^^xsd:string . 4710 + sp:varName "wellCementJobBottomPlugType"^^xsd:string .
4675 4711
4676 -_:b11 4712 +_:b69
4677 - sp:varName "uri"^^xsd:string . 4713 + sp:varName "wellCementJobCasingReciprocationType"^^xsd:string .
4678 4714
4679 -_:b10 4715 +_:b70
4680 - sp:varName "uri"^^xsd:string . 4716 + sp:varName "wellCementJobCasingRotationType"^^xsd:string .
4681 4717
4682 -_:b9 sp:varName "uri"^^xsd:string . 4718 +_:b71
4719 + sp:varName "wellCementJobFloatHoldingType"^^xsd:string .
4683 4720
4684 -_:b8 sp:varName "uri"^^xsd:string . 4721 +_:b72
4722 + sp:varName "wellCementJobPlugBumpingType"^^xsd:string .
4685 4723
4686 -_:b7 sp:varName "uri"^^xsd:string . 4724 +_:b73
4725 + sp:varName "wellCementJobTopPlugType"^^xsd:string .
4687 4726
4688 -_:b6 sp:varName "uri"^^xsd:string . 4727 +_:b74
4728 + sp:varName "wellCementJobType"^^xsd:string .
4689 4729
4690 -_:b5 sp:varName "uri"^^xsd:string . 4730 +_:b75
4731 + sp:varName "wellControlIncidentType"^^xsd:string .
4691 4732
4692 -_:b4 sp:varName "uri"^^xsd:string . 4733 +_:b76
4734 + sp:varName "wellKillingType"^^xsd:string .
4693 4735
4694 -_:b3 sp:varName "uri"^^xsd:string . 4736 +_:b77
4737 + sp:varName "wellTestType"^^xsd:string .
4695 4738
4696 -_:b2 sp:varName "uri"^^xsd:string . 4739 +_:b78
4740 + sp:varName "wirelineFormationTestGoodnessOfSealType"^^xsd:string .
4697 4741
4698 -_:b1 sp:varName "uri"^^xsd:string . 4742 +_:b79
4743 + sp:varName "yieldPointScale"^^xsd:string .
......