David Leal

Added Fluid level test

...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
34 <http://www.reportinghub.no/ep/schema/activity#ProductionWellTest> 34 <http://www.reportinghub.no/ep/schema/activity#ProductionWellTest>
35 rdf:type owl:Class ; 35 rdf:type owl:Class ;
36 rdfs:label "production well test"^^xsd:string ; 36 rdfs:label "production well test"^^xsd:string ;
37 - rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> , <http://www.reportinghub.no/ep/schema/activity#WellTest> . 37 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> , <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
38 38
39 <http://www.reportinghub.no/ep/schema/activity#WeeklyProductionActivity> 39 <http://www.reportinghub.no/ep/schema/activity#WeeklyProductionActivity>
40 rdf:type ep-prodact:ProductionOperationClassByDuration . 40 rdf:type ep-prodact:ProductionOperationClassByDuration .
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
49 rdfs:range <http://www.reportinghub.no/ep/schema/flow#Flow> . 49 rdfs:range <http://www.reportinghub.no/ep/schema/flow#Flow> .
50 50
51 ep-core:Mass 51 ep-core:Mass
52 - rdf:type rdfs:Class , ep-core:PropertySpace ; 52 + rdf:type ep-core:PropertySpace , rdfs:Class ;
53 rdfs:label "mass"^^xsd:string ; 53 rdfs:label "mass"^^xsd:string ;
54 rdfs:subClassOf ep-core:MeasureOfAmountOfMaterial . 54 rdfs:subClassOf ep-core:MeasureOfAmountOfMaterial .
55 55
...@@ -90,13 +90,13 @@ ep-core:Mass ...@@ -90,13 +90,13 @@ ep-core:Mass
90 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> . 90 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> .
91 91
92 ep-prodact:AdministerFirstAid 92 ep-prodact:AdministerFirstAid
93 - rdf:type owl:Class , ep-prodact:SafetyActivityType ; 93 + rdf:type ep-prodact:SafetyActivityType , owl:Class ;
94 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 94 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
95 95
96 ep-prodact:AirTrafficOperation 96 ep-prodact:AirTrafficOperation
97 - rdf:type owl:Class , ep-prodact:ProductionActivityType ; 97 + rdf:type ep-prodact:ProductionActivityType , owl:Class ;
98 rdfs:label "air traffic operation"^^xsd:string ; 98 rdfs:label "air traffic operation"^^xsd:string ;
99 - rdfs:subClassOf ep-prodact:TransportationActivity , ep-prodact:PartOfProductionActivity . 99 + rdfs:subClassOf ep-prodact:PartOfProductionActivity , ep-prodact:TransportationActivity .
100 100
101 ep-prodact:Alarm 101 ep-prodact:Alarm
102 rdf:type owl:Class ; 102 rdf:type owl:Class ;
...@@ -115,49 +115,49 @@ ep-prodact:AmountOfSubstance ...@@ -115,49 +115,49 @@ ep-prodact:AmountOfSubstance
115 rdfs:subClassOf ep-core:PhysicalObject . 115 rdfs:subClassOf ep-core:PhysicalObject .
116 116
117 ep-prodact:AnnualProductionActivity 117 ep-prodact:AnnualProductionActivity
118 - rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ; 118 + rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
119 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> . 119 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
120 120
121 ep-prodact:AnnualProductionActivityToEndOfReportingPeriod 121 ep-prodact:AnnualProductionActivityToEndOfReportingPeriod
122 - rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ; 122 + rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
123 rdfs:subClassOf ep-prodact:AnnualProductionActivity . 123 rdfs:subClassOf ep-prodact:AnnualProductionActivity .
124 124
125 ep-prodact:AnnualProductionOperationsActivityToEndOfReportingPeriod 125 ep-prodact:AnnualProductionOperationsActivityToEndOfReportingPeriod
126 - rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ; 126 + rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
127 - rdfs:subClassOf ep-prodact:AnnualProductionActivityToEndOfReportingPeriod , ep-prodact:ProductionOperationsActivity . 127 + rdfs:subClassOf ep-prodact:ProductionOperationsActivity , ep-prodact:AnnualProductionActivityToEndOfReportingPeriod .
128 128
129 ep-prodact:AnnualProductionVolumeActivityToEndOfReportingPeriod 129 ep-prodact:AnnualProductionVolumeActivityToEndOfReportingPeriod
130 - rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ; 130 + rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
131 - rdfs:subClassOf ep-prodact:AnnualProductionActivityToEndOfReportingPeriod , ep-prodact:ProductionVolumeActivity . 131 + rdfs:subClassOf ep-prodact:ProductionVolumeActivity , ep-prodact:AnnualProductionActivityToEndOfReportingPeriod .
132 132
133 ep-prodact:CargoShipOperation 133 ep-prodact:CargoShipOperation
134 rdf:type owl:Class ; 134 rdf:type owl:Class ;
135 - rdfs:subClassOf ep-prodact:TransportationActivity , ep-prodact:PartOfProductionActivity . 135 + rdfs:subClassOf ep-prodact:PartOfProductionActivity , ep-prodact:TransportationActivity .
136 136
137 ep-prodact:ConstructionOperation 137 ep-prodact:ConstructionOperation
138 - rdf:type owl:Class , ep-prodact:ProductionActivityType ; 138 + rdf:type ep-prodact:ProductionActivityType , owl:Class ;
139 rdfs:label "construction operation"^^xsd:string ; 139 rdfs:label "construction operation"^^xsd:string ;
140 rdfs:subClassOf ep-prodact:PartOfProductionActivity . 140 rdfs:subClassOf ep-prodact:PartOfProductionActivity .
141 141
142 ep-prodact:CumulativeProductionActivitySinceProductionBegan 142 ep-prodact:CumulativeProductionActivitySinceProductionBegan
143 - rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ; 143 + rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
144 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> . 144 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
145 145
146 ep-prodact:DailyProductionOperationsActivity 146 ep-prodact:DailyProductionOperationsActivity
147 - rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ; 147 + rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
148 - rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity> , ep-prodact:ProductionOperationsActivity . 148 + rdfs:subClassOf ep-prodact:ProductionOperationsActivity , <http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity> .
149 149
150 ep-prodact:DailyProductionVolumeActivity 150 ep-prodact:DailyProductionVolumeActivity
151 - rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ; 151 + rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
152 - rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity> , ep-prodact:ProductionVolumeActivity . 152 + rdfs:subClassOf ep-prodact:ProductionVolumeActivity , <http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity> .
153 153
154 ep-prodact:Deviation 154 ep-prodact:Deviation
155 - rdf:type owl:Class , ep-prodact:ProductionActivityType ; 155 + rdf:type ep-prodact:ProductionActivityType , owl:Class ;
156 rdfs:label "deviation"^^xsd:string ; 156 rdfs:label "deviation"^^xsd:string ;
157 rdfs:subClassOf ep-prodact:PartOfProductionActivity . 157 rdfs:subClassOf ep-prodact:PartOfProductionActivity .
158 158
159 ep-prodact:DrillOrExcercise 159 ep-prodact:DrillOrExcercise
160 - rdf:type owl:Class , ep-prodact:SafetyActivityType ; 160 + rdf:type ep-prodact:SafetyActivityType , owl:Class ;
161 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 161 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
162 162
163 ep-prodact:Fire 163 ep-prodact:Fire
...@@ -176,6 +176,11 @@ ep-prodact:FlowLine-Production ...@@ -176,6 +176,11 @@ ep-prodact:FlowLine-Production
176 rdf:type owl:Class ; 176 rdf:type owl:Class ;
177 rdfs:subClassOf ep-prodact:FlowLine . 177 rdfs:subClassOf ep-prodact:FlowLine .
178 178
179 +ep-prodact:FluidLevelTest
180 + rdf:type owl:Class ;
181 + rdfs:label "fluid level test"^^xsd:string ;
182 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> , <http://www.reportinghub.no/ep/schema/activity#WellTest> .
183 +
179 ep-prodact:FusionOfHSEActivitiesOverPeriod 184 ep-prodact:FusionOfHSEActivitiesOverPeriod
180 rdf:type owl:Class ; 185 rdf:type owl:Class ;
181 rdfs:subClassOf ep-prodact:FusionOfPartsOfProductionActivityOverPeriod . 186 rdfs:subClassOf ep-prodact:FusionOfPartsOfProductionActivityOverPeriod .
...@@ -193,16 +198,16 @@ ep-prodact:Incident ...@@ -193,16 +198,16 @@ ep-prodact:Incident
193 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 198 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
194 199
195 ep-prodact:InitialWellTest 200 ep-prodact:InitialWellTest
196 - rdf:type ep-prodact:WellTestReasonType , owl:Class ; 201 + rdf:type owl:Class , ep-prodact:WellTestReasonType ;
197 rdfs:label "initial"^^xsd:string ; 202 rdfs:label "initial"^^xsd:string ;
198 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> . 203 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> .
199 204
200 ep-prodact:Injury 205 ep-prodact:Injury
201 - rdf:type owl:Class , ep-prodact:SafetyActivityType ; 206 + rdf:type ep-prodact:SafetyActivityType , owl:Class ;
202 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 207 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
203 208
204 ep-prodact:IssueWorkPermit 209 ep-prodact:IssueWorkPermit
205 - rdf:type owl:Class , ep-prodact:SafetyActivityType ; 210 + rdf:type ep-prodact:SafetyActivityType , owl:Class ;
206 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 211 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
207 212
208 ep-prodact:JobObservation 213 ep-prodact:JobObservation
...@@ -222,20 +227,20 @@ ep-prodact:LostTimeIncident ...@@ -222,20 +227,20 @@ ep-prodact:LostTimeIncident
222 rdfs:subClassOf ep-prodact:Incident . 227 rdfs:subClassOf ep-prodact:Incident .
223 228
224 ep-prodact:MaintenanceActivity 229 ep-prodact:MaintenanceActivity
225 - rdf:type owl:Class , ep-prodact:ProductionActivityType ; 230 + rdf:type ep-prodact:ProductionActivityType , owl:Class ;
226 rdfs:label "maintenance activity"^^xsd:string ; 231 rdfs:label "maintenance activity"^^xsd:string ;
227 rdfs:subClassOf ep-prodact:PartOfProductionActivity . 232 rdfs:subClassOf ep-prodact:PartOfProductionActivity .
228 233
229 ep-prodact:MarineOperation 234 ep-prodact:MarineOperation
230 rdf:type owl:Class ; 235 rdf:type owl:Class ;
231 - rdfs:subClassOf ep-prodact:TransportationActivity , ep-prodact:PartOfProductionActivity . 236 + rdfs:subClassOf ep-prodact:PartOfProductionActivity , ep-prodact:TransportationActivity .
232 237
233 ep-prodact:MedicalTreatmentInjury 238 ep-prodact:MedicalTreatmentInjury
234 - rdf:type owl:Class , ep-prodact:SafetyActivityType ; 239 + rdf:type ep-prodact:SafetyActivityType , owl:Class ;
235 rdfs:subClassOf ep-prodact:Injury . 240 rdfs:subClassOf ep-prodact:Injury .
236 241
237 ep-prodact:MonthlyProductionActivityToEndOfReportingPeriod 242 ep-prodact:MonthlyProductionActivityToEndOfReportingPeriod
238 - rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ; 243 + rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
239 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#MonthlyProductionActivity> . 244 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#MonthlyProductionActivity> .
240 245
241 ep-prodact:NearMiss 246 ep-prodact:NearMiss
...@@ -247,7 +252,7 @@ ep-prodact:NotablePartOfProductionActivity ...@@ -247,7 +252,7 @@ ep-prodact:NotablePartOfProductionActivity
247 rdfs:subClassOf ep-prodact:PartOfProductionActivity . 252 rdfs:subClassOf ep-prodact:PartOfProductionActivity .
248 253
249 ep-prodact:OtherReasonWellTest 254 ep-prodact:OtherReasonWellTest
250 - rdf:type ep-prodact:WellTestReasonType , owl:Class ; 255 + rdf:type owl:Class , ep-prodact:WellTestReasonType ;
251 rdfs:label "other"^^xsd:string ; 256 rdfs:label "other"^^xsd:string ;
252 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> . 257 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> .
253 258
...@@ -262,17 +267,17 @@ ep-prodact:Participation ...@@ -262,17 +267,17 @@ ep-prodact:Participation
262 rdfs:subPropertyOf ep-prodact:involvement . 267 rdfs:subPropertyOf ep-prodact:involvement .
263 268
264 ep-prodact:PeriodicWellTest 269 ep-prodact:PeriodicWellTest
265 - rdf:type ep-prodact:WellTestReasonType , owl:Class ; 270 + rdf:type owl:Class , ep-prodact:WellTestReasonType ;
266 rdfs:label "periodic"^^xsd:string ; 271 rdfs:label "periodic"^^xsd:string ;
267 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> . 272 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> .
268 273
269 ep-prodact:PowerStationFailure 274 ep-prodact:PowerStationFailure
270 - rdf:type owl:Class , ep-prodact:ProductionActivityType ; 275 + rdf:type ep-prodact:ProductionActivityType , owl:Class ;
271 rdfs:label "power station failure"^^xsd:string ; 276 rdfs:label "power station failure"^^xsd:string ;
272 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> . 277 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> .
273 278
274 ep-prodact:ProductionActivityLastingLessThanAYear 279 ep-prodact:ProductionActivityLastingLessThanAYear
275 - rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ; 280 + rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
276 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> . 281 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
277 282
278 ep-prodact:ProductionActivityType 283 ep-prodact:ProductionActivityType
...@@ -285,7 +290,7 @@ ep-prodact:ProductionOperationClassByDuration ...@@ -285,7 +290,7 @@ ep-prodact:ProductionOperationClassByDuration
285 rdfs:subClassOf owl:Class . 290 rdfs:subClassOf owl:Class .
286 291
287 ep-prodact:ProductionOperationsActivity 292 ep-prodact:ProductionOperationsActivity
288 - rdf:type owl:Class , ep-prodact:ProductionActivityType ; 293 + rdf:type ep-prodact:ProductionActivityType , owl:Class ;
289 rdfs:label "production operations activity"^^xsd:string ; 294 rdfs:label "production operations activity"^^xsd:string ;
290 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> . 295 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
291 296
...@@ -298,7 +303,7 @@ ep-prodact:ReleasedToWater ...@@ -298,7 +303,7 @@ ep-prodact:ReleasedToWater
298 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 303 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
299 304
300 ep-prodact:ReportHazard 305 ep-prodact:ReportHazard
301 - rdf:type owl:Class , ep-prodact:SafetyActivityType ; 306 + rdf:type ep-prodact:SafetyActivityType , owl:Class ;
302 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 307 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
303 308
304 ep-prodact:RestrictedWork 309 ep-prodact:RestrictedWork
...@@ -306,11 +311,11 @@ ep-prodact:RestrictedWork ...@@ -306,11 +311,11 @@ ep-prodact:RestrictedWork
306 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 311 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
307 312
308 ep-prodact:RestrictedWorkInjury 313 ep-prodact:RestrictedWorkInjury
309 - rdf:type owl:Class , ep-prodact:SafetyActivityType ; 314 + rdf:type ep-prodact:SafetyActivityType , owl:Class ;
310 rdfs:subClassOf ep-prodact:Injury . 315 rdfs:subClassOf ep-prodact:Injury .
311 316
312 ep-prodact:RevisionWellTest 317 ep-prodact:RevisionWellTest
313 - rdf:type ep-prodact:WellTestReasonType , owl:Class ; 318 + rdf:type owl:Class , ep-prodact:WellTestReasonType ;
314 rdfs:label "revision"^^xsd:string ; 319 rdfs:label "revision"^^xsd:string ;
315 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> . 320 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> .
316 321
...@@ -319,7 +324,7 @@ ep-prodact:SafetyActivityType ...@@ -319,7 +324,7 @@ ep-prodact:SafetyActivityType
319 rdfs:subClassOf owl:Class . 324 rdfs:subClassOf owl:Class .
320 325
321 ep-prodact:SafetyMeeting 326 ep-prodact:SafetyMeeting
322 - rdf:type owl:Class , ep-prodact:SafetyActivityType ; 327 + rdf:type ep-prodact:SafetyActivityType , owl:Class ;
323 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 328 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
324 329
325 ep-prodact:SampleAmountOfSubstance 330 ep-prodact:SampleAmountOfSubstance
...@@ -339,7 +344,7 @@ ep-prodact:SickOnBoard ...@@ -339,7 +344,7 @@ ep-prodact:SickOnBoard
339 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 344 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
340 345
341 ep-prodact:SpillOrLeak 346 ep-prodact:SpillOrLeak
342 - rdf:type owl:Class , ep-prodact:SafetyActivityType ; 347 + rdf:type ep-prodact:SafetyActivityType , owl:Class ;
343 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 348 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
344 349
345 ep-prodact:TransportationActivity 350 ep-prodact:TransportationActivity
...@@ -347,7 +352,7 @@ ep-prodact:TransportationActivity ...@@ -347,7 +352,7 @@ ep-prodact:TransportationActivity
347 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> . 352 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> .
348 353
349 ep-prodact:UnknownReasonWellTest 354 ep-prodact:UnknownReasonWellTest
350 - rdf:type ep-prodact:WellTestReasonType , owl:Class ; 355 + rdf:type owl:Class , ep-prodact:WellTestReasonType ;
351 rdfs:label "unknown"^^xsd:string ; 356 rdfs:label "unknown"^^xsd:string ;
352 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> . 357 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> .
353 358
...@@ -357,7 +362,7 @@ ep-prodact:WaterCleaningOperation ...@@ -357,7 +362,7 @@ ep-prodact:WaterCleaningOperation
357 362
358 ep-prodact:WaterSample 363 ep-prodact:WaterSample
359 rdf:type owl:Class ; 364 rdf:type owl:Class ;
360 - rdfs:subClassOf ep-prodact:SampleAmountOfSubstance , <http://www.reportinghub.no/ep/schema/well#Water> . 365 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/well#Water> , ep-prodact:SampleAmountOfSubstance .
361 366
362 ep-prodact:WellTestReasonType 367 ep-prodact:WellTestReasonType
363 rdf:type rdfs:Class ; 368 rdf:type rdfs:Class ;
...@@ -365,11 +370,11 @@ ep-prodact:WellTestReasonType ...@@ -365,11 +370,11 @@ ep-prodact:WellTestReasonType
365 rdfs:subClassOf owl:Class . 370 rdfs:subClassOf owl:Class .
366 371
367 ep-prodact:WorkingUnderPermit 372 ep-prodact:WorkingUnderPermit
368 - rdf:type owl:Class , ep-prodact:SafetyActivityType ; 373 + rdf:type ep-prodact:SafetyActivityType , owl:Class ;
369 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 374 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
370 375
371 ep-prodact:WorkingUnderPermitWithSJA 376 ep-prodact:WorkingUnderPermitWithSJA
372 - rdf:type owl:Class , ep-prodact:SafetyActivityType ; 377 + rdf:type ep-prodact:SafetyActivityType , owl:Class ;
373 rdfs:subClassOf ep-prodact:WorkingUnderPermit . 378 rdfs:subClassOf ep-prodact:WorkingUnderPermit .
374 379
375 ep-prodact:ammoniumDensity 380 ep-prodact:ammoniumDensity
...@@ -421,7 +426,7 @@ ep-prodact:hasPredecessor ...@@ -421,7 +426,7 @@ ep-prodact:hasPredecessor
421 rdfs:range <http://www.reportinghub.no/ep/schema/activity#Activity> . 426 rdfs:range <http://www.reportinghub.no/ep/schema/activity#Activity> .
422 427
423 ep-prodact:hasShutInPressure 428 ep-prodact:hasShutInPressure
424 - rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ; 429 + rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
425 rdfs:domain <http://www.reportinghub.no/ep/schema/activity#ProductionWellTest> ; 430 rdfs:domain <http://www.reportinghub.no/ep/schema/activity#ProductionWellTest> ;
426 rdfs:label "has shut-in pressure"^^xsd:string ; 431 rdfs:label "has shut-in pressure"^^xsd:string ;
427 rdfs:range ep-core:Pressure . 432 rdfs:range ep-core:Pressure .
......
...@@ -20,28 +20,40 @@ ep-prodwell:NaturalGasClass ...@@ -20,28 +20,40 @@ ep-prodwell:NaturalGasClass
20 rdfs:subClassOf owl:Class . 20 rdfs:subClassOf owl:Class .
21 21
22 ep-prodwell:Sand 22 ep-prodwell:Sand
23 - rdf:type owl:Class , ep-well:FluidComponentType ; 23 + rdf:type ep-well:FluidComponentType , owl:Class ;
24 rdfs:label "sand"^^xsd:string ; 24 rdfs:label "sand"^^xsd:string ;
25 rdfs:subClassOf ep-well:Fluid . 25 rdfs:subClassOf ep-well:Fluid .
26 26
27 ep-prodwell:basicSedimentAndWater 27 ep-prodwell:basicSedimentAndWater
28 - rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ; 28 + rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
29 rdfs:label "basic sediment and water"^^xsd:string ; 29 rdfs:label "basic sediment and water"^^xsd:string ;
30 rdfs:range ep-core:SpecificVolume . 30 rdfs:range ep-core:SpecificVolume .
31 31
32 ep-prodwell:condensateYield 32 ep-prodwell:condensateYield
33 - rdf:type owl:FunctionalProperty , owl:ObjectProperty , ep-core:Class_of_indirect_property ; 33 + rdf:type ep-core:Class_of_indirect_property , owl:ObjectProperty , owl:FunctionalProperty ;
34 rdfs:label "condensate yield"^^xsd:string ; 34 rdfs:label "condensate yield"^^xsd:string ;
35 rdfs:range ep-core:SpecificVolume . 35 rdfs:range ep-core:SpecificVolume .
36 36
37 +ep-prodwell:depthOfBaseUsableWaterFromSurface
38 + rdf:type ep-core:Class_of_indirect_property , owl:ObjectProperty , owl:FunctionalProperty ;
39 + rdfs:domain ep-well:Fluid ;
40 + rdfs:label "depth of base of usable water from surface"^^xsd:string ;
41 + rdfs:range ep-core:Length .
42 +
43 +ep-prodwell:depthOfFluidSurfaceFromTopOfWell
44 + rdf:type ep-core:Class_of_indirect_property , owl:ObjectProperty , owl:FunctionalProperty ;
45 + rdfs:domain ep-well:Fluid ;
46 + rdfs:label "depth of fluid surface from top of well"^^xsd:string ;
47 + rdfs:range ep-core:Length .
48 +
37 ep-prodwell:potentialGasProduction 49 ep-prodwell:potentialGasProduction
38 - rdf:type owl:FunctionalProperty , owl:ObjectProperty , ep-core:Class_of_indirect_property ; 50 + rdf:type ep-core:Class_of_indirect_property , owl:ObjectProperty , owl:FunctionalProperty ;
39 rdfs:domain ep-well:WellBore ; 51 rdfs:domain ep-well:WellBore ;
40 rdfs:label "potential gas production"^^xsd:string ; 52 rdfs:label "potential gas production"^^xsd:string ;
41 rdfs:range ep-core:VolumetricFlowRate . 53 rdfs:range ep-core:VolumetricFlowRate .
42 54
43 ep-prodwell:potentialOilProduction 55 ep-prodwell:potentialOilProduction
44 - rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ; 56 + rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
45 rdfs:domain ep-well:WellBore ; 57 rdfs:domain ep-well:WellBore ;
46 rdfs:label "potential oil production"^^xsd:string ; 58 rdfs:label "potential oil production"^^xsd:string ;
47 rdfs:range ep-core:VolumetricFlowRate . 59 rdfs:range ep-core:VolumetricFlowRate .
......
...@@ -21,166 +21,41 @@ ...@@ -21,166 +21,41 @@
21 21
22 <http://www.reportinghub.no/ep/transform/1.0/dpr/wellTest> 22 <http://www.reportinghub.no/ep/transform/1.0/dpr/wellTest>
23 rdf:type owl:Ontology ; 23 rdf:type owl:Ontology ;
24 - owl:imports <http://www.reportinghub.no/ep/schema/1.0/production-well> , <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/schema/1.0/production-core> , <http://www.witsml.org/schemas/131/addendum/combo> , <http://spinrdf.org/spin> ; 24 + owl:imports <http://spinrdf.org/spin> , <http://www.witsml.org/schemas/131/addendum/combo> , <http://www.reportinghub.no/ep/schema/1.0/production-core> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.0/production-well> ;
25 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 25 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
26 26
27 <http://www.witsml.org/schemas/131/addendum/combo#A_Global-WITSMLComposite> 27 <http://www.witsml.org/schemas/131/addendum/combo#A_Global-WITSMLComposite>
28 spin:rule 28 spin:rule
29 [ rdf:type sp:Construct ; 29 [ rdf:type sp:Construct ;
30 - rdfs:comment "STEP 30108 Transfer well head data - shut in pressure"^^xsd:string ; 30 + rdfs:comment "STEP 30106 Classify as a Production test and set duration"^^xsd:string ;
31 - sp:templates ([ sp:object _:b1 ; 31 + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/activity#ProductionWellTest> ;
32 - sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#hasShutInPressure> ;
33 - sp:subject
34 - [ sp:varName "wellTest"^^xsd:string
35 - ]
36 - ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Pressure> ;
37 sp:predicate rdf:type ; 32 sp:predicate rdf:type ;
38 - sp:subject _:b1
39 - ] [ sp:object
40 - [ sp:varName "realShutInPressure"^^xsd:string
41 - ] ;
42 - sp:predicate
43 - [ sp:varName "shutInPressureScale"^^xsd:string
44 - ] ;
45 - sp:subject _:b1
46 - ]) ;
47 - sp:where ([ sp:object
48 - [ sp:varName "wellSetRef"^^xsd:string
49 - ] ;
50 - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#wellSetRef> ;
51 - sp:subject spin:_this
52 - ] [ sp:object
53 - [ sp:varName "wellRef"^^xsd:string
54 - ] ;
55 - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#wellRef> ;
56 - sp:subject
57 - [ sp:varName "wellSetRef"^^xsd:string
58 - ]
59 - ] [ sp:object
60 - [ sp:varName "wellboreSetRef"^^xsd:string
61 - ] ;
62 - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#wellboreSetRef> ;
63 - sp:subject
64 - [ sp:varName "wellRef"^^xsd:string
65 - ]
66 - ] [ sp:object
67 - [ sp:varName "wellboreRef"^^xsd:string
68 - ] ;
69 - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#wellboreRef> ;
70 - sp:subject
71 - [ sp:varName "wellboreSetRef"^^xsd:string
72 - ]
73 - ] [ sp:object
74 - [ sp:varName "nameWellBore"^^xsd:string
75 - ] ;
76 - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#name> ;
77 - sp:subject
78 - [ sp:varName "wellboreRef"^^xsd:string
79 - ]
80 - ] [ sp:object
81 - [ sp:varName "wellTestSetRef"^^xsd:string
82 - ] ;
83 - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#wellTestSetRef> ;
84 - sp:subject
85 - [ sp:varName "wellboreRef"^^xsd:string
86 - ]
87 - ] [ sp:object
88 - [ sp:varName "wellTestRef"^^xsd:string
89 - ] ;
90 - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#wellTestRef> ;
91 - sp:subject
92 - [ sp:varName "wellTestSetRef"^^xsd:string
93 - ]
94 - ] [ sp:object
95 - [ sp:varName "wellTestRef"^^xsd:string
96 - ] ;
97 - sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
98 sp:subject 33 sp:subject
99 [ sp:varName "wellTest"^^xsd:string 34 [ sp:varName "wellTest"^^xsd:string
100 ] 35 ]
101 - ] [ sp:object 36 + ] [ sp:object _:b1 ;
102 - [ sp:varName "productionTestRef"^^xsd:string 37 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#hasFlow> ;
103 - ] ;
104 - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productionTestRef> ;
105 - sp:subject
106 - [ sp:varName "wellTestRef"^^xsd:string
107 - ]
108 - ] [ sp:object
109 - [ sp:varName "wellheadDataRef"^^xsd:string
110 - ] ;
111 - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#wellheadDataRef> ;
112 - sp:subject
113 - [ sp:varName "productionTestRef"^^xsd:string
114 - ]
115 - ] [ sp:object
116 - [ sp:varName "shutInPressureRef"^^xsd:string
117 - ] ;
118 - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#shutInPressureRef> ;
119 - sp:subject
120 - [ sp:varName "wellheadDataRef"^^xsd:string
121 - ]
122 - ] [ sp:object
123 - [ sp:varName "realShutInPressure"^^xsd:string
124 - ] ;
125 - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
126 - sp:subject
127 - [ sp:varName "shutInPressureRef"^^xsd:string
128 - ]
129 - ] [ sp:object
130 - [ sp:varName "uomShutInPressure"^^xsd:string
131 - ] ;
132 - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ;
133 sp:subject 38 sp:subject
134 - [ sp:varName "shutInPressureRef"^^xsd:string 39 + [ sp:varName "wellTest"^^xsd:string
135 - ]
136 - ] [ rdf:type sp:Bind ;
137 - sp:expression
138 - [ rdf:type ep-dpr-spin-lib:selectPressureScale ;
139 - sp:arg1 [ sp:varName "uomShutInPressure"^^xsd:string
140 - ]
141 - ] ;
142 - sp:variable
143 - [ sp:varName "ShutInPressureScale"^^xsd:string
144 ] 40 ]
145 - ]) 41 + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#FlowOfMaterial> ;
146 - ] ; 42 + sp:predicate rdf:type ;
147 - spin:rule 43 + sp:subject _:b1
148 - [ rdf:type sp:Construct ; 44 + ] [ sp:object _:b2 ;
149 - rdfs:comment "STEP 30111 Transfer separator pressure and temperature"^^xsd:string ; 45 + sp:predicate rdf:type ;
150 - sp:templates ([ sp:object _:b2 ;
151 - sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasNetworkPart> ;
152 sp:subject 46 sp:subject
153 - [ sp:varName "productionTestFlow"^^xsd:string 47 + [ sp:varName "wellTest"^^xsd:string
154 ] 48 ]
155 - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionTestSeparatorFlow> ; 49 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#TimeDuration> ;
156 - sp:predicate rdf:type ;
157 - sp:subject _:b2
158 - ] [ sp:object _:b3 ;
159 sp:predicate rdf:type ; 50 sp:predicate rdf:type ;
160 sp:subject _:b2 51 sp:subject _:b2
161 - ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Pressure> ;
162 - sp:predicate rdf:type ;
163 - sp:subject _:b3
164 ] [ sp:object 52 ] [ sp:object
165 - [ sp:varName "realSeparatorPressure"^^xsd:string 53 + [ sp:varName "realDuration"^^xsd:string
166 ] ; 54 ] ;
167 sp:predicate 55 sp:predicate
168 - [ sp:varName "pressureScaleSeparator"^^xsd:string 56 + [ sp:varName "durationScale"^^xsd:string
169 ] ; 57 ] ;
170 - sp:subject _:b3
171 - ] [ sp:object _:b4 ;
172 - sp:predicate rdf:type ;
173 sp:subject _:b2 58 sp:subject _:b2
174 - ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Temperature> ;
175 - sp:predicate rdf:type ;
176 - sp:subject _:b4
177 - ] [ sp:object
178 - [ sp:varName "realSeparatorTemperature"^^xsd:string
179 - ] ;
180 - sp:predicate
181 - [ sp:varName "temperatureScaleSeparator"^^xsd:string
182 - ] ;
183 - sp:subject _:b4
184 ]) ; 59 ]) ;
185 sp:where ([ sp:object 60 sp:where ([ sp:object
186 [ sp:varName "wellSetRef"^^xsd:string 61 [ sp:varName "wellSetRef"^^xsd:string
...@@ -237,116 +112,70 @@ ...@@ -237,116 +112,70 @@
237 [ sp:varName "wellTest"^^xsd:string 112 [ sp:varName "wellTest"^^xsd:string
238 ] 113 ]
239 ] [ sp:object 114 ] [ sp:object
240 - [ sp:varName "productionTestFlow"^^xsd:string
241 - ] ;
242 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#hasFlow> ;
243 - sp:subject
244 - [ sp:varName "wellTest"^^xsd:string
245 - ]
246 - ] [ sp:object
247 [ sp:varName "productionTestRef"^^xsd:string 115 [ sp:varName "productionTestRef"^^xsd:string
248 ] ; 116 ] ;
249 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productionTestRef> ; 117 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productionTestRef> ;
250 sp:subject 118 sp:subject
251 [ sp:varName "wellTestRef"^^xsd:string 119 [ sp:varName "wellTestRef"^^xsd:string
252 ] 120 ]
253 - ] [ sp:object
254 - [ sp:varName "separatorDataRef"^^xsd:string
255 - ] ;
256 - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#separatorDataRef> ;
257 - sp:subject
258 - [ sp:varName "productionTestRef"^^xsd:string
259 - ]
260 - ] [ rdf:type sp:Optional ;
261 - sp:elements ([ sp:object
262 - [ sp:varName "separatorPressureRef"^^xsd:string
263 - ] ;
264 - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#separatorPressureRef> ;
265 - sp:subject
266 - [ sp:varName "separatorDataRef"^^xsd:string
267 - ]
268 - ] [ sp:object
269 - [ sp:varName "realSeparatorPressure"^^xsd:string
270 - ] ;
271 - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
272 - sp:subject
273 - [ sp:varName "separatorPressureRef"^^xsd:string
274 - ]
275 - ] [ sp:object
276 - [ sp:varName "uomSeparatorPressure"^^xsd:string
277 - ] ;
278 - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ;
279 - sp:subject
280 - [ sp:varName "separatorPressureRef"^^xsd:string
281 - ]
282 - ])
283 ] [ rdf:type sp:Optional ; 121 ] [ rdf:type sp:Optional ;
284 sp:elements ([ sp:object 122 sp:elements ([ sp:object
285 - [ sp:varName "separatorTemperatureRef"^^xsd:string 123 + [ sp:varName "testDurationRef"^^xsd:string
286 ] ; 124 ] ;
287 - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#separatorTemperatureRef> ; 125 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#testDurationRef> ;
288 sp:subject 126 sp:subject
289 - [ sp:varName "separatorDataRef"^^xsd:string 127 + [ sp:varName "productionTestRef"^^xsd:string
290 ] 128 ]
291 ] [ sp:object 129 ] [ sp:object
292 - [ sp:varName "realSeparatorTemperature"^^xsd:string 130 + [ sp:varName "realDuration"^^xsd:string
293 ] ; 131 ] ;
294 sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; 132 sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
295 sp:subject 133 sp:subject
296 - [ sp:varName "separatorTemperatureRef"^^xsd:string 134 + [ sp:varName "testDurationRef"^^xsd:string
297 ] 135 ]
298 ] [ sp:object 136 ] [ sp:object
299 - [ sp:varName "uomSeparatorTemperature"^^xsd:string 137 + [ sp:varName "uomDuration"^^xsd:string
300 ] ; 138 ] ;
301 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ; 139 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ;
302 sp:subject 140 sp:subject
303 - [ sp:varName "separatorTemperatureRef"^^xsd:string 141 + [ sp:varName "testDurationRef"^^xsd:string
304 ] 142 ]
305 ]) 143 ])
306 ] [ rdf:type sp:Bind ; 144 ] [ rdf:type sp:Bind ;
307 sp:expression 145 sp:expression
308 - [ rdf:type ep-dpr-spin-lib:selectPressureScale ; 146 + [ rdf:type ep-dpr-spin-lib:selectDurationScale ;
309 - sp:arg1 [ sp:varName "uomSeparatorPressure"^^xsd:string 147 + sp:arg1 [ sp:varName "uomDuration"^^xsd:string
310 - ]
311 - ] ;
312 - sp:variable
313 - [ sp:varName "pressureScaleSeparator"^^xsd:string
314 - ]
315 - ] [ rdf:type sp:Bind ;
316 - sp:expression
317 - [ rdf:type ep-dpr-spin-lib:selectTemperatureScale ;
318 - sp:arg1 [ sp:varName "uomSeparatorTemperature"^^xsd:string
319 ] 148 ]
320 ] ; 149 ] ;
321 sp:variable 150 sp:variable
322 - [ sp:varName "temperatureScaleSeparator"^^xsd:string 151 + [ sp:varName "durationScale"^^xsd:string
323 ] 152 ]
324 ]) 153 ])
325 ] ; 154 ] ;
326 spin:rule 155 spin:rule
327 [ rdf:type sp:Construct ; 156 [ rdf:type sp:Construct ;
328 rdfs:comment "STEP 30107 Transfer well head data - choke orifice size"^^xsd:string ; 157 rdfs:comment "STEP 30107 Transfer well head data - choke orifice size"^^xsd:string ;
329 - sp:templates ([ sp:object _:b5 ; 158 + sp:templates ([ sp:object _:b3 ;
330 sp:predicate <http://www.reportinghub.no/ep/schema/activity#hasWellTestChoke> ; 159 sp:predicate <http://www.reportinghub.no/ep/schema/activity#hasWellTestChoke> ;
331 sp:subject 160 sp:subject
332 [ sp:varName "wellTest"^^xsd:string 161 [ sp:varName "wellTest"^^xsd:string
333 ] 162 ]
334 ] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#WellTestChoke> ; 163 ] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#WellTestChoke> ;
335 sp:predicate rdf:type ; 164 sp:predicate rdf:type ;
336 - sp:subject _:b5 165 + sp:subject _:b3
337 - ] [ sp:object _:b6 ; 166 + ] [ sp:object _:b4 ;
338 sp:predicate <http://www.reportinghub.no/ep/schema/equipment#chokeOrificeSize> ; 167 sp:predicate <http://www.reportinghub.no/ep/schema/equipment#chokeOrificeSize> ;
339 - sp:subject _:b5 168 + sp:subject _:b3
340 ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ; 169 ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
341 sp:predicate rdf:type ; 170 sp:predicate rdf:type ;
342 - sp:subject _:b6 171 + sp:subject _:b4
343 ] [ sp:object 172 ] [ sp:object
344 [ sp:varName "realChokeOrificeSize"^^xsd:string 173 [ sp:varName "realChokeOrificeSize"^^xsd:string
345 ] ; 174 ] ;
346 sp:predicate 175 sp:predicate
347 [ sp:varName "lengthScaleChokeOrificeSize"^^xsd:string 176 [ sp:varName "lengthScaleChokeOrificeSize"^^xsd:string
348 ] ; 177 ] ;
349 - sp:subject _:b6 178 + sp:subject _:b4
350 ]) ; 179 ]) ;
351 sp:where ([ sp:object 180 sp:where ([ sp:object
352 [ sp:varName "wellSetRef"^^xsd:string 181 [ sp:varName "wellSetRef"^^xsd:string
...@@ -450,28 +279,20 @@ ...@@ -450,28 +279,20 @@
450 ] ; 279 ] ;
451 spin:rule 280 spin:rule
452 [ rdf:type sp:Construct ; 281 [ rdf:type sp:Construct ;
453 - rdfs:comment "STEP 30105 Set choke orifice size"^^xsd:string ; 282 + rdfs:comment "STEP 30104 Set previous valid test"^^xsd:string ;
454 - sp:templates ([ sp:object _:b7 ; 283 + sp:templates ([ sp:object _:b5 ;
455 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#hasWellTestChoke> ; 284 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#hasValidPredecessor> ;
456 sp:subject 285 sp:subject
457 [ sp:varName "wellTest"^^xsd:string 286 [ sp:varName "wellTest"^^xsd:string
458 ] 287 ]
459 - ] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#WellTestChoke> ; 288 + ] [ sp:object <http://www.reportinghub.no/ep/schema/activity#WellTest> ;
460 - sp:predicate rdf:type ;
461 - sp:subject _:b7
462 - ] [ sp:object _:b8 ;
463 - sp:predicate <http://www.reportinghub.no/ep/schema/equipment#chokeOrificeSize> ;
464 - sp:subject _:b7
465 - ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
466 sp:predicate rdf:type ; 289 sp:predicate rdf:type ;
467 - sp:subject _:b8 290 + sp:subject _:b5
468 ] [ sp:object 291 ] [ sp:object
469 - [ sp:varName "realChokeOrificeSize"^^xsd:string 292 + [ sp:varName "lastValidTest"^^xsd:string
470 - ] ;
471 - sp:predicate
472 - [ sp:varName "lengthScaleChokeOrificeSize"^^xsd:string
473 ] ; 293 ] ;
474 - sp:subject _:b8 294 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#nominallyAt> ;
295 + sp:subject _:b5
475 ]) ; 296 ]) ;
476 sp:where ([ sp:object 297 sp:where ([ sp:object
477 [ sp:varName "wellSetRef"^^xsd:string 298 [ sp:varName "wellSetRef"^^xsd:string
...@@ -528,53 +349,30 @@ ...@@ -528,53 +349,30 @@
528 [ sp:varName "wellTest"^^xsd:string 349 [ sp:varName "wellTest"^^xsd:string
529 ] 350 ]
530 ] [ sp:object 351 ] [ sp:object
531 - [ sp:varName "chokeOrificeSizeRef"^^xsd:string 352 + [ sp:varName "lastValidTest"^^xsd:string
532 ] ; 353 ] ;
533 - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#chokeOrificeSizeRef> ; 354 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#lastValidTest> ;
534 sp:subject 355 sp:subject
535 [ sp:varName "wellTestRef"^^xsd:string 356 [ sp:varName "wellTestRef"^^xsd:string
536 ] 357 ]
537 - ] [ sp:object
538 - [ sp:varName "realChokeOrificeSize"^^xsd:string
539 - ] ;
540 - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
541 - sp:subject
542 - [ sp:varName "chokeOrificeSizeRef"^^xsd:string
543 - ]
544 - ] [ sp:object
545 - [ sp:varName "uomChokeOrificeSize"^^xsd:string
546 - ] ;
547 - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ;
548 - sp:subject
549 - [ sp:varName "chokeOrificeSizeRef"^^xsd:string
550 - ]
551 - ] [ rdf:type sp:Bind ;
552 - sp:expression
553 - [ rdf:type ep-dpr-spin-lib:selectLengthScale ;
554 - sp:arg1 [ sp:varName "uomChokeOrificeSize"^^xsd:string
555 - ]
556 - ] ;
557 - sp:variable
558 - [ sp:varName "lengthScaleChokeOrificeSize"^^xsd:string
559 - ]
560 ]) 358 ])
561 ] ; 359 ] ;
562 spin:rule 360 spin:rule
563 [ rdf:type sp:Construct ; 361 [ rdf:type sp:Construct ;
564 - rdfs:comment "STEP 30103 Set previous test"^^xsd:string ; 362 + rdfs:comment "STEP 30102 Classify the well test activity"^^xsd:string ;
565 - sp:templates ([ sp:object _:b9 ; 363 + sp:templates ([ sp:object _:b6 ;
566 - sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#hasPredecessor> ; 364 + sp:predicate rdf:type ;
567 sp:subject 365 sp:subject
568 [ sp:varName "wellTest"^^xsd:string 366 [ sp:varName "wellTest"^^xsd:string
569 ] 367 ]
570 - ] [ sp:object <http://www.reportinghub.no/ep/schema/activity#WellTest> ; 368 + ] [ sp:object <http://www.reportinghub.no/ep/schema/activity#WellTestType> ;
571 sp:predicate rdf:type ; 369 sp:predicate rdf:type ;
572 - sp:subject _:b9 370 + sp:subject _:b6
573 ] [ sp:object 371 ] [ sp:object
574 - [ sp:varName "previousTestDate"^^xsd:string 372 + [ sp:varName "testTypeName"^^xsd:string
575 ] ; 373 ] ;
576 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#nominallyAt> ; 374 + sp:predicate rdfs:label ;
577 - sp:subject _:b9 375 + sp:subject _:b6
578 ]) ; 376 ]) ;
579 sp:where ([ sp:object 377 sp:where ([ sp:object
580 [ sp:varName "wellSetRef"^^xsd:string 378 [ sp:varName "wellSetRef"^^xsd:string
...@@ -631,9 +429,9 @@ ...@@ -631,9 +429,9 @@
631 [ sp:varName "wellTest"^^xsd:string 429 [ sp:varName "wellTest"^^xsd:string
632 ] 430 ]
633 ] [ sp:object 431 ] [ sp:object
634 - [ sp:varName "previousTestDate"^^xsd:string 432 + [ sp:varName "testTypeName"^^xsd:string
635 ] ; 433 ] ;
636 - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#previousTestDate> ; 434 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#testType> ;
637 sp:subject 435 sp:subject
638 [ sp:varName "wellTestRef"^^xsd:string 436 [ sp:varName "wellTestRef"^^xsd:string
639 ] 437 ]
...@@ -641,77 +439,30 @@ ...@@ -641,77 +439,30 @@
641 ] ; 439 ] ;
642 spin:rule 440 spin:rule
643 [ rdf:type sp:Construct ; 441 [ rdf:type sp:Construct ;
644 - rdfs:comment """STEP 30101 Create WellTest activity - anonymous because there is no mandatory data about it 442 + rdfs:comment "STEP 30105 Set choke orifice size"^^xsd:string ;
645 -The name of the WellBore has \"-wellbore\" after it, so a temporary WellBore URI for now. 443 + sp:templates ([ sp:object _:b7 ;
646 -The WellTest is part of the DailyProductionActivity, but there may not be a ProductionOperations element."""^^xsd:string ; 444 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#hasWellTestChoke> ;
647 - sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/activity#WellTest> ;
648 - sp:predicate rdf:type ;
649 - sp:subject _:b10
650 - ] [ sp:object _:b10 ;
651 - sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
652 sp:subject 445 sp:subject
653 - [ sp:varName "dailyProductionActivity"^^xsd:string 446 + [ sp:varName "wellTest"^^xsd:string
654 ] 447 ]
448 + ] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#WellTestChoke> ;
449 + sp:predicate rdf:type ;
450 + sp:subject _:b7
451 + ] [ sp:object _:b8 ;
452 + sp:predicate <http://www.reportinghub.no/ep/schema/equipment#chokeOrificeSize> ;
453 + sp:subject _:b7
454 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
455 + sp:predicate rdf:type ;
456 + sp:subject _:b8
655 ] [ sp:object 457 ] [ sp:object
656 - [ sp:varName "testDate"^^xsd:string 458 + [ sp:varName "realChokeOrificeSize"^^xsd:string
657 - ] ;
658 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#nominallyAt> ;
659 - sp:subject _:b10
660 - ] [ sp:object
661 - [ sp:varName "wellBore"^^xsd:string
662 - ] ;
663 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
664 - sp:subject _:b10
665 - ] [ sp:object
666 - [ sp:varName "wellBoreTestName"^^xsd:string
667 - ] ;
668 - sp:predicate rdfs:label ;
669 - sp:subject _:b10
670 - ] [ sp:object
671 - [ sp:varName "wellTestRef"^^xsd:string
672 ] ; 459 ] ;
673 - sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; 460 + sp:predicate
674 - sp:subject _:b10 461 + [ sp:varName "lengthScaleChokeOrificeSize"^^xsd:string
675 - ] [ sp:object
676 - [ sp:varName "wellTestReasonType"^^xsd:string
677 ] ; 462 ] ;
678 - sp:predicate rdf:type ; 463 + sp:subject _:b8
679 - sp:subject _:b10
680 ]) ; 464 ]) ;
681 sp:where ([ sp:object 465 sp:where ([ sp:object
682 - [ sp:varName "docInfo"^^xsd:string
683 - ] ;
684 - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#documentInfoRef> ;
685 - sp:subject spin:_this
686 - ] [ sp:object
687 - [ sp:varName "docNameStruct"^^xsd:string
688 - ] ;
689 - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#documentNameRef> ;
690 - sp:subject
691 - [ sp:varName "docInfo"^^xsd:string
692 - ]
693 - ] [ sp:object
694 - [ sp:varName "docName"^^xsd:string
695 - ] ;
696 - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
697 - sp:subject
698 - [ sp:varName "docNameStruct"^^xsd:string
699 - ]
700 - ] [ sp:object
701 - [ sp:varName "docDate"^^xsd:string
702 - ] ;
703 - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#documentDate> ;
704 - sp:subject
705 - [ sp:varName "docInfo"^^xsd:string
706 - ]
707 - ] [ sp:object
708 - [ sp:varName "dailyProductionActivity"^^xsd:string
709 - ] ;
710 - sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
711 - sp:subject
712 - [ sp:varName "epDailyProdRep"^^xsd:string
713 - ]
714 - ] [ sp:object
715 [ sp:varName "wellSetRef"^^xsd:string 466 [ sp:varName "wellSetRef"^^xsd:string
716 ] ; 467 ] ;
717 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#wellSetRef> ; 468 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#wellSetRef> ;
...@@ -759,88 +510,60 @@ The WellTest is part of the DailyProductionActivity, but there may not be a Prod ...@@ -759,88 +510,60 @@ The WellTest is part of the DailyProductionActivity, but there may not be a Prod
759 [ sp:varName "wellTestSetRef"^^xsd:string 510 [ sp:varName "wellTestSetRef"^^xsd:string
760 ] 511 ]
761 ] [ sp:object 512 ] [ sp:object
762 - [ sp:varName "wellBoreTestName"^^xsd:string 513 + [ sp:varName "wellTestRef"^^xsd:string
763 ] ; 514 ] ;
764 - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#name> ; 515 + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
516 + sp:subject
517 + [ sp:varName "wellTest"^^xsd:string
518 + ]
519 + ] [ sp:object
520 + [ sp:varName "chokeOrificeSizeRef"^^xsd:string
521 + ] ;
522 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#chokeOrificeSizeRef> ;
765 sp:subject 523 sp:subject
766 [ sp:varName "wellTestRef"^^xsd:string 524 [ sp:varName "wellTestRef"^^xsd:string
767 ] 525 ]
768 - ] [ rdf:type sp:Optional ; 526 + ] [ sp:object
769 - sp:elements ([ sp:object 527 + [ sp:varName "realChokeOrificeSize"^^xsd:string
770 - [ sp:varName "testDate"^^xsd:string
771 - ] ;
772 - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#testDate> ;
773 - sp:subject
774 - [ sp:varName "wellTestRef"^^xsd:string
775 - ]
776 - ])
777 - ] [ rdf:type sp:Optional ;
778 - sp:elements ([ sp:object
779 - [ sp:varName "testReason"^^xsd:string
780 - ] ;
781 - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#testReasonRef> ;
782 - sp:subject
783 - [ sp:varName "wellTestRef"^^xsd:string
784 - ]
785 - ])
786 - ] [ rdf:type sp:Bind ;
787 - sp:expression
788 - [ rdf:type ep-spin-lib:buildURI ;
789 - sp:arg1 "https://www.reportinghub.no/ep/data/dailyProductionReport/" ;
790 - sp:arg2 [ rdf:type fn:concat ;
791 - sp:arg1 [ rdf:type ep-spin-lib:normalizeString ;
792 - sp:arg1 [ sp:varName "docName"^^xsd:string
793 - ]
794 - ] ;
795 - sp:arg2 "$" ;
796 - sp:arg3 [ sp:varName "docDate"^^xsd:string
797 - ]
798 - ]
799 ] ; 528 ] ;
800 - sp:variable 529 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
801 - [ sp:varName "epDailyProdRep"^^xsd:string 530 + sp:subject
531 + [ sp:varName "chokeOrificeSizeRef"^^xsd:string
802 ] 532 ]
803 - ] [ rdf:type sp:Bind ; 533 + ] [ sp:object
804 - sp:expression 534 + [ sp:varName "uomChokeOrificeSize"^^xsd:string
805 - [ rdf:type ep-spin-lib:buildURI ;
806 - sp:arg1 "https://www.reportinghub.no/ep/data/temporaryWellBoreURI/" ;
807 - sp:arg2 [ rdf:type fn:concat ;
808 - sp:arg1 [ rdf:type ep-spin-lib:normalizeString ;
809 - sp:arg1 [ sp:varName "nameWellBore"^^xsd:string
810 - ]
811 - ]
812 - ]
813 ] ; 535 ] ;
814 - sp:variable 536 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ;
815 - [ sp:varName "wellBore"^^xsd:string 537 + sp:subject
538 + [ sp:varName "chokeOrificeSizeRef"^^xsd:string
816 ] 539 ]
817 ] [ rdf:type sp:Bind ; 540 ] [ rdf:type sp:Bind ;
818 sp:expression 541 sp:expression
819 - [ rdf:type ep-dpr-spin-lib:selectWellTestReasonType ; 542 + [ rdf:type ep-dpr-spin-lib:selectLengthScale ;
820 - sp:arg1 [ sp:varName "testReason"^^xsd:string 543 + sp:arg1 [ sp:varName "uomChokeOrificeSize"^^xsd:string
821 ] 544 ]
822 ] ; 545 ] ;
823 sp:variable 546 sp:variable
824 - [ sp:varName "wellTestReasonType"^^xsd:string 547 + [ sp:varName "lengthScaleChokeOrificeSize"^^xsd:string
825 ] 548 ]
826 ]) 549 ])
827 ] ; 550 ] ;
828 spin:rule 551 spin:rule
829 [ rdf:type sp:Construct ; 552 [ rdf:type sp:Construct ;
830 - rdfs:comment "STEP 30102 Classify the well test activity"^^xsd:string ; 553 + rdfs:comment "STEP 30103 Set previous test"^^xsd:string ;
831 - sp:templates ([ sp:object _:b11 ; 554 + sp:templates ([ sp:object _:b9 ;
832 - sp:predicate rdf:type ; 555 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#hasPredecessor> ;
833 sp:subject 556 sp:subject
834 [ sp:varName "wellTest"^^xsd:string 557 [ sp:varName "wellTest"^^xsd:string
835 ] 558 ]
836 - ] [ sp:object <http://www.reportinghub.no/ep/schema/activity#WellTestType> ; 559 + ] [ sp:object <http://www.reportinghub.no/ep/schema/activity#WellTest> ;
837 sp:predicate rdf:type ; 560 sp:predicate rdf:type ;
838 - sp:subject _:b11 561 + sp:subject _:b9
839 ] [ sp:object 562 ] [ sp:object
840 - [ sp:varName "testTypeName"^^xsd:string 563 + [ sp:varName "previousTestDate"^^xsd:string
841 ] ; 564 ] ;
842 - sp:predicate rdfs:label ; 565 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#nominallyAt> ;
843 - sp:subject _:b11 566 + sp:subject _:b9
844 ]) ; 567 ]) ;
845 sp:where ([ sp:object 568 sp:where ([ sp:object
846 [ sp:varName "wellSetRef"^^xsd:string 569 [ sp:varName "wellSetRef"^^xsd:string
...@@ -897,9 +620,9 @@ The WellTest is part of the DailyProductionActivity, but there may not be a Prod ...@@ -897,9 +620,9 @@ The WellTest is part of the DailyProductionActivity, but there may not be a Prod
897 [ sp:varName "wellTest"^^xsd:string 620 [ sp:varName "wellTest"^^xsd:string
898 ] 621 ]
899 ] [ sp:object 622 ] [ sp:object
900 - [ sp:varName "testTypeName"^^xsd:string 623 + [ sp:varName "previousTestDate"^^xsd:string
901 ] ; 624 ] ;
902 - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#testType> ; 625 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#previousTestDate> ;
903 sp:subject 626 sp:subject
904 [ sp:varName "wellTestRef"^^xsd:string 627 [ sp:varName "wellTestRef"^^xsd:string
905 ] 628 ]
...@@ -907,41 +630,46 @@ The WellTest is part of the DailyProductionActivity, but there may not be a Prod ...@@ -907,41 +630,46 @@ The WellTest is part of the DailyProductionActivity, but there may not be a Prod
907 ] ; 630 ] ;
908 spin:rule 631 spin:rule
909 [ rdf:type sp:Construct ; 632 [ rdf:type sp:Construct ;
910 - rdfs:comment "STEP 30109 Transfer well head data - temperature and flowing pressure"^^xsd:string ; 633 + rdfs:comment "STEP 30130 Classify as a FluidLevel test and set duration"^^xsd:string ;
911 - sp:templates ([ sp:object _:b12 ; 634 + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-activity#FluidLevelTest> ;
912 - sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasNetworkPart> ; 635 + sp:predicate rdf:type ;
913 sp:subject 636 sp:subject
914 - [ sp:varName "productionTestFlow"^^xsd:string 637 + [ sp:varName "wellTest"^^xsd:string
915 ] 638 ]
916 - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionTestWellHeadFlow> ; 639 + ] [ sp:object _:b10 ;
917 - sp:predicate rdf:type ; 640 + sp:predicate <http://www.reportinghub.no/ep/schema/core#hasSpatialPart> ;
918 - sp:subject _:b12 641 + sp:subject
919 - ] [ sp:object _:b13 ; 642 + [ sp:varName "wellBore"^^xsd:string
643 + ]
644 + ] [ sp:object <http://www.reportinghub.no/ep/schema/well#Fluid> ;
920 sp:predicate rdf:type ; 645 sp:predicate rdf:type ;
921 - sp:subject _:b12 646 + sp:subject _:b10
922 - ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Pressure> ; 647 + ] [ sp:object _:b11 ;
648 + sp:predicate <http://www.reportinghub.no/ep/schema/production-well#depthOfFluidSurfaceFromTopOfWell> ;
649 + sp:subject _:b10
650 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
923 sp:predicate rdf:type ; 651 sp:predicate rdf:type ;
924 - sp:subject _:b13 652 + sp:subject _:b11
925 ] [ sp:object 653 ] [ sp:object
926 - [ sp:varName "realFlowingPressure"^^xsd:string 654 + [ sp:varName "realDepth"^^xsd:string
927 ] ; 655 ] ;
928 sp:predicate 656 sp:predicate
929 - [ sp:varName "pressureScaleFlowing"^^xsd:string 657 + [ sp:varName "lengthScaleDepth"^^xsd:string
930 ] ; 658 ] ;
931 - sp:subject _:b13 659 + sp:subject _:b11
932 - ] [ sp:object _:b14 ; 660 + ] [ sp:object _:b12 ;
661 + sp:predicate <http://www.reportinghub.no/ep/schema/production-well#depthOfBaseUsableWaterFromSurface> ;
662 + sp:subject _:b10
663 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
933 sp:predicate rdf:type ; 664 sp:predicate rdf:type ;
934 sp:subject _:b12 665 sp:subject _:b12
935 - ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Temperature> ;
936 - sp:predicate rdf:type ;
937 - sp:subject _:b14
938 ] [ sp:object 666 ] [ sp:object
939 - [ sp:varName "realWellheadTemperature"^^xsd:string 667 + [ sp:varName "realBaseUsableWater"^^xsd:string
940 ] ; 668 ] ;
941 sp:predicate 669 sp:predicate
942 - [ sp:varName "temperatureScaleWellhead"^^xsd:string 670 + [ sp:varName "lengthScaleBaseUsableWater"^^xsd:string
943 ] ; 671 ] ;
944 - sp:subject _:b14 672 + sp:subject _:b12
945 ]) ; 673 ]) ;
946 sp:where ([ sp:object 674 sp:where ([ sp:object
947 [ sp:varName "wellSetRef"^^xsd:string 675 [ sp:varName "wellSetRef"^^xsd:string
...@@ -998,26 +726,207 @@ The WellTest is part of the DailyProductionActivity, but there may not be a Prod ...@@ -998,26 +726,207 @@ The WellTest is part of the DailyProductionActivity, but there may not be a Prod
998 [ sp:varName "wellTest"^^xsd:string 726 [ sp:varName "wellTest"^^xsd:string
999 ] 727 ]
1000 ] [ sp:object 728 ] [ sp:object
1001 - [ sp:varName "productionTestFlow"^^xsd:string 729 + [ sp:varName "wellBore"^^xsd:string
1002 ] ; 730 ] ;
1003 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#hasFlow> ; 731 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
1004 sp:subject 732 sp:subject
1005 [ sp:varName "wellTest"^^xsd:string 733 [ sp:varName "wellTest"^^xsd:string
1006 ] 734 ]
1007 ] [ sp:object 735 ] [ sp:object
1008 - [ sp:varName "productionTestRef"^^xsd:string 736 + [ sp:varName "fluidLevelTestRef"^^xsd:string
1009 ] ; 737 ] ;
1010 - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productionTestRef> ; 738 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#fluidLevelTestRef> ;
1011 sp:subject 739 sp:subject
1012 [ sp:varName "wellTestRef"^^xsd:string 740 [ sp:varName "wellTestRef"^^xsd:string
1013 ] 741 ]
1014 - ] [ sp:object 742 + ] [ rdf:type sp:Optional ;
1015 - [ sp:varName "wellheadDataRef"^^xsd:string 743 + sp:elements ([ sp:object
1016 - ] ; 744 + [ sp:varName "fluidLevelRef"^^xsd:string
1017 - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#wellheadDataRef> ; 745 + ] ;
1018 - sp:subject 746 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#fluidLevelRef> ;
1019 - [ sp:varName "productionTestRef"^^xsd:string 747 + sp:subject
1020 - ] 748 + [ sp:varName "fluidLevelTestRef"^^xsd:string
749 + ]
750 + ] [ sp:object
751 + [ sp:varName "realDepth"^^xsd:string
752 + ] ;
753 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
754 + sp:subject
755 + [ sp:varName "fluidLevelRef"^^xsd:string
756 + ]
757 + ] [ sp:object
758 + [ sp:varName "uomDepth"^^xsd:string
759 + ] ;
760 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ;
761 + sp:subject
762 + [ sp:varName "fluidLevelRef"^^xsd:string
763 + ]
764 + ])
765 + ] [ rdf:type sp:Optional ;
766 + sp:elements ([ sp:object
767 + [ sp:varName "baseUsableWaterRef"^^xsd:string
768 + ] ;
769 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#baseUsableWaterRef> ;
770 + sp:subject
771 + [ sp:varName "fluidLevelTestRef"^^xsd:string
772 + ]
773 + ] [ sp:object
774 + [ sp:varName "realBaseUsableWater"^^xsd:string
775 + ] ;
776 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
777 + sp:subject
778 + [ sp:varName "baseUsableWaterRef"^^xsd:string
779 + ]
780 + ] [ sp:object
781 + [ sp:varName "uomBaseUsableWater"^^xsd:string
782 + ] ;
783 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ;
784 + sp:subject
785 + [ sp:varName "baseUsableWaterRef"^^xsd:string
786 + ]
787 + ])
788 + ] [ rdf:type sp:Optional ;
789 + sp:elements ([ sp:object
790 + [ sp:varName "testedBy"^^xsd:string
791 + ] ;
792 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#testedBy> ;
793 + sp:subject
794 + [ sp:varName "fluidLevelTestRef"^^xsd:string
795 + ]
796 + ])
797 + ] [ rdf:type sp:Bind ;
798 + sp:expression
799 + [ rdf:type ep-dpr-spin-lib:selectLengthScale ;
800 + sp:arg1 [ sp:varName "uomDepth"^^xsd:string
801 + ]
802 + ] ;
803 + sp:variable
804 + [ sp:varName "lengthScaleDepth"^^xsd:string
805 + ]
806 + ] [ rdf:type sp:Bind ;
807 + sp:expression
808 + [ rdf:type ep-dpr-spin-lib:selectLengthScale ;
809 + sp:arg1 [ sp:varName "uomBaseUsableWater"^^xsd:string
810 + ]
811 + ] ;
812 + sp:variable
813 + [ sp:varName "lengthScaleBaseUsableWater"^^xsd:string
814 + ]
815 + ])
816 + ] ;
817 + spin:rule
818 + [ rdf:type sp:Construct ;
819 + rdfs:comment "STEP 30109 Transfer well head data - temperature and flowing pressure"^^xsd:string ;
820 + sp:templates ([ sp:object _:b13 ;
821 + sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasNetworkPart> ;
822 + sp:subject
823 + [ sp:varName "productionTestFlow"^^xsd:string
824 + ]
825 + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionTestWellHeadFlow> ;
826 + sp:predicate rdf:type ;
827 + sp:subject _:b13
828 + ] [ sp:object _:b14 ;
829 + sp:predicate rdf:type ;
830 + sp:subject _:b13
831 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Pressure> ;
832 + sp:predicate rdf:type ;
833 + sp:subject _:b14
834 + ] [ sp:object
835 + [ sp:varName "realFlowingPressure"^^xsd:string
836 + ] ;
837 + sp:predicate
838 + [ sp:varName "pressureScaleFlowing"^^xsd:string
839 + ] ;
840 + sp:subject _:b14
841 + ] [ sp:object _:b15 ;
842 + sp:predicate rdf:type ;
843 + sp:subject _:b13
844 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Temperature> ;
845 + sp:predicate rdf:type ;
846 + sp:subject _:b15
847 + ] [ sp:object
848 + [ sp:varName "realWellheadTemperature"^^xsd:string
849 + ] ;
850 + sp:predicate
851 + [ sp:varName "temperatureScaleWellhead"^^xsd:string
852 + ] ;
853 + sp:subject _:b15
854 + ]) ;
855 + sp:where ([ sp:object
856 + [ sp:varName "wellSetRef"^^xsd:string
857 + ] ;
858 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#wellSetRef> ;
859 + sp:subject spin:_this
860 + ] [ sp:object
861 + [ sp:varName "wellRef"^^xsd:string
862 + ] ;
863 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#wellRef> ;
864 + sp:subject
865 + [ sp:varName "wellSetRef"^^xsd:string
866 + ]
867 + ] [ sp:object
868 + [ sp:varName "wellboreSetRef"^^xsd:string
869 + ] ;
870 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#wellboreSetRef> ;
871 + sp:subject
872 + [ sp:varName "wellRef"^^xsd:string
873 + ]
874 + ] [ sp:object
875 + [ sp:varName "wellboreRef"^^xsd:string
876 + ] ;
877 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#wellboreRef> ;
878 + sp:subject
879 + [ sp:varName "wellboreSetRef"^^xsd:string
880 + ]
881 + ] [ sp:object
882 + [ sp:varName "nameWellBore"^^xsd:string
883 + ] ;
884 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#name> ;
885 + sp:subject
886 + [ sp:varName "wellboreRef"^^xsd:string
887 + ]
888 + ] [ sp:object
889 + [ sp:varName "wellTestSetRef"^^xsd:string
890 + ] ;
891 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#wellTestSetRef> ;
892 + sp:subject
893 + [ sp:varName "wellboreRef"^^xsd:string
894 + ]
895 + ] [ sp:object
896 + [ sp:varName "wellTestRef"^^xsd:string
897 + ] ;
898 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#wellTestRef> ;
899 + sp:subject
900 + [ sp:varName "wellTestSetRef"^^xsd:string
901 + ]
902 + ] [ sp:object
903 + [ sp:varName "wellTestRef"^^xsd:string
904 + ] ;
905 + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
906 + sp:subject
907 + [ sp:varName "wellTest"^^xsd:string
908 + ]
909 + ] [ sp:object
910 + [ sp:varName "productionTestFlow"^^xsd:string
911 + ] ;
912 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#hasFlow> ;
913 + sp:subject
914 + [ sp:varName "wellTest"^^xsd:string
915 + ]
916 + ] [ sp:object
917 + [ sp:varName "productionTestRef"^^xsd:string
918 + ] ;
919 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productionTestRef> ;
920 + sp:subject
921 + [ sp:varName "wellTestRef"^^xsd:string
922 + ]
923 + ] [ sp:object
924 + [ sp:varName "wellheadDataRef"^^xsd:string
925 + ] ;
926 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#wellheadDataRef> ;
927 + sp:subject
928 + [ sp:varName "productionTestRef"^^xsd:string
929 + ]
1021 ] [ rdf:type sp:Optional ; 930 ] [ rdf:type sp:Optional ;
1022 sp:elements ([ sp:object 931 sp:elements ([ sp:object
1023 [ sp:varName "flowingPressureRef"^^xsd:string 932 [ sp:varName "flowingPressureRef"^^xsd:string
...@@ -1086,35 +995,41 @@ The WellTest is part of the DailyProductionActivity, but there may not be a Prod ...@@ -1086,35 +995,41 @@ The WellTest is part of the DailyProductionActivity, but there may not be a Prod
1086 ] ; 995 ] ;
1087 spin:rule 996 spin:rule
1088 [ rdf:type sp:Construct ; 997 [ rdf:type sp:Construct ;
1089 - rdfs:comment "STEP 30106 Classify as a Production test and set duration"^^xsd:string ; 998 + rdfs:comment "STEP 30111 Transfer separator pressure and temperature"^^xsd:string ;
1090 - sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/activity#ProductionWellTest> ; 999 + sp:templates ([ sp:object _:b16 ;
1091 - sp:predicate rdf:type ; 1000 + sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasNetworkPart> ;
1092 - sp:subject
1093 - [ sp:varName "wellTest"^^xsd:string
1094 - ]
1095 - ] [ sp:object _:b15 ;
1096 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#hasFlow> ;
1097 sp:subject 1001 sp:subject
1098 - [ sp:varName "wellTest"^^xsd:string 1002 + [ sp:varName "productionTestFlow"^^xsd:string
1099 ] 1003 ]
1100 - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#FlowOfMaterial> ; 1004 + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionTestSeparatorFlow> ;
1101 - sp:predicate rdf:type ;
1102 - sp:subject _:b15
1103 - ] [ sp:object _:b16 ;
1104 sp:predicate rdf:type ; 1005 sp:predicate rdf:type ;
1105 - sp:subject 1006 + sp:subject _:b16
1106 - [ sp:varName "wellTest"^^xsd:string 1007 + ] [ sp:object _:b17 ;
1107 - ]
1108 - ] [ sp:object <http://www.reportinghub.no/ep/schema/core#TimeDuration> ;
1109 sp:predicate rdf:type ; 1008 sp:predicate rdf:type ;
1110 sp:subject _:b16 1009 sp:subject _:b16
1010 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Pressure> ;
1011 + sp:predicate rdf:type ;
1012 + sp:subject _:b17
1111 ] [ sp:object 1013 ] [ sp:object
1112 - [ sp:varName "realDuration"^^xsd:string 1014 + [ sp:varName "realSeparatorPressure"^^xsd:string
1113 ] ; 1015 ] ;
1114 sp:predicate 1016 sp:predicate
1115 - [ sp:varName "durationScale"^^xsd:string 1017 + [ sp:varName "pressureScaleSeparator"^^xsd:string
1116 ] ; 1018 ] ;
1019 + sp:subject _:b17
1020 + ] [ sp:object _:b18 ;
1021 + sp:predicate rdf:type ;
1117 sp:subject _:b16 1022 sp:subject _:b16
1023 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Temperature> ;
1024 + sp:predicate rdf:type ;
1025 + sp:subject _:b18
1026 + ] [ sp:object
1027 + [ sp:varName "realSeparatorTemperature"^^xsd:string
1028 + ] ;
1029 + sp:predicate
1030 + [ sp:varName "temperatureScaleSeparator"^^xsd:string
1031 + ] ;
1032 + sp:subject _:b18
1118 ]) ; 1033 ]) ;
1119 sp:where ([ sp:object 1034 sp:where ([ sp:object
1120 [ sp:varName "wellSetRef"^^xsd:string 1035 [ sp:varName "wellSetRef"^^xsd:string
...@@ -1171,62 +1086,110 @@ The WellTest is part of the DailyProductionActivity, but there may not be a Prod ...@@ -1171,62 +1086,110 @@ The WellTest is part of the DailyProductionActivity, but there may not be a Prod
1171 [ sp:varName "wellTest"^^xsd:string 1086 [ sp:varName "wellTest"^^xsd:string
1172 ] 1087 ]
1173 ] [ sp:object 1088 ] [ sp:object
1089 + [ sp:varName "productionTestFlow"^^xsd:string
1090 + ] ;
1091 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#hasFlow> ;
1092 + sp:subject
1093 + [ sp:varName "wellTest"^^xsd:string
1094 + ]
1095 + ] [ sp:object
1174 [ sp:varName "productionTestRef"^^xsd:string 1096 [ sp:varName "productionTestRef"^^xsd:string
1175 ] ; 1097 ] ;
1176 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productionTestRef> ; 1098 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productionTestRef> ;
1177 sp:subject 1099 sp:subject
1178 [ sp:varName "wellTestRef"^^xsd:string 1100 [ sp:varName "wellTestRef"^^xsd:string
1179 ] 1101 ]
1102 + ] [ sp:object
1103 + [ sp:varName "separatorDataRef"^^xsd:string
1104 + ] ;
1105 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#separatorDataRef> ;
1106 + sp:subject
1107 + [ sp:varName "productionTestRef"^^xsd:string
1108 + ]
1180 ] [ rdf:type sp:Optional ; 1109 ] [ rdf:type sp:Optional ;
1181 sp:elements ([ sp:object 1110 sp:elements ([ sp:object
1182 - [ sp:varName "testDurationRef"^^xsd:string 1111 + [ sp:varName "separatorPressureRef"^^xsd:string
1183 ] ; 1112 ] ;
1184 - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#testDurationRef> ; 1113 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#separatorPressureRef> ;
1185 sp:subject 1114 sp:subject
1186 - [ sp:varName "productionTestRef"^^xsd:string 1115 + [ sp:varName "separatorDataRef"^^xsd:string
1187 ] 1116 ]
1188 ] [ sp:object 1117 ] [ sp:object
1189 - [ sp:varName "realDuration"^^xsd:string 1118 + [ sp:varName "realSeparatorPressure"^^xsd:string
1190 ] ; 1119 ] ;
1191 sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; 1120 sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
1192 sp:subject 1121 sp:subject
1193 - [ sp:varName "testDurationRef"^^xsd:string 1122 + [ sp:varName "separatorPressureRef"^^xsd:string
1194 ] 1123 ]
1195 ] [ sp:object 1124 ] [ sp:object
1196 - [ sp:varName "uomDuration"^^xsd:string 1125 + [ sp:varName "uomSeparatorPressure"^^xsd:string
1197 ] ; 1126 ] ;
1198 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ; 1127 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ;
1199 sp:subject 1128 sp:subject
1200 - [ sp:varName "testDurationRef"^^xsd:string 1129 + [ sp:varName "separatorPressureRef"^^xsd:string
1130 + ]
1131 + ])
1132 + ] [ rdf:type sp:Optional ;
1133 + sp:elements ([ sp:object
1134 + [ sp:varName "separatorTemperatureRef"^^xsd:string
1135 + ] ;
1136 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#separatorTemperatureRef> ;
1137 + sp:subject
1138 + [ sp:varName "separatorDataRef"^^xsd:string
1139 + ]
1140 + ] [ sp:object
1141 + [ sp:varName "realSeparatorTemperature"^^xsd:string
1142 + ] ;
1143 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
1144 + sp:subject
1145 + [ sp:varName "separatorTemperatureRef"^^xsd:string
1146 + ]
1147 + ] [ sp:object
1148 + [ sp:varName "uomSeparatorTemperature"^^xsd:string
1149 + ] ;
1150 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ;
1151 + sp:subject
1152 + [ sp:varName "separatorTemperatureRef"^^xsd:string
1201 ] 1153 ]
1202 ]) 1154 ])
1203 ] [ rdf:type sp:Bind ; 1155 ] [ rdf:type sp:Bind ;
1204 sp:expression 1156 sp:expression
1205 - [ rdf:type ep-dpr-spin-lib:selectDurationScale ; 1157 + [ rdf:type ep-dpr-spin-lib:selectPressureScale ;
1206 - sp:arg1 [ sp:varName "uomDuration"^^xsd:string 1158 + sp:arg1 [ sp:varName "uomSeparatorPressure"^^xsd:string
1207 ] 1159 ]
1208 ] ; 1160 ] ;
1209 sp:variable 1161 sp:variable
1210 - [ sp:varName "durationScale"^^xsd:string 1162 + [ sp:varName "pressureScaleSeparator"^^xsd:string
1163 + ]
1164 + ] [ rdf:type sp:Bind ;
1165 + sp:expression
1166 + [ rdf:type ep-dpr-spin-lib:selectTemperatureScale ;
1167 + sp:arg1 [ sp:varName "uomSeparatorTemperature"^^xsd:string
1168 + ]
1169 + ] ;
1170 + sp:variable
1171 + [ sp:varName "temperatureScaleSeparator"^^xsd:string
1211 ] 1172 ]
1212 ]) 1173 ])
1213 ] ; 1174 ] ;
1214 spin:rule 1175 spin:rule
1215 [ rdf:type sp:Construct ; 1176 [ rdf:type sp:Construct ;
1216 - rdfs:comment "STEP 30104 Set previous valid test"^^xsd:string ; 1177 + rdfs:comment "STEP 30108 Transfer well head data - shut in pressure"^^xsd:string ;
1217 - sp:templates ([ sp:object _:b17 ; 1178 + sp:templates ([ sp:object _:b19 ;
1218 - sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#hasValidPredecessor> ; 1179 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#hasShutInPressure> ;
1219 sp:subject 1180 sp:subject
1220 [ sp:varName "wellTest"^^xsd:string 1181 [ sp:varName "wellTest"^^xsd:string
1221 ] 1182 ]
1222 - ] [ sp:object <http://www.reportinghub.no/ep/schema/activity#WellTest> ; 1183 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Pressure> ;
1223 sp:predicate rdf:type ; 1184 sp:predicate rdf:type ;
1224 - sp:subject _:b17 1185 + sp:subject _:b19
1225 ] [ sp:object 1186 ] [ sp:object
1226 - [ sp:varName "lastValidTest"^^xsd:string 1187 + [ sp:varName "realShutInPressure"^^xsd:string
1227 ] ; 1188 ] ;
1228 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#nominallyAt> ; 1189 + sp:predicate
1229 - sp:subject _:b17 1190 + [ sp:varName "shutInPressureScale"^^xsd:string
1191 + ] ;
1192 + sp:subject _:b19
1230 ]) ; 1193 ]) ;
1231 sp:where ([ sp:object 1194 sp:where ([ sp:object
1232 [ sp:varName "wellSetRef"^^xsd:string 1195 [ sp:varName "wellSetRef"^^xsd:string
...@@ -1283,38 +1246,261 @@ The WellTest is part of the DailyProductionActivity, but there may not be a Prod ...@@ -1283,38 +1246,261 @@ The WellTest is part of the DailyProductionActivity, but there may not be a Prod
1283 [ sp:varName "wellTest"^^xsd:string 1246 [ sp:varName "wellTest"^^xsd:string
1284 ] 1247 ]
1285 ] [ sp:object 1248 ] [ sp:object
1286 - [ sp:varName "lastValidTest"^^xsd:string 1249 + [ sp:varName "productionTestRef"^^xsd:string
1287 ] ; 1250 ] ;
1288 - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#lastValidTest> ; 1251 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productionTestRef> ;
1252 + sp:subject
1253 + [ sp:varName "wellTestRef"^^xsd:string
1254 + ]
1255 + ] [ sp:object
1256 + [ sp:varName "wellheadDataRef"^^xsd:string
1257 + ] ;
1258 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#wellheadDataRef> ;
1259 + sp:subject
1260 + [ sp:varName "productionTestRef"^^xsd:string
1261 + ]
1262 + ] [ sp:object
1263 + [ sp:varName "shutInPressureRef"^^xsd:string
1264 + ] ;
1265 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#shutInPressureRef> ;
1266 + sp:subject
1267 + [ sp:varName "wellheadDataRef"^^xsd:string
1268 + ]
1269 + ] [ sp:object
1270 + [ sp:varName "realShutInPressure"^^xsd:string
1271 + ] ;
1272 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
1273 + sp:subject
1274 + [ sp:varName "shutInPressureRef"^^xsd:string
1275 + ]
1276 + ] [ sp:object
1277 + [ sp:varName "uomShutInPressure"^^xsd:string
1278 + ] ;
1279 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ;
1280 + sp:subject
1281 + [ sp:varName "shutInPressureRef"^^xsd:string
1282 + ]
1283 + ] [ rdf:type sp:Bind ;
1284 + sp:expression
1285 + [ rdf:type ep-dpr-spin-lib:selectPressureScale ;
1286 + sp:arg1 [ sp:varName "uomShutInPressure"^^xsd:string
1287 + ]
1288 + ] ;
1289 + sp:variable
1290 + [ sp:varName "ShutInPressureScale"^^xsd:string
1291 + ]
1292 + ])
1293 + ] ;
1294 + spin:rule
1295 + [ rdf:type sp:Construct ;
1296 + rdfs:comment """STEP 30101 Create WellTest activity - anonymous because there is no mandatory data about it
1297 +The name of the WellBore has \"-wellbore\" after it, so a temporary WellBore URI for now.
1298 +The WellTest is part of the DailyProductionActivity, but there may not be a ProductionOperations element."""^^xsd:string ;
1299 + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/activity#WellTest> ;
1300 + sp:predicate rdf:type ;
1301 + sp:subject _:b20
1302 + ] [ sp:object _:b20 ;
1303 + sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
1304 + sp:subject
1305 + [ sp:varName "dailyProductionActivity"^^xsd:string
1306 + ]
1307 + ] [ sp:object
1308 + [ sp:varName "testDate"^^xsd:string
1309 + ] ;
1310 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#nominallyAt> ;
1311 + sp:subject _:b20
1312 + ] [ sp:object
1313 + [ sp:varName "wellBore"^^xsd:string
1314 + ] ;
1315 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
1316 + sp:subject _:b20
1317 + ] [ sp:object
1318 + [ sp:varName "wellBoreTestName"^^xsd:string
1319 + ] ;
1320 + sp:predicate rdfs:label ;
1321 + sp:subject _:b20
1322 + ] [ sp:object
1323 + [ sp:varName "wellTestRef"^^xsd:string
1324 + ] ;
1325 + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
1326 + sp:subject _:b20
1327 + ] [ sp:object
1328 + [ sp:varName "wellTestReasonType"^^xsd:string
1329 + ] ;
1330 + sp:predicate rdf:type ;
1331 + sp:subject _:b20
1332 + ]) ;
1333 + sp:where ([ sp:object
1334 + [ sp:varName "docInfo"^^xsd:string
1335 + ] ;
1336 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#documentInfoRef> ;
1337 + sp:subject spin:_this
1338 + ] [ sp:object
1339 + [ sp:varName "docNameStruct"^^xsd:string
1340 + ] ;
1341 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#documentNameRef> ;
1342 + sp:subject
1343 + [ sp:varName "docInfo"^^xsd:string
1344 + ]
1345 + ] [ sp:object
1346 + [ sp:varName "docName"^^xsd:string
1347 + ] ;
1348 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
1349 + sp:subject
1350 + [ sp:varName "docNameStruct"^^xsd:string
1351 + ]
1352 + ] [ sp:object
1353 + [ sp:varName "docDate"^^xsd:string
1354 + ] ;
1355 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#documentDate> ;
1356 + sp:subject
1357 + [ sp:varName "docInfo"^^xsd:string
1358 + ]
1359 + ] [ sp:object
1360 + [ sp:varName "dailyProductionActivity"^^xsd:string
1361 + ] ;
1362 + sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
1363 + sp:subject
1364 + [ sp:varName "epDailyProdRep"^^xsd:string
1365 + ]
1366 + ] [ sp:object
1367 + [ sp:varName "wellSetRef"^^xsd:string
1368 + ] ;
1369 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#wellSetRef> ;
1370 + sp:subject spin:_this
1371 + ] [ sp:object
1372 + [ sp:varName "wellRef"^^xsd:string
1373 + ] ;
1374 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#wellRef> ;
1375 + sp:subject
1376 + [ sp:varName "wellSetRef"^^xsd:string
1377 + ]
1378 + ] [ sp:object
1379 + [ sp:varName "wellboreSetRef"^^xsd:string
1380 + ] ;
1381 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#wellboreSetRef> ;
1382 + sp:subject
1383 + [ sp:varName "wellRef"^^xsd:string
1384 + ]
1385 + ] [ sp:object
1386 + [ sp:varName "wellboreRef"^^xsd:string
1387 + ] ;
1388 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#wellboreRef> ;
1389 + sp:subject
1390 + [ sp:varName "wellboreSetRef"^^xsd:string
1391 + ]
1392 + ] [ sp:object
1393 + [ sp:varName "nameWellBore"^^xsd:string
1394 + ] ;
1395 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#name> ;
1396 + sp:subject
1397 + [ sp:varName "wellboreRef"^^xsd:string
1398 + ]
1399 + ] [ sp:object
1400 + [ sp:varName "wellTestSetRef"^^xsd:string
1401 + ] ;
1402 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#wellTestSetRef> ;
1403 + sp:subject
1404 + [ sp:varName "wellboreRef"^^xsd:string
1405 + ]
1406 + ] [ sp:object
1407 + [ sp:varName "wellTestRef"^^xsd:string
1408 + ] ;
1409 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#wellTestRef> ;
1410 + sp:subject
1411 + [ sp:varName "wellTestSetRef"^^xsd:string
1412 + ]
1413 + ] [ sp:object
1414 + [ sp:varName "wellBoreTestName"^^xsd:string
1415 + ] ;
1416 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#name> ;
1289 sp:subject 1417 sp:subject
1290 [ sp:varName "wellTestRef"^^xsd:string 1418 [ sp:varName "wellTestRef"^^xsd:string
1291 ] 1419 ]
1420 + ] [ rdf:type sp:Optional ;
1421 + sp:elements ([ sp:object
1422 + [ sp:varName "testDate"^^xsd:string
1423 + ] ;
1424 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#testDate> ;
1425 + sp:subject
1426 + [ sp:varName "wellTestRef"^^xsd:string
1427 + ]
1428 + ])
1429 + ] [ rdf:type sp:Optional ;
1430 + sp:elements ([ sp:object
1431 + [ sp:varName "testReason"^^xsd:string
1432 + ] ;
1433 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#testReasonRef> ;
1434 + sp:subject
1435 + [ sp:varName "wellTestRef"^^xsd:string
1436 + ]
1437 + ])
1438 + ] [ rdf:type sp:Bind ;
1439 + sp:expression
1440 + [ rdf:type ep-spin-lib:buildURI ;
1441 + sp:arg1 "https://www.reportinghub.no/ep/data/dailyProductionReport/" ;
1442 + sp:arg2 [ rdf:type fn:concat ;
1443 + sp:arg1 [ rdf:type ep-spin-lib:normalizeString ;
1444 + sp:arg1 [ sp:varName "docName"^^xsd:string
1445 + ]
1446 + ] ;
1447 + sp:arg2 "$" ;
1448 + sp:arg3 [ sp:varName "docDate"^^xsd:string
1449 + ]
1450 + ]
1451 + ] ;
1452 + sp:variable
1453 + [ sp:varName "epDailyProdRep"^^xsd:string
1454 + ]
1455 + ] [ rdf:type sp:Bind ;
1456 + sp:expression
1457 + [ rdf:type ep-spin-lib:buildURI ;
1458 + sp:arg1 "https://www.reportinghub.no/ep/data/temporaryWellBoreURI/" ;
1459 + sp:arg2 [ rdf:type fn:concat ;
1460 + sp:arg1 [ rdf:type ep-spin-lib:normalizeString ;
1461 + sp:arg1 [ sp:varName "nameWellBore"^^xsd:string
1462 + ]
1463 + ]
1464 + ]
1465 + ] ;
1466 + sp:variable
1467 + [ sp:varName "wellBore"^^xsd:string
1468 + ]
1469 + ] [ rdf:type sp:Bind ;
1470 + sp:expression
1471 + [ rdf:type ep-dpr-spin-lib:selectWellTestReasonType ;
1472 + sp:arg1 [ sp:varName "testReason"^^xsd:string
1473 + ]
1474 + ] ;
1475 + sp:variable
1476 + [ sp:varName "wellTestReasonType"^^xsd:string
1477 + ]
1292 ]) 1478 ])
1293 ] ; 1479 ] ;
1294 spin:rule 1480 spin:rule
1295 [ rdf:type sp:Construct ; 1481 [ rdf:type sp:Construct ;
1296 rdfs:comment "STEP 30110 Transfer well head data - flow line pressure"^^xsd:string ; 1482 rdfs:comment "STEP 30110 Transfer well head data - flow line pressure"^^xsd:string ;
1297 - sp:templates ([ sp:object _:b18 ; 1483 + sp:templates ([ sp:object _:b21 ;
1298 sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasNetworkPart> ; 1484 sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasNetworkPart> ;
1299 sp:subject 1485 sp:subject
1300 [ sp:varName "productionTestFlow"^^xsd:string 1486 [ sp:varName "productionTestFlow"^^xsd:string
1301 ] 1487 ]
1302 ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionTestFlowLineFlow> ; 1488 ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionTestFlowLineFlow> ;
1303 sp:predicate rdf:type ; 1489 sp:predicate rdf:type ;
1304 - sp:subject _:b18 1490 + sp:subject _:b21
1305 - ] [ sp:object _:b19 ; 1491 + ] [ sp:object _:b22 ;
1306 sp:predicate rdf:type ; 1492 sp:predicate rdf:type ;
1307 - sp:subject _:b18 1493 + sp:subject _:b21
1308 ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Pressure> ; 1494 ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Pressure> ;
1309 sp:predicate rdf:type ; 1495 sp:predicate rdf:type ;
1310 - sp:subject _:b19 1496 + sp:subject _:b22
1311 ] [ sp:object 1497 ] [ sp:object
1312 [ sp:varName "realFlowLinePressure"^^xsd:string 1498 [ sp:varName "realFlowLinePressure"^^xsd:string
1313 ] ; 1499 ] ;
1314 sp:predicate 1500 sp:predicate
1315 [ sp:varName "pressureScaleFlowLine"^^xsd:string 1501 [ sp:varName "pressureScaleFlowLine"^^xsd:string
1316 ] ; 1502 ] ;
1317 - sp:subject _:b19 1503 + sp:subject _:b22
1318 ]) ; 1504 ]) ;
1319 sp:where ([ sp:object 1505 sp:where ([ sp:object
1320 [ sp:varName "wellSetRef"^^xsd:string 1506 [ sp:varName "wellSetRef"^^xsd:string
......