David Leal

Function added to DPR-lib + minor updates elsewhere.

...@@ -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
...@@ -179,7 +179,7 @@ ep-prodact:FlowLine-Production ...@@ -179,7 +179,7 @@ ep-prodact:FlowLine-Production
179 ep-prodact:FluidLevelTest 179 ep-prodact:FluidLevelTest
180 rdf:type owl:Class ; 180 rdf:type owl:Class ;
181 rdfs:label "fluid level test"^^xsd:string ; 181 rdfs:label "fluid level test"^^xsd:string ;
182 - rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> , <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> . 182 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> , <http://www.reportinghub.no/ep/schema/activity#WellTest> .
183 183
184 ep-prodact:FusionOfHSEActivitiesOverPeriod 184 ep-prodact:FusionOfHSEActivitiesOverPeriod
185 rdf:type owl:Class ; 185 rdf:type owl:Class ;
...@@ -198,16 +198,21 @@ ep-prodact:Incident ...@@ -198,16 +198,21 @@ ep-prodact:Incident
198 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 198 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
199 199
200 ep-prodact:InitialWellTest 200 ep-prodact:InitialWellTest
201 - rdf:type ep-prodact:WellTestReasonType , owl:Class ; 201 + rdf:type owl:Class , ep-prodact:WellTestReasonType ;
202 rdfs:label "initial"^^xsd:string ; 202 rdfs:label "initial"^^xsd:string ;
203 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> . 203 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> .
204 204
205 +ep-prodact:InjectionWellTest
206 + rdf:type owl:Class ;
207 + rdfs:label "injection well test"^^xsd:string ;
208 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> , <http://www.reportinghub.no/ep/schema/activity#WellTest> .
209 +
205 ep-prodact:Injury 210 ep-prodact:Injury
206 - rdf:type owl:Class , ep-prodact:SafetyActivityType ; 211 + rdf:type ep-prodact:SafetyActivityType , owl:Class ;
207 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 212 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
208 213
209 ep-prodact:IssueWorkPermit 214 ep-prodact:IssueWorkPermit
210 - rdf:type owl:Class , ep-prodact:SafetyActivityType ; 215 + rdf:type ep-prodact:SafetyActivityType , owl:Class ;
211 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 216 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
212 217
213 ep-prodact:JobObservation 218 ep-prodact:JobObservation
...@@ -227,20 +232,20 @@ ep-prodact:LostTimeIncident ...@@ -227,20 +232,20 @@ ep-prodact:LostTimeIncident
227 rdfs:subClassOf ep-prodact:Incident . 232 rdfs:subClassOf ep-prodact:Incident .
228 233
229 ep-prodact:MaintenanceActivity 234 ep-prodact:MaintenanceActivity
230 - rdf:type owl:Class , ep-prodact:ProductionActivityType ; 235 + rdf:type ep-prodact:ProductionActivityType , owl:Class ;
231 rdfs:label "maintenance activity"^^xsd:string ; 236 rdfs:label "maintenance activity"^^xsd:string ;
232 rdfs:subClassOf ep-prodact:PartOfProductionActivity . 237 rdfs:subClassOf ep-prodact:PartOfProductionActivity .
233 238
234 ep-prodact:MarineOperation 239 ep-prodact:MarineOperation
235 rdf:type owl:Class ; 240 rdf:type owl:Class ;
236 - rdfs:subClassOf ep-prodact:TransportationActivity , ep-prodact:PartOfProductionActivity . 241 + rdfs:subClassOf ep-prodact:PartOfProductionActivity , ep-prodact:TransportationActivity .
237 242
238 ep-prodact:MedicalTreatmentInjury 243 ep-prodact:MedicalTreatmentInjury
239 - rdf:type owl:Class , ep-prodact:SafetyActivityType ; 244 + rdf:type ep-prodact:SafetyActivityType , owl:Class ;
240 rdfs:subClassOf ep-prodact:Injury . 245 rdfs:subClassOf ep-prodact:Injury .
241 246
242 ep-prodact:MonthlyProductionActivityToEndOfReportingPeriod 247 ep-prodact:MonthlyProductionActivityToEndOfReportingPeriod
243 - rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ; 248 + rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
244 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#MonthlyProductionActivity> . 249 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#MonthlyProductionActivity> .
245 250
246 ep-prodact:NearMiss 251 ep-prodact:NearMiss
...@@ -252,7 +257,7 @@ ep-prodact:NotablePartOfProductionActivity ...@@ -252,7 +257,7 @@ ep-prodact:NotablePartOfProductionActivity
252 rdfs:subClassOf ep-prodact:PartOfProductionActivity . 257 rdfs:subClassOf ep-prodact:PartOfProductionActivity .
253 258
254 ep-prodact:OtherReasonWellTest 259 ep-prodact:OtherReasonWellTest
255 - rdf:type ep-prodact:WellTestReasonType , owl:Class ; 260 + rdf:type owl:Class , ep-prodact:WellTestReasonType ;
256 rdfs:label "other"^^xsd:string ; 261 rdfs:label "other"^^xsd:string ;
257 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> . 262 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> .
258 263
...@@ -267,17 +272,17 @@ ep-prodact:Participation ...@@ -267,17 +272,17 @@ ep-prodact:Participation
267 rdfs:subPropertyOf ep-prodact:involvement . 272 rdfs:subPropertyOf ep-prodact:involvement .
268 273
269 ep-prodact:PeriodicWellTest 274 ep-prodact:PeriodicWellTest
270 - rdf:type ep-prodact:WellTestReasonType , owl:Class ; 275 + rdf:type owl:Class , ep-prodact:WellTestReasonType ;
271 rdfs:label "periodic"^^xsd:string ; 276 rdfs:label "periodic"^^xsd:string ;
272 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> . 277 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> .
273 278
274 ep-prodact:PowerStationFailure 279 ep-prodact:PowerStationFailure
275 - rdf:type owl:Class , ep-prodact:ProductionActivityType ; 280 + rdf:type ep-prodact:ProductionActivityType , owl:Class ;
276 rdfs:label "power station failure"^^xsd:string ; 281 rdfs:label "power station failure"^^xsd:string ;
277 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> . 282 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> .
278 283
279 ep-prodact:ProductionActivityLastingLessThanAYear 284 ep-prodact:ProductionActivityLastingLessThanAYear
280 - rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ; 285 + rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
281 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> . 286 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
282 287
283 ep-prodact:ProductionActivityType 288 ep-prodact:ProductionActivityType
...@@ -290,7 +295,7 @@ ep-prodact:ProductionOperationClassByDuration ...@@ -290,7 +295,7 @@ ep-prodact:ProductionOperationClassByDuration
290 rdfs:subClassOf owl:Class . 295 rdfs:subClassOf owl:Class .
291 296
292 ep-prodact:ProductionOperationsActivity 297 ep-prodact:ProductionOperationsActivity
293 - rdf:type owl:Class , ep-prodact:ProductionActivityType ; 298 + rdf:type ep-prodact:ProductionActivityType , owl:Class ;
294 rdfs:label "production operations activity"^^xsd:string ; 299 rdfs:label "production operations activity"^^xsd:string ;
295 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> . 300 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
296 301
...@@ -303,7 +308,7 @@ ep-prodact:ReleasedToWater ...@@ -303,7 +308,7 @@ ep-prodact:ReleasedToWater
303 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 308 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
304 309
305 ep-prodact:ReportHazard 310 ep-prodact:ReportHazard
306 - rdf:type owl:Class , ep-prodact:SafetyActivityType ; 311 + rdf:type ep-prodact:SafetyActivityType , owl:Class ;
307 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 312 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
308 313
309 ep-prodact:RestrictedWork 314 ep-prodact:RestrictedWork
...@@ -311,11 +316,11 @@ ep-prodact:RestrictedWork ...@@ -311,11 +316,11 @@ ep-prodact:RestrictedWork
311 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 316 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
312 317
313 ep-prodact:RestrictedWorkInjury 318 ep-prodact:RestrictedWorkInjury
314 - rdf:type owl:Class , ep-prodact:SafetyActivityType ; 319 + rdf:type ep-prodact:SafetyActivityType , owl:Class ;
315 rdfs:subClassOf ep-prodact:Injury . 320 rdfs:subClassOf ep-prodact:Injury .
316 321
317 ep-prodact:RevisionWellTest 322 ep-prodact:RevisionWellTest
318 - rdf:type ep-prodact:WellTestReasonType , owl:Class ; 323 + rdf:type owl:Class , ep-prodact:WellTestReasonType ;
319 rdfs:label "revision"^^xsd:string ; 324 rdfs:label "revision"^^xsd:string ;
320 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> . 325 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> .
321 326
...@@ -324,7 +329,7 @@ ep-prodact:SafetyActivityType ...@@ -324,7 +329,7 @@ ep-prodact:SafetyActivityType
324 rdfs:subClassOf owl:Class . 329 rdfs:subClassOf owl:Class .
325 330
326 ep-prodact:SafetyMeeting 331 ep-prodact:SafetyMeeting
327 - rdf:type owl:Class , ep-prodact:SafetyActivityType ; 332 + rdf:type ep-prodact:SafetyActivityType , owl:Class ;
328 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 333 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
329 334
330 ep-prodact:SampleAmountOfSubstance 335 ep-prodact:SampleAmountOfSubstance
...@@ -344,7 +349,7 @@ ep-prodact:SickOnBoard ...@@ -344,7 +349,7 @@ ep-prodact:SickOnBoard
344 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 349 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
345 350
346 ep-prodact:SpillOrLeak 351 ep-prodact:SpillOrLeak
347 - rdf:type owl:Class , ep-prodact:SafetyActivityType ; 352 + rdf:type ep-prodact:SafetyActivityType , owl:Class ;
348 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 353 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
349 354
350 ep-prodact:TransportationActivity 355 ep-prodact:TransportationActivity
...@@ -352,7 +357,7 @@ ep-prodact:TransportationActivity ...@@ -352,7 +357,7 @@ ep-prodact:TransportationActivity
352 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> . 357 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> .
353 358
354 ep-prodact:UnknownReasonWellTest 359 ep-prodact:UnknownReasonWellTest
355 - rdf:type ep-prodact:WellTestReasonType , owl:Class ; 360 + rdf:type owl:Class , ep-prodact:WellTestReasonType ;
356 rdfs:label "unknown"^^xsd:string ; 361 rdfs:label "unknown"^^xsd:string ;
357 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> . 362 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> .
358 363
...@@ -362,7 +367,7 @@ ep-prodact:WaterCleaningOperation ...@@ -362,7 +367,7 @@ ep-prodact:WaterCleaningOperation
362 367
363 ep-prodact:WaterSample 368 ep-prodact:WaterSample
364 rdf:type owl:Class ; 369 rdf:type owl:Class ;
365 - rdfs:subClassOf ep-prodact:SampleAmountOfSubstance , <http://www.reportinghub.no/ep/schema/well#Water> . 370 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/well#Water> , ep-prodact:SampleAmountOfSubstance .
366 371
367 ep-prodact:WellTestReasonType 372 ep-prodact:WellTestReasonType
368 rdf:type rdfs:Class ; 373 rdf:type rdfs:Class ;
...@@ -370,11 +375,11 @@ ep-prodact:WellTestReasonType ...@@ -370,11 +375,11 @@ ep-prodact:WellTestReasonType
370 rdfs:subClassOf owl:Class . 375 rdfs:subClassOf owl:Class .
371 376
372 ep-prodact:WorkingUnderPermit 377 ep-prodact:WorkingUnderPermit
373 - rdf:type owl:Class , ep-prodact:SafetyActivityType ; 378 + rdf:type ep-prodact:SafetyActivityType , owl:Class ;
374 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 379 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
375 380
376 ep-prodact:WorkingUnderPermitWithSJA 381 ep-prodact:WorkingUnderPermitWithSJA
377 - rdf:type owl:Class , ep-prodact:SafetyActivityType ; 382 + rdf:type ep-prodact:SafetyActivityType , owl:Class ;
378 rdfs:subClassOf ep-prodact:WorkingUnderPermit . 383 rdfs:subClassOf ep-prodact:WorkingUnderPermit .
379 384
380 ep-prodact:ammoniumDensity 385 ep-prodact:ammoniumDensity
...@@ -426,7 +431,7 @@ ep-prodact:hasPredecessor ...@@ -426,7 +431,7 @@ ep-prodact:hasPredecessor
426 rdfs:range <http://www.reportinghub.no/ep/schema/activity#Activity> . 431 rdfs:range <http://www.reportinghub.no/ep/schema/activity#Activity> .
427 432
428 ep-prodact:hasShutInPressure 433 ep-prodact:hasShutInPressure
429 - rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ; 434 + rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
430 rdfs:domain <http://www.reportinghub.no/ep/schema/activity#ProductionWellTest> ; 435 rdfs:domain <http://www.reportinghub.no/ep/schema/activity#ProductionWellTest> ;
431 rdfs:label "has shut-in pressure"^^xsd:string ; 436 rdfs:label "has shut-in pressure"^^xsd:string ;
432 rdfs:range ep-core:Pressure . 437 rdfs:range ep-core:Pressure .
...@@ -550,7 +555,7 @@ ep-prodact:standbyVessel ...@@ -550,7 +555,7 @@ ep-prodact:standbyVessel
550 rdfs:subPropertyOf ep-prodact:involvedVessel . 555 rdfs:subPropertyOf ep-prodact:involvedVessel .
551 556
552 ep-prodact:testedWellBoreInterval 557 ep-prodact:testedWellBoreInterval
553 - rdf:type owl:FunctionalProperty , owl:ObjectProperty ; 558 + rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
554 rdfs:domain <http://www.reportinghub.no/ep/schema/activity#WellTest> ; 559 rdfs:domain <http://www.reportinghub.no/ep/schema/activity#WellTest> ;
555 rdfs:label "tested wellbore interval"^^xsd:string ; 560 rdfs:label "tested wellbore interval"^^xsd:string ;
556 rdfs:range ep-core:PhysicalObject . 561 rdfs:range ep-core:PhysicalObject .
...@@ -570,6 +575,12 @@ ep-prodact:waterSampleTaken ...@@ -570,6 +575,12 @@ ep-prodact:waterSampleTaken
570 rdfs:domain ep-prodact:WaterCleaningOperation ; 575 rdfs:domain ep-prodact:WaterCleaningOperation ;
571 rdfs:range ep-prodact:WaterSample . 576 rdfs:range ep-prodact:WaterSample .
572 577
578 +ep-prodact:wellTestInjectedFluid
579 + rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
580 + rdfs:domain ep-prodact:InjectionWellTest ;
581 + rdfs:label "well test injected fluid"^^xsd:string ;
582 + rdfs:range <http://www.reportinghub.no/ep/schema/well#Fluid> .
583 +
573 ep-prodact:yearlyActivityToDate 584 ep-prodact:yearlyActivityToDate
574 rdf:type owl:ObjectProperty ; 585 rdf:type owl:ObjectProperty ;
575 rdfs:domain ep-prodact:ProductionActivityLastingLessThanAYear ; 586 rdfs:domain ep-prodact:ProductionActivityLastingLessThanAYear ;
......
...@@ -14,46 +14,123 @@ ...@@ -14,46 +14,123 @@
14 owl:imports <http://www.reportinghub.no/ep/schema/1.0/well> ; 14 owl:imports <http://www.reportinghub.no/ep/schema/1.0/well> ;
15 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 15 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
16 16
17 +ep-prodwell:Air
18 + rdf:type ep-well:FluidComponentType , owl:Class , ep-prodwell:InjectionFluidType ;
19 + rdfs:label "air"^^xsd:string ;
20 + rdfs:subClassOf ep-prodwell:NonHcGas .
21 +
22 +ep-prodwell:Brine
23 + rdf:type ep-well:FluidComponentType , owl:Class , ep-prodwell:InjectionFluidType ;
24 + rdfs:label "brine"^^xsd:string ;
25 + rdfs:subClassOf ep-well:Water .
26 +
27 +ep-prodwell:Co2
28 + rdf:type owl:Class , ep-prodwell:InjectionFluidType ;
29 + rdfs:label "CO2"^^xsd:string ;
30 + rdfs:subClassOf ep-prodwell:NonHcGas .
31 +
32 +ep-prodwell:DryFluid
33 + rdf:type ep-well:FluidComponentType , owl:Class , ep-prodwell:InjectionFluidType ;
34 + rdfs:label "dry fluid"^^xsd:string ;
35 + rdfs:subClassOf ep-well:Fluid .
36 +
37 +ep-prodwell:FreshWater
38 + rdf:type ep-well:FluidComponentType , owl:Class , ep-prodwell:InjectionFluidType ;
39 + rdfs:label "fresh water"^^xsd:string ;
40 + rdfs:subClassOf ep-well:Water .
41 +
42 +ep-prodwell:GasAndWater
43 + rdf:type ep-well:FluidComponentType , owl:Class , ep-prodwell:InjectionFluidType ;
44 + rdfs:label "gas and water"^^xsd:string ;
45 + rdfs:subClassOf ep-well:Fluid .
46 +
47 +ep-prodwell:InjectionFluidType
48 + rdf:type rdfs:Class ;
49 + rdfs:label "injection fluid type"^^xsd:string ;
50 + rdfs:subClassOf owl:Class .
51 +
17 ep-prodwell:NaturalGasClass 52 ep-prodwell:NaturalGasClass
18 rdf:type rdfs:Class ; 53 rdf:type rdfs:Class ;
19 rdfs:label "natural gas class"^^xsd:string ; 54 rdfs:label "natural gas class"^^xsd:string ;
20 rdfs:subClassOf owl:Class . 55 rdfs:subClassOf owl:Class .
21 56
57 +ep-prodwell:NonHcGas
58 + rdf:type ep-prodwell:InjectionFluidType , owl:Class ;
59 + rdfs:label "non-HC gas"^^xsd:string ;
60 + rdfs:subClassOf ep-well:Gas .
61 +
62 +ep-prodwell:OilAndGas
63 + rdf:type ep-prodwell:InjectionFluidType , owl:Class , ep-well:FluidComponentType ;
64 + rdfs:label "oil and gas"^^xsd:string ;
65 + rdfs:subClassOf ep-well:Fluid .
66 +
67 +ep-prodwell:OilAndWater
68 + rdf:type ep-prodwell:InjectionFluidType , ep-well:FluidComponentType , owl:Class ;
69 + rdfs:label "oil and water"^^xsd:string ;
70 + rdfs:subClassOf ep-well:Fluid .
71 +
72 +ep-prodwell:OtherInjectionFluid
73 + rdf:type ep-well:FluidComponentType , owl:Class , ep-prodwell:InjectionFluidType ;
74 + rdfs:label "other injection fluid"^^xsd:string ;
75 + rdfs:subClassOf ep-well:Fluid .
76 +
22 ep-prodwell:Sand 77 ep-prodwell:Sand
23 - rdf:type ep-well:FluidComponentType , owl:Class ; 78 + rdf:type owl:Class , ep-well:FluidComponentType ;
24 rdfs:label "sand"^^xsd:string ; 79 rdfs:label "sand"^^xsd:string ;
25 rdfs:subClassOf ep-well:Fluid . 80 rdfs:subClassOf ep-well:Fluid .
26 81
82 +ep-prodwell:Steam
83 + rdf:type ep-well:FluidComponentType , owl:Class , ep-prodwell:InjectionFluidType ;
84 + rdfs:label "steam"^^xsd:string ;
85 + rdfs:subClassOf ep-prodwell:NonHcGas .
86 +
87 +ep-prodwell:UnknownFluid
88 + rdf:type ep-well:FluidComponentType , owl:Class , ep-prodwell:InjectionFluidType ;
89 + rdfs:label "unknown fluid"^^xsd:string ;
90 + rdfs:subClassOf ep-well:Fluid .
91 +
27 ep-prodwell:basicSedimentAndWater 92 ep-prodwell:basicSedimentAndWater
28 - rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ; 93 + rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ;
29 rdfs:label "basic sediment and water"^^xsd:string ; 94 rdfs:label "basic sediment and water"^^xsd:string ;
30 rdfs:range ep-core:SpecificVolume . 95 rdfs:range ep-core:SpecificVolume .
31 96
32 ep-prodwell:condensateYield 97 ep-prodwell:condensateYield
33 - rdf:type ep-core:Class_of_indirect_property , owl:ObjectProperty , owl:FunctionalProperty ; 98 + rdf:type owl:FunctionalProperty , owl:ObjectProperty , ep-core:Class_of_indirect_property ;
34 rdfs:label "condensate yield"^^xsd:string ; 99 rdfs:label "condensate yield"^^xsd:string ;
35 rdfs:range ep-core:SpecificVolume . 100 rdfs:range ep-core:SpecificVolume .
36 101
37 ep-prodwell:depthOfBaseUsableWaterFromSurface 102 ep-prodwell:depthOfBaseUsableWaterFromSurface
38 - rdf:type ep-core:Class_of_indirect_property , owl:ObjectProperty , owl:FunctionalProperty ; 103 + rdf:type owl:FunctionalProperty , owl:ObjectProperty , ep-core:Class_of_indirect_property ;
39 rdfs:domain ep-well:Fluid ; 104 rdfs:domain ep-well:Fluid ;
40 rdfs:label "depth of base of usable water from surface"^^xsd:string ; 105 rdfs:label "depth of base of usable water from surface"^^xsd:string ;
41 rdfs:range ep-core:Length . 106 rdfs:range ep-core:Length .
42 107
43 ep-prodwell:depthOfFluidSurfaceFromTopOfWell 108 ep-prodwell:depthOfFluidSurfaceFromTopOfWell
44 - rdf:type ep-core:Class_of_indirect_property , owl:ObjectProperty , owl:FunctionalProperty ; 109 + rdf:type owl:FunctionalProperty , owl:ObjectProperty , ep-core:Class_of_indirect_property ;
45 rdfs:domain ep-well:Fluid ; 110 rdfs:domain ep-well:Fluid ;
46 rdfs:label "depth of fluid surface from top of well"^^xsd:string ; 111 rdfs:label "depth of fluid surface from top of well"^^xsd:string ;
47 rdfs:range ep-core:Length . 112 rdfs:range ep-core:Length .
48 113
49 ep-prodwell:potentialGasProduction 114 ep-prodwell:potentialGasProduction
50 - rdf:type ep-core:Class_of_indirect_property , owl:ObjectProperty , owl:FunctionalProperty ; 115 + rdf:type owl:FunctionalProperty , owl:ObjectProperty , ep-core:Class_of_indirect_property ;
51 rdfs:domain ep-well:WellBore ; 116 rdfs:domain ep-well:WellBore ;
52 rdfs:label "potential gas production"^^xsd:string ; 117 rdfs:label "potential gas production"^^xsd:string ;
53 rdfs:range ep-core:VolumetricFlowRate . 118 rdfs:range ep-core:VolumetricFlowRate .
54 119
55 ep-prodwell:potentialOilProduction 120 ep-prodwell:potentialOilProduction
56 - rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ; 121 + rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ;
57 rdfs:domain ep-well:WellBore ; 122 rdfs:domain ep-well:WellBore ;
58 rdfs:label "potential oil production"^^xsd:string ; 123 rdfs:label "potential oil production"^^xsd:string ;
59 rdfs:range ep-core:VolumetricFlowRate . 124 rdfs:range ep-core:VolumetricFlowRate .
125 +
126 +ep-well:Condensate
127 + rdf:type ep-prodwell:InjectionFluidType .
128 +
129 +ep-well:Gas
130 + rdf:type ep-prodwell:InjectionFluidType .
131 +
132 +ep-well:Oil
133 + rdf:type ep-prodwell:InjectionFluidType .
134 +
135 +ep-well:Water
136 + rdf:type ep-prodwell:InjectionFluidType .
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
20 20
21 <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> 21 <http://www.reportinghub.no/ep/dpr/spin/1.1/lib>
22 rdf:type owl:Ontology ; 22 rdf:type owl:Ontology ;
23 - owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/production> , <http://www.witsml.org/schemas/131/addendum/combo> , <http://www.reportinghub.no/ep/schema/1.0/production-core> ; 23 + owl:imports <http://www.reportinghub.no/ep/schema/1.0/production-core> , <http://www.witsml.org/schemas/131/addendum/combo> , <http://www.reportinghub.no/ep/schema/1.0/production> , <http://spinrdf.org/spin> ;
24 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 24 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
25 25
26 ep-dpr-spin-lib:BuildDailyProductionReportURI 26 ep-dpr-spin-lib:BuildDailyProductionReportURI
...@@ -1726,6 +1726,135 @@ ep-dpr-spin-lib:selectIlluminanceScale ...@@ -1726,6 +1726,135 @@ ep-dpr-spin-lib:selectIlluminanceScale
1726 ]) 1726 ])
1727 ] . 1727 ] .
1728 1728
1729 +ep-dpr-spin-lib:selectInjectedFluidType
1730 + rdf:type spin:Function ;
1731 + rdfs:label "select DensityAtStandardTemperaturePressureType"^^xsd:string ;
1732 + rdfs:subClassOf ep-dpr-spin-lib:Function ;
1733 + spin:body
1734 + [ rdf:type sp:Select ;
1735 + sp:resultVariables ([ sp:varName "injectedFluidType"^^xsd:string
1736 + ]) ;
1737 + sp:where ([ rdf:type sp:Bind ;
1738 + sp:expression
1739 + [ rdf:type sp:if ;
1740 + sp:arg1 [ rdf:type sp:eq ;
1741 + sp:arg1 spin:_arg1 ;
1742 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#IF_oil>
1743 + ] ;
1744 + sp:arg2 <http://www.reportinghub.no/ep/schema/well#Oil> ;
1745 + sp:arg3 [ rdf:type sp:if ;
1746 + sp:arg1 [ rdf:type sp:eq ;
1747 + sp:arg1 spin:_arg1 ;
1748 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#IF_gas>
1749 + ] ;
1750 + sp:arg2 <http://www.reportinghub.no/ep/schema/well#Gas> ;
1751 + sp:arg3 [ rdf:type sp:if ;
1752 + sp:arg1 [ rdf:type sp:eq ;
1753 + sp:arg1 spin:_arg1 ;
1754 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#IF_nonHCgas>
1755 + ] ;
1756 + sp:arg2 <http://www.reportinghub.no/ep/schema/production-well#NonHcGas> ;
1757 + sp:arg3 [ rdf:type sp:if ;
1758 + sp:arg1 [ rdf:type sp:eq ;
1759 + sp:arg1 spin:_arg1 ;
1760 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#IF_CO2>
1761 + ] ;
1762 + sp:arg2 <http://www.reportinghub.no/ep/schema/production-well#Co2> ;
1763 + sp:arg3 [ rdf:type sp:if ;
1764 + sp:arg1 [ rdf:type sp:eq ;
1765 + sp:arg1 spin:_arg1 ;
1766 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#IF_water>
1767 + ] ;
1768 + sp:arg2 <http://www.reportinghub.no/ep/schema/well#Water> ;
1769 + sp:arg3 [ rdf:type sp:if ;
1770 + sp:arg1 [ rdf:type sp:eq ;
1771 + sp:arg1 spin:_arg1 ;
1772 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#IF_brine>
1773 + ] ;
1774 + sp:arg2 <http://www.reportinghub.no/ep/schema/production-well#Brine> ;
1775 + sp:arg3 [ rdf:type sp:if ;
1776 + sp:arg1 [ rdf:type sp:eq ;
1777 + sp:arg1 spin:_arg1 ;
1778 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#IF_freshwater>
1779 + ] ;
1780 + sp:arg2 <http://www.reportinghub.no/ep/schema/production-well#FreshWater> ;
1781 + sp:arg3 [ rdf:type sp:if ;
1782 + sp:arg1 [ rdf:type sp:eq ;
1783 + sp:arg1 spin:_arg1 ;
1784 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#IF_oil-gas>
1785 + ] ;
1786 + sp:arg2 <http://www.reportinghub.no/ep/schema/production-well#OilAndGas> ;
1787 + sp:arg3 [ rdf:type sp:if ;
1788 + sp:arg1 [ rdf:type sp:eq ;
1789 + sp:arg1 spin:_arg1 ;
1790 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#IF_oil-water>
1791 + ] ;
1792 + sp:arg2 <http://www.reportinghub.no/ep/schema/production-well#OilAndWater> ;
1793 + sp:arg3 [ rdf:type sp:if ;
1794 + sp:arg1 [ rdf:type sp:eq ;
1795 + sp:arg1 spin:_arg1 ;
1796 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#IF_gas-water>
1797 + ] ;
1798 + sp:arg2 <http://www.reportinghub.no/ep/schema/production-well#GasAndWater> ;
1799 + sp:arg3 [ rdf:type sp:if ;
1800 + sp:arg1 [ rdf:type sp:eq ;
1801 + sp:arg1 spin:_arg1 ;
1802 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#IF_condensate>
1803 + ] ;
1804 + sp:arg2 <http://www.reportinghub.no/ep/schema/well#Condensate> ;
1805 + sp:arg3 [ rdf:type sp:if ;
1806 + sp:arg1 [ rdf:type sp:eq ;
1807 + sp:arg1 spin:_arg1 ;
1808 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#IF_steam>
1809 + ] ;
1810 + sp:arg2 <http://www.reportinghub.no/ep/schema/production-well#Steam> ;
1811 + sp:arg3 [ rdf:type sp:if ;
1812 + sp:arg1 [ rdf:type sp:eq ;
1813 + sp:arg1 spin:_arg1 ;
1814 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#IF_air>
1815 + ] ;
1816 + sp:arg2 <http://www.reportinghub.no/ep/schema/production-well#Air> ;
1817 + sp:arg3 [ rdf:type sp:if ;
1818 + sp:arg1 [ rdf:type sp:eq ;
1819 + sp:arg1 spin:_arg1 ;
1820 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#IF_dry>
1821 + ] ;
1822 + sp:arg2 <http://www.reportinghub.no/ep/schema/production-well#DryFluid> ;
1823 + sp:arg3 [ rdf:type sp:if ;
1824 + sp:arg1 [ rdf:type sp:eq ;
1825 + sp:arg1 spin:_arg1 ;
1826 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#IF_unknown>
1827 + ] ;
1828 + sp:arg2 <http://www.reportinghub.no/ep/schema/production-well#UnknownFluid> ;
1829 + sp:arg3 [ rdf:type sp:if ;
1830 + sp:arg1 [ rdf:type sp:eq ;
1831 + sp:arg1 spin:_arg1 ;
1832 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#IF_other>
1833 + ] ;
1834 + sp:arg2 <http://www.reportinghub.no/ep/schema/production-well#OtherInjectionFluid> ;
1835 + sp:arg3 <http://www.reportinghub.no/ep/schema/well#Fluid>
1836 + ]
1837 + ]
1838 + ]
1839 + ]
1840 + ]
1841 + ]
1842 + ]
1843 + ]
1844 + ]
1845 + ]
1846 + ]
1847 + ]
1848 + ]
1849 + ]
1850 + ]
1851 + ] ;
1852 + sp:variable
1853 + [ sp:varName "injectedFluidType"^^xsd:string
1854 + ]
1855 + ])
1856 + ] .
1857 +
1729 ep-dpr-spin-lib:selectLengthPerLengthScale 1858 ep-dpr-spin-lib:selectLengthPerLengthScale
1730 rdf:type spin:Function ; 1859 rdf:type spin:Function ;
1731 rdfs:label "select density scale"^^xsd:string ; 1860 rdfs:label "select density scale"^^xsd:string ;
...@@ -4309,110 +4438,110 @@ ep-dpr-spin-lib:selectWellTestReasonType ...@@ -4309,110 +4438,110 @@ ep-dpr-spin-lib:selectWellTestReasonType
4309 ]) 4438 ])
4310 ] . 4439 ] .
4311 4440
4312 -_:b1 sp:varName "uri"^^xsd:string . 4441 +_:b39
4442 + sp:varName "volumeScale"^^xsd:string .
4313 4443
4314 -_:b2 sp:varName "uri"^^xsd:string . 4444 +_:b38
4445 + sp:varName "volumeFlowRateScale"^^xsd:string .
4315 4446
4316 -_:b3 sp:varName "UUID"^^xsd:string . 4447 +_:b37
4448 + sp:varName "volumeFlowRateAtStdType"^^xsd:string .
4317 4449
4318 -_:b4 sp:varName "uri"^^xsd:string . 4450 +_:b36
4451 + sp:varName "volumeAtStdType"^^xsd:string .
4319 4452
4320 -_:b5 sp:varName "uri"^^xsd:string . 4453 +_:b35
4454 + sp:varName "prodActType"^^xsd:string .
4321 4455
4322 -_:b6 sp:varName "uri"^^xsd:string . 4456 +_:b34
4457 + sp:varName "temporalPartOfAFlowDurationType"^^xsd:string .
4323 4458
4324 -_:b7 sp:varName "uri"^^xsd:string . 4459 +_:b33
4460 + sp:varName "temperatureScale"^^xsd:string .
4325 4461
4326 -_:b8 sp:varName "uri"^^xsd:string . 4462 +_:b32
4463 + sp:varName "specificVolumeScale"^^xsd:string .
4327 4464
4328 -_:b9 sp:varName "uri"^^xsd:string . 4465 +_:b31
4466 + sp:varName "safetyActivityType"^^xsd:string .
4329 4467
4330 -_:b10 4468 +_:b30
4331 - sp:varName "uri"^^xsd:string . 4469 + sp:varName "relationshipToMeasure"^^xsd:string .
4332 4470
4333 -_:b11 4471 +_:b29
4334 - sp:varName "uri"^^xsd:string . 4472 + sp:varName "popType"^^xsd:string .
4335 4473
4336 -_:b12 4474 +_:b28
4337 - sp:varName "uri"^^xsd:string . 4475 + sp:varName "productionFlowPurposeType"^^xsd:string .
4338 4476
4339 -_:b13 4477 +_:b27
4340 - sp:varName "uri"^^xsd:string . 4478 + sp:varName "productionFlowDirectionRelationshipType"^^xsd:string .
4341 4479
4342 -_:b14 4480 +_:b26
4343 - sp:varName "uri"^^xsd:string . 4481 + sp:varName "productionFlowDirectionRelationshipType"^^xsd:string .
4344 4482
4345 -_:b15 4483 +_:b25
4346 - sp:varName "uri"^^xsd:string . 4484 + sp:varName "productionFlowDefinitionType"^^xsd:string .
4347 4485
4348 -_:b16 4486 +_:b24
4349 - sp:varName "uri"^^xsd:string . 4487 + sp:varName "productionFacilityType"^^xsd:string .
4350 4488
4351 -_:b17 4489 +_:b23
4352 - sp:varName "uri"^^xsd:string . 4490 + sp:varName "productType"^^xsd:string .
4353 4491
4354 -_:b18 4492 +_:b22
4355 - sp:varName "uri"^^xsd:string . 4493 + sp:varName "pressureScale"^^xsd:string .
4356 4494
4357 -_:b19 4495 +_:b21
4358 - sp:varName "uri"^^xsd:string . 4496 + sp:varName "durationScale"^^xsd:string .
4359 4497
4360 _:b20 4498 _:b20
4361 sp:varName "densityScale"^^xsd:string . 4499 sp:varName "densityScale"^^xsd:string .
4362 4500
4363 -_:b21 4501 +_:b19
4364 - sp:varName "durationScale"^^xsd:string . 4502 + sp:varName "uri"^^xsd:string .
4365 4503
4366 -_:b22 4504 +_:b18
4367 - sp:varName "pressureScale"^^xsd:string . 4505 + sp:varName "uri"^^xsd:string .
4368 4506
4369 -_:b23 4507 +_:b17
4370 - sp:varName "productType"^^xsd:string . 4508 + sp:varName "uri"^^xsd:string .
4371 4509
4372 -_:b24 4510 +_:b16
4373 - sp:varName "productionFacilityType"^^xsd:string . 4511 + sp:varName "uri"^^xsd:string .
4374 4512
4375 -_:b25 4513 +_:b15
4376 - sp:varName "productionFlowDefinitionType"^^xsd:string . 4514 + sp:varName "uri"^^xsd:string .
4377 4515
4378 -_:b26 4516 +_:b14
4379 - sp:varName "productionFlowDirectionRelationshipType"^^xsd:string . 4517 + sp:varName "uri"^^xsd:string .
4380 4518
4381 -_:b27 4519 +_:b13
4382 - sp:varName "productionFlowDirectionRelationshipType"^^xsd:string . 4520 + sp:varName "uri"^^xsd:string .
4383 4521
4384 -_:b28 4522 +_:b12
4385 - sp:varName "productionFlowPurposeType"^^xsd:string . 4523 + sp:varName "uri"^^xsd:string .
4386 4524
4387 -_:b29 4525 +_:b11
4388 - sp:varName "popType"^^xsd:string . 4526 + sp:varName "uri"^^xsd:string .
4389 4527
4390 -_:b30 4528 +_:b10
4391 - sp:varName "relationshipToMeasure"^^xsd:string . 4529 + sp:varName "uri"^^xsd:string .
4392 4530
4393 -_:b31 4531 +_:b9 sp:varName "uri"^^xsd:string .
4394 - sp:varName "safetyActivityType"^^xsd:string .
4395 4532
4396 -_:b32 4533 +_:b8 sp:varName "uri"^^xsd:string .
4397 - sp:varName "specificVolumeScale"^^xsd:string .
4398 4534
4399 -_:b33 4535 +_:b7 sp:varName "uri"^^xsd:string .
4400 - sp:varName "temperatureScale"^^xsd:string .
4401 4536
4402 -_:b34 4537 +_:b6 sp:varName "uri"^^xsd:string .
4403 - sp:varName "temporalPartOfAFlowDurationType"^^xsd:string .
4404 4538
4405 -_:b35 4539 +_:b5 sp:varName "uri"^^xsd:string .
4406 - sp:varName "prodActType"^^xsd:string .
4407 4540
4408 -_:b36 4541 +_:b4 sp:varName "uri"^^xsd:string .
4409 - sp:varName "volumeAtStdType"^^xsd:string .
4410 4542
4411 -_:b37 4543 +_:b3 sp:varName "UUID"^^xsd:string .
4412 - sp:varName "volumeFlowRateAtStdType"^^xsd:string .
4413 4544
4414 -_:b38 4545 +_:b2 sp:varName "uri"^^xsd:string .
4415 - sp:varName "volumeFlowRateScale"^^xsd:string .
4416 4546
4417 -_:b39 4547 +_:b1 sp:varName "uri"^^xsd:string .
4418 - sp:varName "volumeScale"^^xsd:string .
......
...@@ -21,40 +21,74 @@ ...@@ -21,40 +21,74 @@
21 21
22 <http://www.reportinghub.no/ep/transform/1.0/dpr/injectionTestData> 22 <http://www.reportinghub.no/ep/transform/1.0/dpr/injectionTestData>
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 30143c Set the cumulative fluid flow - water amount"^^xsd:string ; 30 + rdfs:comment "STEP 30141 Set the tested WellBoreSection"^^xsd:string ;
31 - sp:templates ([ sp:object _:b1 ; 31 + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-activity#InjectionWellTest> ;
32 - sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasMixedPart> ; 32 + sp:predicate rdf:type ;
33 sp:subject 33 sp:subject
34 - [ sp:varName "productionFlowToDate"^^xsd:string 34 + [ sp:varName "wellTest"^^xsd:string
35 ] 35 ]
36 - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#WaterFlow> ; 36 + ] [ sp:object _:b1 ;
37 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#testedWellBoreInterval> ;
38 + sp:subject
39 + [ sp:varName "wellTest"^^xsd:string
40 + ]
41 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#PhysicalObject> ;
37 sp:predicate rdf:type ; 42 sp:predicate rdf:type ;
38 sp:subject _:b1 43 sp:subject _:b1
39 ] [ sp:object _:b2 ; 44 ] [ sp:object _:b2 ;
40 - sp:predicate <http://www.reportinghub.no/ep/schema/flow#totalAmountOfMaterial> ; 45 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
41 sp:subject _:b1 46 sp:subject _:b1
42 - ] [ sp:object <http://www.reportinghub.no/ep/schema/well#Water> ; 47 + ] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBoreSection> ;
43 sp:predicate rdf:type ; 48 sp:predicate rdf:type ;
44 sp:subject _:b2 49 sp:subject _:b2
50 + ] [ sp:object
51 + [ sp:varName "wellBore"^^xsd:string
52 + ] ;
53 + sp:predicate <http://www.reportinghub.no/ep/schema/core#spatialPartOf> ;
54 + sp:subject _:b2
45 ] [ sp:object _:b3 ; 55 ] [ sp:object _:b3 ;
46 - sp:predicate rdf:type ; 56 + sp:predicate <http://www.reportinghub.no/ep/schema/well#measuredDepthToTheTopOfAPartOfAWellBore> ;
47 sp:subject _:b2 57 sp:subject _:b2
48 - ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ; 58 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
49 sp:predicate rdf:type ; 59 sp:predicate rdf:type ;
50 sp:subject _:b3 60 sp:subject _:b3
51 ] [ sp:object 61 ] [ sp:object
52 - [ sp:varName "realVolume"^^xsd:string 62 + [ sp:varName "realMdTop"^^xsd:string
53 ] ; 63 ] ;
54 sp:predicate 64 sp:predicate
55 - [ sp:varName "volumeScale"^^xsd:string 65 + [ sp:varName "lengthScaleMdTop"^^xsd:string
56 ] ; 66 ] ;
57 sp:subject _:b3 67 sp:subject _:b3
68 + ] [ sp:object _:b4 ;
69 + sp:predicate <http://www.reportinghub.no/ep/schema/well#measuredDepthToTheBottomOfAPartOfAWellBore> ;
70 + sp:subject _:b2
71 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
72 + sp:predicate rdf:type ;
73 + sp:subject _:b4
74 + ] [ sp:object
75 + [ sp:varName "realMdBase"^^xsd:string
76 + ] ;
77 + sp:predicate
78 + [ sp:varName "lengthScaleMdBase"^^xsd:string
79 + ] ;
80 + sp:subject _:b4
81 + ] [ sp:object _:b5 ;
82 + sp:predicate <http://www.reportinghub.no/ep/schema/core#hasSpatialPart> ;
83 + sp:subject _:b2
84 + ] [ sp:object <http://www.reportinghub.no/ep/schema/well#SurroundingRockFormation> ;
85 + sp:predicate rdf:type ;
86 + sp:subject _:b5
87 + ] [ sp:object
88 + [ sp:varName "testedFormation"^^xsd:string
89 + ] ;
90 + sp:predicate rdfs:label ;
91 + sp:subject _:b5
58 ]) ; 92 ]) ;
59 sp:where ([ sp:object 93 sp:where ([ sp:object
60 [ sp:varName "wellSetRef"^^xsd:string 94 [ sp:varName "wellSetRef"^^xsd:string
...@@ -111,13 +145,6 @@ ...@@ -111,13 +145,6 @@
111 [ sp:varName "wellTest"^^xsd:string 145 [ sp:varName "wellTest"^^xsd:string
112 ] 146 ]
113 ] [ sp:object 147 ] [ sp:object
114 - [ sp:varName "testDate"^^xsd:string
115 - ] ;
116 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#nominallyAt> ;
117 - sp:subject
118 - [ sp:varName "wellTest"^^xsd:string
119 - ]
120 - ] [ sp:object
121 [ sp:varName "wellBore"^^xsd:string 148 [ sp:varName "wellBore"^^xsd:string
122 ] ; 149 ] ;
123 sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; 150 sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
...@@ -125,100 +152,115 @@ ...@@ -125,100 +152,115 @@
125 [ sp:varName "temporalPartOfAWellBore"^^xsd:string 152 [ sp:varName "temporalPartOfAWellBore"^^xsd:string
126 ] 153 ]
127 ] [ sp:object 154 ] [ sp:object
128 - [ sp:varName "wellBore"^^xsd:string 155 + [ sp:varName "injectionTestRef"^^xsd:string
129 ] ; 156 ] ;
130 - sp:predicate <http://www.reportinghub.no/ep/schema/flow#flowOutOf> ; 157 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#injectionTestRef> ;
131 sp:subject 158 sp:subject
132 - [ sp:varName "productionFlow"^^xsd:string 159 + [ sp:varName "wellTestRef"^^xsd:string
133 ] 160 ]
134 ] [ sp:object 161 ] [ sp:object
135 - [ sp:varName "productionFlow"^^xsd:string 162 + [ sp:varName "testIntervalRef"^^xsd:string
136 ] ; 163 ] ;
137 - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; 164 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#testIntervalRef> ;
138 sp:subject 165 sp:subject
139 - [ sp:varName "productionFlowToDate"^^xsd:string 166 + [ sp:varName "injectionTestRef"^^xsd:string
140 ] 167 ]
141 - ] [ sp:object 168 + ] [ rdf:type sp:Optional ;
142 - [ sp:varName "testDate"^^xsd:string 169 + sp:elements ([ sp:object
170 + [ sp:varName "mdTopRef"^^xsd:string
143 ] ; 171 ] ;
144 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; 172 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#mdTopRef> ;
145 sp:subject 173 sp:subject
146 - [ sp:varName "productionFlowToDate"^^xsd:string 174 + [ sp:varName "testIntervalRef"^^xsd:string
147 ] 175 ]
148 ] [ sp:object 176 ] [ sp:object
149 - [ sp:varName "injectionTestRef"^^xsd:string 177 + [ sp:varName "realMdTop"^^xsd:string
150 ] ; 178 ] ;
151 - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#injectionTestRef> ; 179 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
152 sp:subject 180 sp:subject
153 - [ sp:varName "wellTestRef"^^xsd:string 181 + [ sp:varName "mdTopRef"^^xsd:string
154 ] 182 ]
155 ] [ sp:object 183 ] [ sp:object
156 - [ sp:varName "wellTestCumulativeRef"^^xsd:string 184 + [ sp:varName "uomMdTop"^^xsd:string
157 ] ; 185 ] ;
158 - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#wellTestCumulativeRef> ; 186 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ;
159 sp:subject 187 sp:subject
160 - [ sp:varName "injectionTestRef"^^xsd:string 188 + [ sp:varName "mdTopRef"^^xsd:string
161 ] 189 ]
162 - ] [ sp:object 190 + ])
163 - [ sp:varName "cumulativeWaterRef"^^xsd:string 191 + ] [ rdf:type sp:Optional ;
192 + sp:elements ([ sp:object
193 + [ sp:varName "mdBaseRef"^^xsd:string
164 ] ; 194 ] ;
165 - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#cumulativeWaterRef> ; 195 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#mdBaseRef> ;
166 sp:subject 196 sp:subject
167 - [ sp:varName "wellTestCumulativeRef"^^xsd:string 197 + [ sp:varName "testIntervalRef"^^xsd:string
168 ] 198 ]
169 ] [ sp:object 199 ] [ sp:object
170 - [ sp:varName "realVolume"^^xsd:string 200 + [ sp:varName "realMdBase"^^xsd:string
171 ] ; 201 ] ;
172 sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; 202 sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
173 sp:subject 203 sp:subject
174 - [ sp:varName "cumulativeWaterRef"^^xsd:string 204 + [ sp:varName "mdBaseRef"^^xsd:string
175 ] 205 ]
176 ] [ sp:object 206 ] [ sp:object
177 - [ sp:varName "uomVolume"^^xsd:string 207 + [ sp:varName "uomMdBase"^^xsd:string
178 ] ; 208 ] ;
179 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ; 209 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ;
180 sp:subject 210 sp:subject
181 - [ sp:varName "cumulativeWaterRef"^^xsd:string 211 + [ sp:varName "mdBaseRef"^^xsd:string
182 ] 212 ]
213 + ])
214 + ] [ rdf:type sp:Optional ;
215 + sp:elements ([ sp:object
216 + [ sp:varName "testedFormation"^^xsd:string
217 + ] ;
218 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#testedFormation> ;
219 + sp:subject
220 + [ sp:varName "testIntervalRef"^^xsd:string
221 + ]
222 + ])
183 ] [ rdf:type sp:Bind ; 223 ] [ rdf:type sp:Bind ;
184 sp:expression 224 sp:expression
185 [ rdf:type ep-dpr-spin-lib:selectLengthScale ; 225 [ rdf:type ep-dpr-spin-lib:selectLengthScale ;
186 - sp:arg1 [ sp:varName "uomVolume"^^xsd:string 226 + sp:arg1 [ sp:varName "uomMdTop"^^xsd:string
187 ] 227 ]
188 ] ; 228 ] ;
189 sp:variable 229 sp:variable
190 - [ sp:varName "volumeScale"^^xsd:string 230 + [ sp:varName "lengthScaleMdTop"^^xsd:string
231 + ]
232 + ] [ rdf:type sp:Bind ;
233 + sp:expression
234 + [ rdf:type ep-dpr-spin-lib:selectLengthScale ;
235 + sp:arg1 [ sp:varName "uomMdBase"^^xsd:string
236 + ]
237 + ] ;
238 + sp:variable
239 + [ sp:varName "lengthScaleMdBase"^^xsd:string
191 ] 240 ]
192 ]) 241 ])
193 ] ; 242 ] ;
194 spin:rule 243 spin:rule
195 [ rdf:type sp:Construct ; 244 [ rdf:type sp:Construct ;
196 - rdfs:comment "STEP 30143b Set the cumulative fluid flow - oil amount"^^xsd:string ; 245 + rdfs:comment "STEP 30140 Classify as an Injection test and set duration"^^xsd:string ;
197 - sp:templates ([ sp:object _:b4 ; 246 + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-activity#InjectionWellTest> ;
198 - sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasMixedPart> ; 247 + sp:predicate rdf:type ;
199 sp:subject 248 sp:subject
200 - [ sp:varName "productionFlowToDate"^^xsd:string 249 + [ sp:varName "wellTest"^^xsd:string
201 ] 250 ]
202 - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#OilFlow> ;
203 - sp:predicate rdf:type ;
204 - sp:subject _:b4
205 - ] [ sp:object _:b5 ;
206 - sp:predicate <http://www.reportinghub.no/ep/schema/flow#totalAmountOfMaterial> ;
207 - sp:subject _:b4
208 - ] [ sp:object <http://www.reportinghub.no/ep/schema/well#Oil> ;
209 - sp:predicate rdf:type ;
210 - sp:subject _:b5
211 ] [ sp:object _:b6 ; 251 ] [ sp:object _:b6 ;
212 sp:predicate rdf:type ; 252 sp:predicate rdf:type ;
213 - sp:subject _:b5 253 + sp:subject
214 - ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ; 254 + [ sp:varName "wellTest"^^xsd:string
255 + ]
256 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#TimeDuration> ;
215 sp:predicate rdf:type ; 257 sp:predicate rdf:type ;
216 sp:subject _:b6 258 sp:subject _:b6
217 ] [ sp:object 259 ] [ sp:object
218 - [ sp:varName "realVolume"^^xsd:string 260 + [ sp:varName "realDuration"^^xsd:string
219 ] ; 261 ] ;
220 sp:predicate 262 sp:predicate
221 - [ sp:varName "volumeScale"^^xsd:string 263 + [ sp:varName "durationScale"^^xsd:string
222 ] ; 264 ] ;
223 sp:subject _:b6 265 sp:subject _:b6
224 ]) ; 266 ]) ;
...@@ -270,123 +312,62 @@ ...@@ -270,123 +312,62 @@
270 [ sp:varName "wellTest"^^xsd:string 312 [ sp:varName "wellTest"^^xsd:string
271 ] 313 ]
272 ] [ sp:object 314 ] [ sp:object
273 - [ sp:varName "temporalPartOfAWellBore"^^xsd:string
274 - ] ;
275 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
276 - sp:subject
277 - [ sp:varName "wellTest"^^xsd:string
278 - ]
279 - ] [ sp:object
280 - [ sp:varName "testDate"^^xsd:string
281 - ] ;
282 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#nominallyAt> ;
283 - sp:subject
284 - [ sp:varName "wellTest"^^xsd:string
285 - ]
286 - ] [ sp:object
287 - [ sp:varName "wellBore"^^xsd:string
288 - ] ;
289 - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
290 - sp:subject
291 - [ sp:varName "temporalPartOfAWellBore"^^xsd:string
292 - ]
293 - ] [ sp:object
294 - [ sp:varName "wellBore"^^xsd:string
295 - ] ;
296 - sp:predicate <http://www.reportinghub.no/ep/schema/flow#flowOutOf> ;
297 - sp:subject
298 - [ sp:varName "productionFlow"^^xsd:string
299 - ]
300 - ] [ sp:object
301 - [ sp:varName "productionFlow"^^xsd:string
302 - ] ;
303 - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
304 - sp:subject
305 - [ sp:varName "productionFlowToDate"^^xsd:string
306 - ]
307 - ] [ sp:object
308 - [ sp:varName "testDate"^^xsd:string
309 - ] ;
310 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
311 - sp:subject
312 - [ sp:varName "productionFlowToDate"^^xsd:string
313 - ]
314 - ] [ sp:object
315 [ sp:varName "injectionTestRef"^^xsd:string 315 [ sp:varName "injectionTestRef"^^xsd:string
316 ] ; 316 ] ;
317 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#injectionTestRef> ; 317 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#injectionTestRef> ;
318 sp:subject 318 sp:subject
319 [ sp:varName "wellTestRef"^^xsd:string 319 [ sp:varName "wellTestRef"^^xsd:string
320 ] 320 ]
321 - ] [ sp:object 321 + ] [ rdf:type sp:Optional ;
322 - [ sp:varName "wellTestCumulativeRef"^^xsd:string 322 + sp:elements ([ sp:object
323 - ] ; 323 + [ sp:varName "testDurationRef"^^xsd:string
324 - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#wellTestCumulativeRef> ;
325 - sp:subject
326 - [ sp:varName "injectionTestRef"^^xsd:string
327 - ]
328 - ] [ sp:object
329 - [ sp:varName "cumulativeOilRef"^^xsd:string
330 ] ; 324 ] ;
331 - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#cumulativeOilRef> ; 325 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#testDurationRef> ;
332 sp:subject 326 sp:subject
333 - [ sp:varName "wellTestCumulativeRef"^^xsd:string 327 + [ sp:varName "productionTestRef"^^xsd:string
334 ] 328 ]
335 ] [ sp:object 329 ] [ sp:object
336 - [ sp:varName "realVolume"^^xsd:string 330 + [ sp:varName "realDuration"^^xsd:string
337 ] ; 331 ] ;
338 sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; 332 sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
339 sp:subject 333 sp:subject
340 - [ sp:varName "cumulativeOilRef"^^xsd:string 334 + [ sp:varName "testDurationRef"^^xsd:string
341 ] 335 ]
342 ] [ sp:object 336 ] [ sp:object
343 - [ sp:varName "uomVolume"^^xsd:string 337 + [ sp:varName "uomDuration"^^xsd:string
344 ] ; 338 ] ;
345 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ; 339 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ;
346 sp:subject 340 sp:subject
347 - [ sp:varName "cumulativeOilRef"^^xsd:string 341 + [ sp:varName "testDurationRef"^^xsd:string
348 ] 342 ]
343 + ])
349 ] [ rdf:type sp:Bind ; 344 ] [ rdf:type sp:Bind ;
350 sp:expression 345 sp:expression
351 - [ rdf:type ep-dpr-spin-lib:selectLengthScale ; 346 + [ rdf:type ep-dpr-spin-lib:selectDurationScale ;
352 - sp:arg1 [ sp:varName "uomVolume"^^xsd:string 347 + sp:arg1 [ sp:varName "uomDuration"^^xsd:string
353 ] 348 ]
354 ] ; 349 ] ;
355 sp:variable 350 sp:variable
356 - [ sp:varName "volumeScale"^^xsd:string 351 + [ sp:varName "durationScale"^^xsd:string
357 ] 352 ]
358 ]) 353 ])
359 ] ; 354 ] ;
360 spin:rule 355 spin:rule
361 [ rdf:type sp:Construct ; 356 [ rdf:type sp:Construct ;
362 - rdfs:comment "STEP 30143a Set the cumulative fluid flow - gas amount"^^xsd:string ; 357 + rdfs:comment "STEP 30142 Set the injected fluid"^^xsd:string ;
363 sp:templates ([ sp:object _:b7 ; 358 sp:templates ([ sp:object _:b7 ;
364 - sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasMixedPart> ; 359 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#wellTestInjectedFluid> ;
365 sp:subject 360 sp:subject
366 - [ sp:varName "productionFlowToDate"^^xsd:string 361 + [ sp:varName "wellTest"^^xsd:string
367 ] 362 ]
368 - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#GasFlow> ; 363 + ] [ sp:object <http://www.reportinghub.no/ep/schema/well#Fluid> ;
369 sp:predicate rdf:type ; 364 sp:predicate rdf:type ;
370 sp:subject _:b7 365 sp:subject _:b7
371 - ] [ sp:object _:b8 ;
372 - sp:predicate <http://www.reportinghub.no/ep/schema/flow#totalAmountOfMaterial> ;
373 - sp:subject _:b7
374 - ] [ sp:object <http://www.reportinghub.no/ep/schema/well#Gas> ;
375 - sp:predicate rdf:type ;
376 - sp:subject _:b8
377 - ] [ sp:object _:b9 ;
378 - sp:predicate rdf:type ;
379 - sp:subject _:b8
380 - ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ;
381 - sp:predicate rdf:type ;
382 - sp:subject _:b9
383 ] [ sp:object 366 ] [ sp:object
384 - [ sp:varName "realVolume"^^xsd:string 367 + [ sp:varName "injectedFluidType"^^xsd:string
385 - ] ;
386 - sp:predicate
387 - [ sp:varName "volumeScale"^^xsd:string
388 ] ; 368 ] ;
389 - sp:subject _:b9 369 + sp:predicate rdf:type ;
370 + sp:subject _:b7
390 ]) ; 371 ]) ;
391 sp:where ([ sp:object 372 sp:where ([ sp:object
392 [ sp:varName "wellSetRef"^^xsd:string 373 [ sp:varName "wellSetRef"^^xsd:string
...@@ -443,13 +424,6 @@ ...@@ -443,13 +424,6 @@
443 [ sp:varName "wellTest"^^xsd:string 424 [ sp:varName "wellTest"^^xsd:string
444 ] 425 ]
445 ] [ sp:object 426 ] [ sp:object
446 - [ sp:varName "testDate"^^xsd:string
447 - ] ;
448 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#nominallyAt> ;
449 - sp:subject
450 - [ sp:varName "wellTest"^^xsd:string
451 - ]
452 - ] [ sp:object
453 [ sp:varName "wellBore"^^xsd:string 427 [ sp:varName "wellBore"^^xsd:string
454 ] ; 428 ] ;
455 sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; 429 sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
...@@ -457,27 +431,6 @@ ...@@ -457,27 +431,6 @@
457 [ sp:varName "temporalPartOfAWellBore"^^xsd:string 431 [ sp:varName "temporalPartOfAWellBore"^^xsd:string
458 ] 432 ]
459 ] [ sp:object 433 ] [ sp:object
460 - [ sp:varName "wellBore"^^xsd:string
461 - ] ;
462 - sp:predicate <http://www.reportinghub.no/ep/schema/flow#flowOutOf> ;
463 - sp:subject
464 - [ sp:varName "productionFlow"^^xsd:string
465 - ]
466 - ] [ sp:object
467 - [ sp:varName "productionFlow"^^xsd:string
468 - ] ;
469 - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
470 - sp:subject
471 - [ sp:varName "productionFlowToDate"^^xsd:string
472 - ]
473 - ] [ sp:object
474 - [ sp:varName "testDate"^^xsd:string
475 - ] ;
476 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
477 - sp:subject
478 - [ sp:varName "productionFlowToDate"^^xsd:string
479 - ]
480 - ] [ sp:object
481 [ sp:varName "injectionTestRef"^^xsd:string 434 [ sp:varName "injectionTestRef"^^xsd:string
482 ] ; 435 ] ;
483 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#injectionTestRef> ; 436 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#injectionTestRef> ;
...@@ -485,41 +438,20 @@ ...@@ -485,41 +438,20 @@
485 [ sp:varName "wellTestRef"^^xsd:string 438 [ sp:varName "wellTestRef"^^xsd:string
486 ] 439 ]
487 ] [ sp:object 440 ] [ sp:object
488 - [ sp:varName "wellTestCumulativeRef"^^xsd:string 441 + [ sp:varName "injectedFluidRef"^^xsd:string
489 ] ; 442 ] ;
490 - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#wellTestCumulativeRef> ; 443 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#injectedFluidRef> ;
491 sp:subject 444 sp:subject
492 [ sp:varName "injectionTestRef"^^xsd:string 445 [ sp:varName "injectionTestRef"^^xsd:string
493 ] 446 ]
494 - ] [ sp:object
495 - [ sp:varName "cumulativeGasRef"^^xsd:string
496 - ] ;
497 - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#cumulativeGasRef> ;
498 - sp:subject
499 - [ sp:varName "wellTestCumulativeRef"^^xsd:string
500 - ]
501 - ] [ sp:object
502 - [ sp:varName "realVolume"^^xsd:string
503 - ] ;
504 - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
505 - sp:subject
506 - [ sp:varName "cumulativeGasRef"^^xsd:string
507 - ]
508 - ] [ sp:object
509 - [ sp:varName "uomVolume"^^xsd:string
510 - ] ;
511 - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ;
512 - sp:subject
513 - [ sp:varName "cumulativeGasRef"^^xsd:string
514 - ]
515 ] [ rdf:type sp:Bind ; 447 ] [ rdf:type sp:Bind ;
516 sp:expression 448 sp:expression
517 - [ rdf:type ep-dpr-spin-lib:selectLengthScale ; 449 + [ rdf:type ep-dpr-spin-lib:selectInjectedFluidType ;
518 - sp:arg1 [ sp:varName "uomVolume"^^xsd:string 450 + sp:arg1 [ sp:varName "injectedFluidRef"^^xsd:string
519 ] 451 ]
520 ] ; 452 ] ;
521 sp:variable 453 sp:variable
522 - [ sp:varName "volumeScale"^^xsd:string 454 + [ sp:varName "injectedFluidType"^^xsd:string
523 ] 455 ]
524 ]) 456 ])
525 ] ; 457 ] ;
...@@ -528,26 +460,26 @@ ...@@ -528,26 +460,26 @@
528 rdfs:comment "STEP 30143 Set the cumulative fluid flow"^^xsd:string ; 460 rdfs:comment "STEP 30143 Set the cumulative fluid flow"^^xsd:string ;
529 sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/well#Fluid> ; 461 sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/well#Fluid> ;
530 sp:predicate rdf:type ; 462 sp:predicate rdf:type ;
531 - sp:subject _:b10 463 + sp:subject _:b8
532 ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlow> ; 464 ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlow> ;
533 sp:predicate rdf:type ; 465 sp:predicate rdf:type ;
534 - sp:subject _:b10 466 + sp:subject _:b8
535 ] [ sp:object 467 ] [ sp:object
536 [ sp:varName "wellBore"^^xsd:string 468 [ sp:varName "wellBore"^^xsd:string
537 ] ; 469 ] ;
538 sp:predicate <http://www.reportinghub.no/ep/schema/flow#flowOutOf> ; 470 sp:predicate <http://www.reportinghub.no/ep/schema/flow#flowOutOf> ;
539 - sp:subject _:b10 471 + sp:subject _:b8
540 ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowToDate> ; 472 ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowToDate> ;
541 sp:predicate rdf:type ; 473 sp:predicate rdf:type ;
542 - sp:subject _:b11 474 + sp:subject _:b9
543 - ] [ sp:object _:b10 ; 475 + ] [ sp:object _:b8 ;
544 sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; 476 sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
545 - sp:subject _:b11 477 + sp:subject _:b9
546 ] [ sp:object 478 ] [ sp:object
547 [ sp:varName "testDate"^^xsd:string 479 [ sp:varName "testDate"^^xsd:string
548 ] ; 480 ] ;
549 sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; 481 sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
550 - sp:subject _:b11 482 + sp:subject _:b9
551 ]) ; 483 ]) ;
552 sp:where ([ sp:object 484 sp:where ([ sp:object
553 [ sp:varName "wellSetRef"^^xsd:string 485 [ sp:varName "wellSetRef"^^xsd:string
...@@ -635,19 +567,33 @@ ...@@ -635,19 +567,33 @@
635 ] ; 567 ] ;
636 spin:rule 568 spin:rule
637 [ rdf:type sp:Construct ; 569 [ rdf:type sp:Construct ;
638 - rdfs:comment "STEP 30142 Set the injected fluid"^^xsd:string ; 570 + rdfs:comment "STEP 30143a Set the cumulative fluid flow - gas amount"^^xsd:string ;
639 - sp:templates ([ sp:object _:b12 ; 571 + sp:templates ([ sp:object _:b10 ;
640 - sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#wellTestInjectedFluid> ; 572 + sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasMixedPart> ;
641 sp:subject 573 sp:subject
642 - [ sp:varName "wellTest"^^xsd:string 574 + [ sp:varName "productionFlowToDate"^^xsd:string
643 ] 575 ]
644 - ] [ sp:object <http://www.reportinghub.no/ep/schema/well#Fluid> ; 576 + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#GasFlow> ;
577 + sp:predicate rdf:type ;
578 + sp:subject _:b10
579 + ] [ sp:object _:b11 ;
580 + sp:predicate <http://www.reportinghub.no/ep/schema/flow#totalAmountOfMaterial> ;
581 + sp:subject _:b10
582 + ] [ sp:object <http://www.reportinghub.no/ep/schema/well#Gas> ;
583 + sp:predicate rdf:type ;
584 + sp:subject _:b11
585 + ] [ sp:object _:b12 ;
586 + sp:predicate rdf:type ;
587 + sp:subject _:b11
588 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ;
645 sp:predicate rdf:type ; 589 sp:predicate rdf:type ;
646 sp:subject _:b12 590 sp:subject _:b12
647 ] [ sp:object 591 ] [ sp:object
648 - [ sp:varName "injectedFluidType"^^xsd:string 592 + [ sp:varName "realVolume"^^xsd:string
593 + ] ;
594 + sp:predicate
595 + [ sp:varName "volumeScale"^^xsd:string
649 ] ; 596 ] ;
650 - sp:predicate rdf:type ;
651 sp:subject _:b12 597 sp:subject _:b12
652 ]) ; 598 ]) ;
653 sp:where ([ sp:object 599 sp:where ([ sp:object
...@@ -705,101 +651,116 @@ ...@@ -705,101 +651,116 @@
705 [ sp:varName "wellTest"^^xsd:string 651 [ sp:varName "wellTest"^^xsd:string
706 ] 652 ]
707 ] [ sp:object 653 ] [ sp:object
708 - [ sp:varName "wellBore"^^xsd:string 654 + [ sp:varName "testDate"^^xsd:string
655 + ] ;
656 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#nominallyAt> ;
657 + sp:subject
658 + [ sp:varName "wellTest"^^xsd:string
659 + ]
660 + ] [ sp:object
661 + [ sp:varName "wellBore"^^xsd:string
662 + ] ;
663 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
664 + sp:subject
665 + [ sp:varName "temporalPartOfAWellBore"^^xsd:string
666 + ]
667 + ] [ sp:object
668 + [ sp:varName "wellBore"^^xsd:string
669 + ] ;
670 + sp:predicate <http://www.reportinghub.no/ep/schema/flow#flowOutOf> ;
671 + sp:subject
672 + [ sp:varName "productionFlow"^^xsd:string
673 + ]
674 + ] [ sp:object
675 + [ sp:varName "productionFlow"^^xsd:string
676 + ] ;
677 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
678 + sp:subject
679 + [ sp:varName "productionFlowToDate"^^xsd:string
680 + ]
681 + ] [ sp:object
682 + [ sp:varName "testDate"^^xsd:string
683 + ] ;
684 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
685 + sp:subject
686 + [ sp:varName "productionFlowToDate"^^xsd:string
687 + ]
688 + ] [ sp:object
689 + [ sp:varName "injectionTestRef"^^xsd:string
690 + ] ;
691 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#injectionTestRef> ;
692 + sp:subject
693 + [ sp:varName "wellTestRef"^^xsd:string
694 + ]
695 + ] [ sp:object
696 + [ sp:varName "wellTestCumulativeRef"^^xsd:string
697 + ] ;
698 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#wellTestCumulativeRef> ;
699 + sp:subject
700 + [ sp:varName "injectionTestRef"^^xsd:string
701 + ]
702 + ] [ sp:object
703 + [ sp:varName "cumulativeGasRef"^^xsd:string
709 ] ; 704 ] ;
710 - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; 705 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#cumulativeGasRef> ;
711 sp:subject 706 sp:subject
712 - [ sp:varName "temporalPartOfAWellBore"^^xsd:string 707 + [ sp:varName "wellTestCumulativeRef"^^xsd:string
713 ] 708 ]
714 ] [ sp:object 709 ] [ sp:object
715 - [ sp:varName "injectionTestRef"^^xsd:string 710 + [ sp:varName "realVolume"^^xsd:string
716 ] ; 711 ] ;
717 - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#injectionTestRef> ; 712 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
718 sp:subject 713 sp:subject
719 - [ sp:varName "wellTestRef"^^xsd:string 714 + [ sp:varName "cumulativeGasRef"^^xsd:string
720 ] 715 ]
721 ] [ sp:object 716 ] [ sp:object
722 - [ sp:varName "injectedFluidRef"^^xsd:string 717 + [ sp:varName "uomVolume"^^xsd:string
723 ] ; 718 ] ;
724 - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#injectedFluidRef> ; 719 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ;
725 sp:subject 720 sp:subject
726 - [ sp:varName "injectionTestRef"^^xsd:string 721 + [ sp:varName "cumulativeGasRef"^^xsd:string
727 ] 722 ]
728 ] [ rdf:type sp:Bind ; 723 ] [ rdf:type sp:Bind ;
729 sp:expression 724 sp:expression
730 - [ rdf:type ep-dpr-spin-lib:selectInjectedFluidType ; 725 + [ rdf:type ep-dpr-spin-lib:selectLengthScale ;
731 - sp:arg1 [ sp:varName "injectedFluidRef"^^xsd:string 726 + sp:arg1 [ sp:varName "uomVolume"^^xsd:string
732 ] 727 ]
733 ] ; 728 ] ;
734 sp:variable 729 sp:variable
735 - [ sp:varName "injectedFluidType"^^xsd:string 730 + [ sp:varName "volumeScale"^^xsd:string
736 ] 731 ]
737 ]) 732 ])
738 ] ; 733 ] ;
739 spin:rule 734 spin:rule
740 [ rdf:type sp:Construct ; 735 [ rdf:type sp:Construct ;
741 - rdfs:comment "STEP 30141 Set the tested WellBoreSection"^^xsd:string ; 736 + rdfs:comment "STEP 30143b Set the cumulative fluid flow - oil amount"^^xsd:string ;
742 - sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/activity#InjectionWellTest> ; 737 + sp:templates ([ sp:object _:b13 ;
743 - sp:predicate rdf:type ; 738 + sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasMixedPart> ;
744 - sp:subject
745 - [ sp:varName "wellTest"^^xsd:string
746 - ]
747 - ] [ sp:object _:b13 ;
748 - sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#testedWellBoreInterval> ;
749 sp:subject 739 sp:subject
750 - [ sp:varName "wellTest"^^xsd:string 740 + [ sp:varName "productionFlowToDate"^^xsd:string
751 ] 741 ]
752 - ] [ sp:object <http://www.reportinghub.no/ep/schema/core#PhysicalObject> ; 742 + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#OilFlow> ;
753 sp:predicate rdf:type ; 743 sp:predicate rdf:type ;
754 sp:subject _:b13 744 sp:subject _:b13
755 ] [ sp:object _:b14 ; 745 ] [ sp:object _:b14 ;
756 - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; 746 + sp:predicate <http://www.reportinghub.no/ep/schema/flow#totalAmountOfMaterial> ;
757 sp:subject _:b13 747 sp:subject _:b13
758 - ] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBoreSection> ; 748 + ] [ sp:object <http://www.reportinghub.no/ep/schema/well#Oil> ;
759 sp:predicate rdf:type ; 749 sp:predicate rdf:type ;
760 sp:subject _:b14 750 sp:subject _:b14
761 - ] [ sp:object
762 - [ sp:varName "wellBore"^^xsd:string
763 - ] ;
764 - sp:predicate <http://www.reportinghub.no/ep/schema/core#spatialPartOf> ;
765 - sp:subject _:b14
766 ] [ sp:object _:b15 ; 751 ] [ sp:object _:b15 ;
767 - sp:predicate <http://www.reportinghub.no/ep/schema/well#measuredDepthToTheTopOfAPartOfAWellBore> ; 752 + sp:predicate rdf:type ;
768 sp:subject _:b14 753 sp:subject _:b14
769 - ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ; 754 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ;
770 sp:predicate rdf:type ; 755 sp:predicate rdf:type ;
771 sp:subject _:b15 756 sp:subject _:b15
772 ] [ sp:object 757 ] [ sp:object
773 - [ sp:varName "realMdTop"^^xsd:string 758 + [ sp:varName "realVolume"^^xsd:string
774 ] ; 759 ] ;
775 sp:predicate 760 sp:predicate
776 - [ sp:varName "lengthScaleMdTop"^^xsd:string 761 + [ sp:varName "volumeScale"^^xsd:string
777 ] ; 762 ] ;
778 sp:subject _:b15 763 sp:subject _:b15
779 - ] [ sp:object _:b16 ;
780 - sp:predicate <http://www.reportinghub.no/ep/schema/well#measuredDepthToTheBottomOfAPartOfAWellBore> ;
781 - sp:subject _:b14
782 - ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
783 - sp:predicate rdf:type ;
784 - sp:subject _:b16
785 - ] [ sp:object
786 - [ sp:varName "realMdBase"^^xsd:string
787 - ] ;
788 - sp:predicate
789 - [ sp:varName "lengthScaleMdBase"^^xsd:string
790 - ] ;
791 - sp:subject _:b16
792 - ] [ sp:object _:b17 ;
793 - sp:predicate <http://www.reportinghub.no/ep/schema/core#hasSpatialPart> ;
794 - sp:subject _:b14
795 - ] [ sp:object <http://www.reportinghub.no/ep/schema/well#SurroundingRockFormation> ;
796 - sp:predicate rdf:type ;
797 - sp:subject _:b17
798 - ] [ sp:object
799 - [ sp:varName "testedFormation"^^xsd:string
800 - ] ;
801 - sp:predicate rdfs:label ;
802 - sp:subject _:b17
803 ]) ; 764 ]) ;
804 sp:where ([ sp:object 765 sp:where ([ sp:object
805 [ sp:varName "wellSetRef"^^xsd:string 766 [ sp:varName "wellSetRef"^^xsd:string
...@@ -856,6 +817,13 @@ ...@@ -856,6 +817,13 @@
856 [ sp:varName "wellTest"^^xsd:string 817 [ sp:varName "wellTest"^^xsd:string
857 ] 818 ]
858 ] [ sp:object 819 ] [ sp:object
820 + [ sp:varName "testDate"^^xsd:string
821 + ] ;
822 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#nominallyAt> ;
823 + sp:subject
824 + [ sp:varName "wellTest"^^xsd:string
825 + ]
826 + ] [ sp:object
859 [ sp:varName "wellBore"^^xsd:string 827 [ sp:varName "wellBore"^^xsd:string
860 ] ; 828 ] ;
861 sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; 829 sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
...@@ -863,115 +831,100 @@ ...@@ -863,115 +831,100 @@
863 [ sp:varName "temporalPartOfAWellBore"^^xsd:string 831 [ sp:varName "temporalPartOfAWellBore"^^xsd:string
864 ] 832 ]
865 ] [ sp:object 833 ] [ sp:object
866 - [ sp:varName "injectionTestRef"^^xsd:string 834 + [ sp:varName "wellBore"^^xsd:string
867 ] ; 835 ] ;
868 - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#injectionTestRef> ; 836 + sp:predicate <http://www.reportinghub.no/ep/schema/flow#flowOutOf> ;
869 sp:subject 837 sp:subject
870 - [ sp:varName "wellTestRef"^^xsd:string 838 + [ sp:varName "productionFlow"^^xsd:string
871 ] 839 ]
872 ] [ sp:object 840 ] [ sp:object
873 - [ sp:varName "testIntervalRef"^^xsd:string 841 + [ sp:varName "productionFlow"^^xsd:string
874 ] ; 842 ] ;
875 - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#testIntervalRef> ; 843 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
876 sp:subject 844 sp:subject
877 - [ sp:varName "injectionTestRef"^^xsd:string 845 + [ sp:varName "productionFlowToDate"^^xsd:string
878 ] 846 ]
879 - ] [ rdf:type sp:Optional ; 847 + ] [ sp:object
880 - sp:elements ([ sp:object 848 + [ sp:varName "testDate"^^xsd:string
881 - [ sp:varName "mdTopRef"^^xsd:string
882 ] ; 849 ] ;
883 - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#mdTopRef> ; 850 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
884 sp:subject 851 sp:subject
885 - [ sp:varName "testIntervalRef"^^xsd:string 852 + [ sp:varName "productionFlowToDate"^^xsd:string
886 ] 853 ]
887 ] [ sp:object 854 ] [ sp:object
888 - [ sp:varName "realMdTop"^^xsd:string 855 + [ sp:varName "injectionTestRef"^^xsd:string
889 ] ; 856 ] ;
890 - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; 857 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#injectionTestRef> ;
891 sp:subject 858 sp:subject
892 - [ sp:varName "mdTopRef"^^xsd:string 859 + [ sp:varName "wellTestRef"^^xsd:string
893 ] 860 ]
894 ] [ sp:object 861 ] [ sp:object
895 - [ sp:varName "uomMdTop"^^xsd:string 862 + [ sp:varName "wellTestCumulativeRef"^^xsd:string
896 ] ; 863 ] ;
897 - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ; 864 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#wellTestCumulativeRef> ;
898 sp:subject 865 sp:subject
899 - [ sp:varName "mdTopRef"^^xsd:string 866 + [ sp:varName "injectionTestRef"^^xsd:string
900 ] 867 ]
901 - ]) 868 + ] [ sp:object
902 - ] [ rdf:type sp:Optional ; 869 + [ sp:varName "cumulativeOilRef"^^xsd:string
903 - sp:elements ([ sp:object
904 - [ sp:varName "mdBaseRef"^^xsd:string
905 ] ; 870 ] ;
906 - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#mdBaseRef> ; 871 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#cumulativeOilRef> ;
907 sp:subject 872 sp:subject
908 - [ sp:varName "testIntervalRef"^^xsd:string 873 + [ sp:varName "wellTestCumulativeRef"^^xsd:string
909 ] 874 ]
910 ] [ sp:object 875 ] [ sp:object
911 - [ sp:varName "realMdBase"^^xsd:string 876 + [ sp:varName "realVolume"^^xsd:string
912 ] ; 877 ] ;
913 sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; 878 sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
914 sp:subject 879 sp:subject
915 - [ sp:varName "mdBaseRef"^^xsd:string 880 + [ sp:varName "cumulativeOilRef"^^xsd:string
916 ] 881 ]
917 ] [ sp:object 882 ] [ sp:object
918 - [ sp:varName "uomMdBase"^^xsd:string 883 + [ sp:varName "uomVolume"^^xsd:string
919 ] ; 884 ] ;
920 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ; 885 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ;
921 sp:subject 886 sp:subject
922 - [ sp:varName "mdBaseRef"^^xsd:string 887 + [ sp:varName "cumulativeOilRef"^^xsd:string
923 - ]
924 - ])
925 - ] [ rdf:type sp:Optional ;
926 - sp:elements ([ sp:object
927 - [ sp:varName "testedFormation"^^xsd:string
928 - ] ;
929 - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#testedFormation> ;
930 - sp:subject
931 - [ sp:varName "testIntervalRef"^^xsd:string
932 - ]
933 - ])
934 - ] [ rdf:type sp:Bind ;
935 - sp:expression
936 - [ rdf:type ep-dpr-spin-lib:selectLengthScale ;
937 - sp:arg1 [ sp:varName "uomMdTop"^^xsd:string
938 - ]
939 - ] ;
940 - sp:variable
941 - [ sp:varName "lengthScaleMdTop"^^xsd:string
942 ] 888 ]
943 ] [ rdf:type sp:Bind ; 889 ] [ rdf:type sp:Bind ;
944 sp:expression 890 sp:expression
945 [ rdf:type ep-dpr-spin-lib:selectLengthScale ; 891 [ rdf:type ep-dpr-spin-lib:selectLengthScale ;
946 - sp:arg1 [ sp:varName "uomMdBase"^^xsd:string 892 + sp:arg1 [ sp:varName "uomVolume"^^xsd:string
947 ] 893 ]
948 ] ; 894 ] ;
949 sp:variable 895 sp:variable
950 - [ sp:varName "lengthScaleMdBase"^^xsd:string 896 + [ sp:varName "volumeScale"^^xsd:string
951 ] 897 ]
952 ]) 898 ])
953 ] ; 899 ] ;
954 spin:rule 900 spin:rule
955 [ rdf:type sp:Construct ; 901 [ rdf:type sp:Construct ;
956 - rdfs:comment "STEP 30140 Classify as an Injection test and set duration"^^xsd:string ; 902 + rdfs:comment "STEP 30143c Set the cumulative fluid flow - water amount"^^xsd:string ;
957 - sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/activity#InjectionWellTest> ; 903 + sp:templates ([ sp:object _:b16 ;
958 - sp:predicate rdf:type ; 904 + sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasMixedPart> ;
959 sp:subject 905 sp:subject
960 - [ sp:varName "wellTest"^^xsd:string 906 + [ sp:varName "productionFlowToDate"^^xsd:string
961 ] 907 ]
908 + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#WaterFlow> ;
909 + sp:predicate rdf:type ;
910 + sp:subject _:b16
911 + ] [ sp:object _:b17 ;
912 + sp:predicate <http://www.reportinghub.no/ep/schema/flow#totalAmountOfMaterial> ;
913 + sp:subject _:b16
914 + ] [ sp:object <http://www.reportinghub.no/ep/schema/well#Water> ;
915 + sp:predicate rdf:type ;
916 + sp:subject _:b17
962 ] [ sp:object _:b18 ; 917 ] [ sp:object _:b18 ;
963 sp:predicate rdf:type ; 918 sp:predicate rdf:type ;
964 - sp:subject 919 + sp:subject _:b17
965 - [ sp:varName "wellTest"^^xsd:string 920 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ;
966 - ]
967 - ] [ sp:object <http://www.reportinghub.no/ep/schema/core#TimeDuration> ;
968 sp:predicate rdf:type ; 921 sp:predicate rdf:type ;
969 sp:subject _:b18 922 sp:subject _:b18
970 ] [ sp:object 923 ] [ sp:object
971 - [ sp:varName "realDuration"^^xsd:string 924 + [ sp:varName "realVolume"^^xsd:string
972 ] ; 925 ] ;
973 sp:predicate 926 sp:predicate
974 - [ sp:varName "durationScale"^^xsd:string 927 + [ sp:varName "volumeScale"^^xsd:string
975 ] ; 928 ] ;
976 sp:subject _:b18 929 sp:subject _:b18
977 ]) ; 930 ]) ;
...@@ -1023,43 +976,90 @@ ...@@ -1023,43 +976,90 @@
1023 [ sp:varName "wellTest"^^xsd:string 976 [ sp:varName "wellTest"^^xsd:string
1024 ] 977 ]
1025 ] [ sp:object 978 ] [ sp:object
979 + [ sp:varName "temporalPartOfAWellBore"^^xsd:string
980 + ] ;
981 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
982 + sp:subject
983 + [ sp:varName "wellTest"^^xsd:string
984 + ]
985 + ] [ sp:object
986 + [ sp:varName "testDate"^^xsd:string
987 + ] ;
988 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#nominallyAt> ;
989 + sp:subject
990 + [ sp:varName "wellTest"^^xsd:string
991 + ]
992 + ] [ sp:object
993 + [ sp:varName "wellBore"^^xsd:string
994 + ] ;
995 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
996 + sp:subject
997 + [ sp:varName "temporalPartOfAWellBore"^^xsd:string
998 + ]
999 + ] [ sp:object
1000 + [ sp:varName "wellBore"^^xsd:string
1001 + ] ;
1002 + sp:predicate <http://www.reportinghub.no/ep/schema/flow#flowOutOf> ;
1003 + sp:subject
1004 + [ sp:varName "productionFlow"^^xsd:string
1005 + ]
1006 + ] [ sp:object
1007 + [ sp:varName "productionFlow"^^xsd:string
1008 + ] ;
1009 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
1010 + sp:subject
1011 + [ sp:varName "productionFlowToDate"^^xsd:string
1012 + ]
1013 + ] [ sp:object
1014 + [ sp:varName "testDate"^^xsd:string
1015 + ] ;
1016 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
1017 + sp:subject
1018 + [ sp:varName "productionFlowToDate"^^xsd:string
1019 + ]
1020 + ] [ sp:object
1026 [ sp:varName "injectionTestRef"^^xsd:string 1021 [ sp:varName "injectionTestRef"^^xsd:string
1027 ] ; 1022 ] ;
1028 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#injectionTestRef> ; 1023 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#injectionTestRef> ;
1029 sp:subject 1024 sp:subject
1030 [ sp:varName "wellTestRef"^^xsd:string 1025 [ sp:varName "wellTestRef"^^xsd:string
1031 ] 1026 ]
1032 - ] [ rdf:type sp:Optional ; 1027 + ] [ sp:object
1033 - sp:elements ([ sp:object 1028 + [ sp:varName "wellTestCumulativeRef"^^xsd:string
1034 - [ sp:varName "testDurationRef"^^xsd:string
1035 ] ; 1029 ] ;
1036 - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#testDurationRef> ; 1030 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#wellTestCumulativeRef> ;
1037 sp:subject 1031 sp:subject
1038 - [ sp:varName "productionTestRef"^^xsd:string 1032 + [ sp:varName "injectionTestRef"^^xsd:string
1039 ] 1033 ]
1040 ] [ sp:object 1034 ] [ sp:object
1041 - [ sp:varName "realDuration"^^xsd:string 1035 + [ sp:varName "cumulativeWaterRef"^^xsd:string
1036 + ] ;
1037 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#cumulativeWaterRef> ;
1038 + sp:subject
1039 + [ sp:varName "wellTestCumulativeRef"^^xsd:string
1040 + ]
1041 + ] [ sp:object
1042 + [ sp:varName "realVolume"^^xsd:string
1042 ] ; 1043 ] ;
1043 sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; 1044 sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
1044 sp:subject 1045 sp:subject
1045 - [ sp:varName "testDurationRef"^^xsd:string 1046 + [ sp:varName "cumulativeWaterRef"^^xsd:string
1046 ] 1047 ]
1047 ] [ sp:object 1048 ] [ sp:object
1048 - [ sp:varName "uomDuration"^^xsd:string 1049 + [ sp:varName "uomVolume"^^xsd:string
1049 ] ; 1050 ] ;
1050 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ; 1051 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ;
1051 sp:subject 1052 sp:subject
1052 - [ sp:varName "testDurationRef"^^xsd:string 1053 + [ sp:varName "cumulativeWaterRef"^^xsd:string
1053 ] 1054 ]
1054 - ])
1055 ] [ rdf:type sp:Bind ; 1055 ] [ rdf:type sp:Bind ;
1056 sp:expression 1056 sp:expression
1057 - [ rdf:type ep-dpr-spin-lib:selectDurationScale ; 1057 + [ rdf:type ep-dpr-spin-lib:selectLengthScale ;
1058 - sp:arg1 [ sp:varName "uomDuration"^^xsd:string 1058 + sp:arg1 [ sp:varName "uomVolume"^^xsd:string
1059 ] 1059 ]
1060 ] ; 1060 ] ;
1061 sp:variable 1061 sp:variable
1062 - [ sp:varName "durationScale"^^xsd:string 1062 + [ sp:varName "volumeScale"^^xsd:string
1063 ] 1063 ]
1064 ]) 1064 ])
1065 ] . 1065 ] .
......