David Leal

First work on MPR Fluid sample transform + minor fixes elsewhere

1 +# Saved by TopBraid on Mon Dec 19 18:46:58 GMT 2011
1 # baseURI: http://www.reportinghub.no/ep/schema/1.0/production-activity 2 # baseURI: http://www.reportinghub.no/ep/schema/1.0/production-activity
2 -# imports: http://www.reportinghub.no/ep/schema/1.0/activity
3 -# imports: http://www.reportinghub.no/ep/schema/1.0/activity-purpose
4 -# imports: http://www.reportinghub.no/ep/schema/1.0/equipment
5 -# imports: http://www.reportinghub.no/ep/schema/1.0/facility
6 -# imports: http://www.reportinghub.no/ep/schema/1.0/flow
7 -# imports: http://www.reportinghub.no/ep/schema/1.0/production-core
8 # imports: http://www.reportinghub.no/ep/schema/1.0/production-equipment 3 # imports: http://www.reportinghub.no/ep/schema/1.0/production-equipment
9 -# imports: http://www.reportinghub.no/ep/schema/1.0/production-facility
10 # imports: http://www.reportinghub.no/ep/schema/1.0/production-organization 4 # imports: http://www.reportinghub.no/ep/schema/1.0/production-organization
5 +# imports: http://www.reportinghub.no/ep/schema/1.0/production-facility
11 # imports: http://www.reportinghub.no/ep/schema/1.0/well 6 # imports: http://www.reportinghub.no/ep/schema/1.0/well
7 +# imports: http://www.reportinghub.no/ep/schema/1.0/equipment
8 +# imports: http://www.reportinghub.no/ep/schema/1.0/activity-purpose
9 +# imports: http://www.reportinghub.no/ep/schema/1.0/activity
10 +# imports: http://www.reportinghub.no/ep/schema/1.0/facility
11 +# imports: http://www.reportinghub.no/ep/schema/1.0/production-core
12 +# imports: http://www.reportinghub.no/ep/schema/1.0/flow
12 13
13 @prefix ep-core: <http://www.reportinghub.no/ep/schema/core#> . 14 @prefix ep-core: <http://www.reportinghub.no/ep/schema/core#> .
14 @prefix ep-prodact: <http://www.reportinghub.no/ep/schema/production-activity#> . 15 @prefix ep-prodact: <http://www.reportinghub.no/ep/schema/production-activity#> .
...@@ -36,7 +37,7 @@ ...@@ -36,7 +37,7 @@
36 <http://www.reportinghub.no/ep/schema/activity#ProductionWellTest> 37 <http://www.reportinghub.no/ep/schema/activity#ProductionWellTest>
37 rdf:type owl:Class ; 38 rdf:type owl:Class ;
38 rdfs:label "production well test"^^xsd:string ; 39 rdfs:label "production well test"^^xsd:string ;
39 - rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> , <http://www.reportinghub.no/ep/schema/activity#WellTest> . 40 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> , <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
40 41
41 <http://www.reportinghub.no/ep/schema/activity#WeeklyProductionActivity> 42 <http://www.reportinghub.no/ep/schema/activity#WeeklyProductionActivity>
42 rdf:type ep-prodact:ProductionOperationClassByDuration . 43 rdf:type ep-prodact:ProductionOperationClassByDuration .
...@@ -51,7 +52,7 @@ ...@@ -51,7 +52,7 @@
51 rdfs:range <http://www.reportinghub.no/ep/schema/flow#Flow> . 52 rdfs:range <http://www.reportinghub.no/ep/schema/flow#Flow> .
52 53
53 ep-core:Mass 54 ep-core:Mass
54 - rdf:type rdfs:Class , ep-core:PropertySpace ; 55 + rdf:type ep-core:PropertySpace , rdfs:Class ;
55 rdfs:label "mass"^^xsd:string ; 56 rdfs:label "mass"^^xsd:string ;
56 rdfs:subClassOf ep-core:MeasureOfAmountOfMaterial . 57 rdfs:subClassOf ep-core:MeasureOfAmountOfMaterial .
57 58
...@@ -92,13 +93,13 @@ ep-core:Mass ...@@ -92,13 +93,13 @@ ep-core:Mass
92 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> . 93 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> .
93 94
94 ep-prodact:AdministerFirstAid 95 ep-prodact:AdministerFirstAid
95 - rdf:type owl:Class , ep-prodact:SafetyActivityType ; 96 + rdf:type ep-prodact:SafetyActivityType , owl:Class ;
96 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 97 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
97 98
98 ep-prodact:AirTrafficOperation 99 ep-prodact:AirTrafficOperation
99 - rdf:type owl:Class , ep-prodact:ProductionActivityType ; 100 + rdf:type ep-prodact:ProductionActivityType , owl:Class ;
100 rdfs:label "air traffic operation"^^xsd:string ; 101 rdfs:label "air traffic operation"^^xsd:string ;
101 - rdfs:subClassOf ep-prodact:TransportationActivity , ep-prodact:PartOfProductionActivity . 102 + rdfs:subClassOf ep-prodact:PartOfProductionActivity , ep-prodact:TransportationActivity .
102 103
103 ep-prodact:Alarm 104 ep-prodact:Alarm
104 rdf:type owl:Class ; 105 rdf:type owl:Class ;
...@@ -117,49 +118,49 @@ ep-prodact:AmountOfSubstance ...@@ -117,49 +118,49 @@ ep-prodact:AmountOfSubstance
117 rdfs:subClassOf ep-core:PhysicalObject . 118 rdfs:subClassOf ep-core:PhysicalObject .
118 119
119 ep-prodact:AnnualProductionActivity 120 ep-prodact:AnnualProductionActivity
120 - rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ; 121 + rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
121 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> . 122 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
122 123
123 ep-prodact:AnnualProductionActivityToDate 124 ep-prodact:AnnualProductionActivityToDate
124 - rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ; 125 + rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
125 rdfs:subClassOf ep-prodact:AnnualProductionActivity . 126 rdfs:subClassOf ep-prodact:AnnualProductionActivity .
126 127
127 ep-prodact:AnnualProductionOperationsActivityToEndOfReportingPeriod 128 ep-prodact:AnnualProductionOperationsActivityToEndOfReportingPeriod
128 - rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ; 129 + rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
129 - rdfs:subClassOf ep-prodact:AnnualProductionActivityToDate , ep-prodact:ProductionOperationsActivity . 130 + rdfs:subClassOf ep-prodact:ProductionOperationsActivity , ep-prodact:AnnualProductionActivityToDate .
130 131
131 ep-prodact:AnnualProductionVolumeActivityToEndOfReportingPeriod 132 ep-prodact:AnnualProductionVolumeActivityToEndOfReportingPeriod
132 - rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ; 133 + rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
133 - rdfs:subClassOf ep-prodact:AnnualProductionActivityToDate , ep-prodact:ProductionVolumeActivity . 134 + rdfs:subClassOf ep-prodact:ProductionVolumeActivity , ep-prodact:AnnualProductionActivityToDate .
134 135
135 ep-prodact:CargoShipOperation 136 ep-prodact:CargoShipOperation
136 rdf:type owl:Class ; 137 rdf:type owl:Class ;
137 - rdfs:subClassOf ep-prodact:TransportationActivity , ep-prodact:PartOfProductionActivity . 138 + rdfs:subClassOf ep-prodact:PartOfProductionActivity , ep-prodact:TransportationActivity .
138 139
139 ep-prodact:ConstructionOperation 140 ep-prodact:ConstructionOperation
140 - rdf:type owl:Class , ep-prodact:ProductionActivityType ; 141 + rdf:type ep-prodact:ProductionActivityType , owl:Class ;
141 rdfs:label "construction operation"^^xsd:string ; 142 rdfs:label "construction operation"^^xsd:string ;
142 rdfs:subClassOf ep-prodact:PartOfProductionActivity . 143 rdfs:subClassOf ep-prodact:PartOfProductionActivity .
143 144
144 ep-prodact:CumulativeProductionActivitySinceProductionBegan 145 ep-prodact:CumulativeProductionActivitySinceProductionBegan
145 - rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ; 146 + rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
146 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> . 147 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
147 148
148 ep-prodact:DailyProductionOperationsActivity 149 ep-prodact:DailyProductionOperationsActivity
149 - rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ; 150 + rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
150 - rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity> , ep-prodact:ProductionOperationsActivity . 151 + rdfs:subClassOf ep-prodact:ProductionOperationsActivity , <http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity> .
151 152
152 ep-prodact:DailyProductionVolumeActivity 153 ep-prodact:DailyProductionVolumeActivity
153 - rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ; 154 + rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
154 - rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity> , ep-prodact:ProductionVolumeActivity . 155 + rdfs:subClassOf ep-prodact:ProductionVolumeActivity , <http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity> .
155 156
156 ep-prodact:Deviation 157 ep-prodact:Deviation
157 - rdf:type owl:Class , ep-prodact:ProductionActivityType ; 158 + rdf:type ep-prodact:ProductionActivityType , owl:Class ;
158 rdfs:label "deviation"^^xsd:string ; 159 rdfs:label "deviation"^^xsd:string ;
159 rdfs:subClassOf ep-prodact:PartOfProductionActivity . 160 rdfs:subClassOf ep-prodact:PartOfProductionActivity .
160 161
161 ep-prodact:DrillOrExcercise 162 ep-prodact:DrillOrExcercise
162 - rdf:type owl:Class , ep-prodact:SafetyActivityType ; 163 + rdf:type ep-prodact:SafetyActivityType , owl:Class ;
163 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 164 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
164 165
165 ep-prodact:Fire 166 ep-prodact:Fire
...@@ -181,7 +182,67 @@ ep-prodact:FlowLine-Production ...@@ -181,7 +182,67 @@ ep-prodact:FlowLine-Production
181 ep-prodact:FluidLevelTest 182 ep-prodact:FluidLevelTest
182 rdf:type owl:Class ; 183 rdf:type owl:Class ;
183 rdfs:label "fluid level test"^^xsd:string ; 184 rdfs:label "fluid level test"^^xsd:string ;
184 - rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> , <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> . 185 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> , <http://www.reportinghub.no/ep/schema/activity#WellTest> .
186 +
187 +ep-prodact:FluidSampling
188 + rdf:type owl:Class ;
189 + rdfs:label "fluid sampling"^^xsd:string ;
190 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> .
191 +
192 +ep-prodact:FluidSampling-DST
193 + rdf:type owl:Class , ep-prodact:FluidSamplingType ;
194 + rdfs:label "fluid sampling - DST"^^xsd:string ;
195 + rdfs:subClassOf ep-prodact:FluidSampling .
196 +
197 +ep-prodact:FluidSampling-RFTorMDT
198 + rdf:type owl:Class , ep-prodact:FluidSamplingType ;
199 + rdfs:label "fluid sampling - RFT or MDT"^^xsd:string ;
200 + rdfs:subClassOf ep-prodact:FluidSampling .
201 +
202 +ep-prodact:FluidSampling-bottomhole
203 + rdf:type owl:Class , ep-prodact:FluidSamplingType ;
204 + rdfs:label "fluid sampling - bottomhole"^^xsd:string ;
205 + rdfs:subClassOf ep-prodact:FluidSampling .
206 +
207 +ep-prodact:FluidSampling-formationTester
208 + rdf:type owl:Class , ep-prodact:FluidSamplingType ;
209 + rdfs:label "fluid sampling - formation tester"^^xsd:string ;
210 + rdfs:subClassOf ep-prodact:FluidSampling .
211 +
212 +ep-prodact:FluidSampling-recombined
213 + rdf:type owl:Class , ep-prodact:FluidSamplingType ;
214 + rdfs:label "fluid sampling - recombined"^^xsd:string ;
215 + rdfs:subClassOf ep-prodact:FluidSampling .
216 +
217 +ep-prodact:FluidSampling-separatorGas
218 + rdf:type owl:Class , ep-prodact:FluidSamplingType ;
219 + rdfs:label "fluid sampling - separator gas"^^xsd:string ;
220 + rdfs:subClassOf ep-prodact:FluidSampling .
221 +
222 +ep-prodact:FluidSampling-separatorOil
223 + rdf:type owl:Class , ep-prodact:FluidSamplingType ;
224 + rdfs:label "fluid sampling - separator oil"^^xsd:string ;
225 + rdfs:subClassOf ep-prodact:FluidSampling .
226 +
227 +ep-prodact:FluidSampling-separatorWater
228 + rdf:type owl:Class , ep-prodact:FluidSamplingType ;
229 + rdfs:label "fluid sampling - separator water"^^xsd:string ;
230 + rdfs:subClassOf ep-prodact:FluidSampling .
231 +
232 +ep-prodact:FluidSampling-synthetic
233 + rdf:type owl:Class , ep-prodact:FluidSamplingType ;
234 + rdfs:label "fluid sampling - synthetic"^^xsd:string ;
235 + rdfs:subClassOf ep-prodact:FluidSampling .
236 +
237 +ep-prodact:FluidSampling-wellhead
238 + rdf:type ep-prodact:FluidSamplingType , owl:Class ;
239 + rdfs:label "fluid sampling - wellhead"^^xsd:string ;
240 + rdfs:subClassOf ep-prodact:FluidSampling .
241 +
242 +ep-prodact:FluidSamplingType
243 + rdf:type rdfs:Class ;
244 + rdfs:label "fluid sampling type"^^xsd:string ;
245 + rdfs:subClassOf owl:Class .
185 246
186 ep-prodact:FusionOfHSEActivitiesOverPeriod 247 ep-prodact:FusionOfHSEActivitiesOverPeriod
187 rdf:type owl:Class ; 248 rdf:type owl:Class ;
...@@ -200,21 +261,21 @@ ep-prodact:Incident ...@@ -200,21 +261,21 @@ ep-prodact:Incident
200 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 261 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
201 262
202 ep-prodact:InitialWellTest 263 ep-prodact:InitialWellTest
203 - rdf:type ep-prodact:WellTestReasonType , owl:Class ; 264 + rdf:type owl:Class , ep-prodact:WellTestReasonType ;
204 rdfs:label "initial"^^xsd:string ; 265 rdfs:label "initial"^^xsd:string ;
205 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> . 266 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> .
206 267
207 ep-prodact:InjectionWellTest 268 ep-prodact:InjectionWellTest
208 rdf:type owl:Class ; 269 rdf:type owl:Class ;
209 rdfs:label "injection well test"^^xsd:string ; 270 rdfs:label "injection well test"^^xsd:string ;
210 - rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> , <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> . 271 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> , <http://www.reportinghub.no/ep/schema/activity#WellTest> .
211 272
212 ep-prodact:Injury 273 ep-prodact:Injury
213 - rdf:type owl:Class , ep-prodact:SafetyActivityType ; 274 + rdf:type ep-prodact:SafetyActivityType , owl:Class ;
214 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 275 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
215 276
216 ep-prodact:IssueWorkPermit 277 ep-prodact:IssueWorkPermit
217 - rdf:type owl:Class , ep-prodact:SafetyActivityType ; 278 + rdf:type ep-prodact:SafetyActivityType , owl:Class ;
218 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 279 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
219 280
220 ep-prodact:JobObservation 281 ep-prodact:JobObservation
...@@ -234,20 +295,20 @@ ep-prodact:LostTimeIncident ...@@ -234,20 +295,20 @@ ep-prodact:LostTimeIncident
234 rdfs:subClassOf ep-prodact:Incident . 295 rdfs:subClassOf ep-prodact:Incident .
235 296
236 ep-prodact:MaintenanceActivity 297 ep-prodact:MaintenanceActivity
237 - rdf:type owl:Class , ep-prodact:ProductionActivityType ; 298 + rdf:type ep-prodact:ProductionActivityType , owl:Class ;
238 rdfs:label "maintenance activity"^^xsd:string ; 299 rdfs:label "maintenance activity"^^xsd:string ;
239 rdfs:subClassOf ep-prodact:PartOfProductionActivity . 300 rdfs:subClassOf ep-prodact:PartOfProductionActivity .
240 301
241 ep-prodact:MarineOperation 302 ep-prodact:MarineOperation
242 rdf:type owl:Class ; 303 rdf:type owl:Class ;
243 - rdfs:subClassOf ep-prodact:TransportationActivity , ep-prodact:PartOfProductionActivity . 304 + rdfs:subClassOf ep-prodact:PartOfProductionActivity , ep-prodact:TransportationActivity .
244 305
245 ep-prodact:MedicalTreatmentInjury 306 ep-prodact:MedicalTreatmentInjury
246 - rdf:type owl:Class , ep-prodact:SafetyActivityType ; 307 + rdf:type ep-prodact:SafetyActivityType , owl:Class ;
247 rdfs:subClassOf ep-prodact:Injury . 308 rdfs:subClassOf ep-prodact:Injury .
248 309
249 ep-prodact:MonthlyProductionActivityToEndOfReportingPeriod 310 ep-prodact:MonthlyProductionActivityToEndOfReportingPeriod
250 - rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ; 311 + rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
251 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#MonthlyProductionActivity> . 312 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#MonthlyProductionActivity> .
252 313
253 ep-prodact:NearMiss 314 ep-prodact:NearMiss
...@@ -259,12 +320,12 @@ ep-prodact:NotablePartOfProductionActivity ...@@ -259,12 +320,12 @@ ep-prodact:NotablePartOfProductionActivity
259 rdfs:subClassOf ep-prodact:PartOfProductionActivity . 320 rdfs:subClassOf ep-prodact:PartOfProductionActivity .
260 321
261 ep-prodact:OtherProductionActivity 322 ep-prodact:OtherProductionActivity
262 - rdf:type owl:Class , ep-prodact:ProductionActivityType ; 323 + rdf:type ep-prodact:ProductionActivityType , owl:Class ;
263 rdfs:label "other production activity"^^xsd:string ; 324 rdfs:label "other production activity"^^xsd:string ;
264 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> . 325 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> .
265 326
266 ep-prodact:OtherReasonWellTest 327 ep-prodact:OtherReasonWellTest
267 - rdf:type ep-prodact:WellTestReasonType , owl:Class ; 328 + rdf:type owl:Class , ep-prodact:WellTestReasonType ;
268 rdfs:label "other"^^xsd:string ; 329 rdfs:label "other"^^xsd:string ;
269 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> . 330 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> .
270 331
...@@ -279,17 +340,17 @@ ep-prodact:Participation ...@@ -279,17 +340,17 @@ ep-prodact:Participation
279 rdfs:subPropertyOf ep-prodact:involvement . 340 rdfs:subPropertyOf ep-prodact:involvement .
280 341
281 ep-prodact:PeriodicWellTest 342 ep-prodact:PeriodicWellTest
282 - rdf:type ep-prodact:WellTestReasonType , owl:Class ; 343 + rdf:type owl:Class , ep-prodact:WellTestReasonType ;
283 rdfs:label "periodic"^^xsd:string ; 344 rdfs:label "periodic"^^xsd:string ;
284 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> . 345 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> .
285 346
286 ep-prodact:PowerStationFailure 347 ep-prodact:PowerStationFailure
287 - rdf:type owl:Class , ep-prodact:ProductionActivityType ; 348 + rdf:type ep-prodact:ProductionActivityType , owl:Class ;
288 rdfs:label "power station failure"^^xsd:string ; 349 rdfs:label "power station failure"^^xsd:string ;
289 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> . 350 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> .
290 351
291 ep-prodact:ProductionActivityLastingLessThanAYear 352 ep-prodact:ProductionActivityLastingLessThanAYear
292 - rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ; 353 + rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
293 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> . 354 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
294 355
295 ep-prodact:ProductionActivityType 356 ep-prodact:ProductionActivityType
...@@ -302,7 +363,7 @@ ep-prodact:ProductionOperationClassByDuration ...@@ -302,7 +363,7 @@ ep-prodact:ProductionOperationClassByDuration
302 rdfs:subClassOf owl:Class . 363 rdfs:subClassOf owl:Class .
303 364
304 ep-prodact:ProductionOperationsActivity 365 ep-prodact:ProductionOperationsActivity
305 - rdf:type owl:Class , ep-prodact:ProductionActivityType ; 366 + rdf:type ep-prodact:ProductionActivityType , owl:Class ;
306 rdfs:label "production operations activity"^^xsd:string ; 367 rdfs:label "production operations activity"^^xsd:string ;
307 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> . 368 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
308 369
...@@ -315,7 +376,7 @@ ep-prodact:ReleasedToWater ...@@ -315,7 +376,7 @@ ep-prodact:ReleasedToWater
315 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 376 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
316 377
317 ep-prodact:ReportHazard 378 ep-prodact:ReportHazard
318 - rdf:type owl:Class , ep-prodact:SafetyActivityType ; 379 + rdf:type ep-prodact:SafetyActivityType , owl:Class ;
319 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 380 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
320 381
321 ep-prodact:RestrictedWork 382 ep-prodact:RestrictedWork
...@@ -323,11 +384,11 @@ ep-prodact:RestrictedWork ...@@ -323,11 +384,11 @@ ep-prodact:RestrictedWork
323 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 384 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
324 385
325 ep-prodact:RestrictedWorkInjury 386 ep-prodact:RestrictedWorkInjury
326 - rdf:type owl:Class , ep-prodact:SafetyActivityType ; 387 + rdf:type ep-prodact:SafetyActivityType , owl:Class ;
327 rdfs:subClassOf ep-prodact:Injury . 388 rdfs:subClassOf ep-prodact:Injury .
328 389
329 ep-prodact:RevisionWellTest 390 ep-prodact:RevisionWellTest
330 - rdf:type ep-prodact:WellTestReasonType , owl:Class ; 391 + rdf:type owl:Class , ep-prodact:WellTestReasonType ;
331 rdfs:label "revision"^^xsd:string ; 392 rdfs:label "revision"^^xsd:string ;
332 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> . 393 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> .
333 394
...@@ -336,7 +397,7 @@ ep-prodact:SafetyActivityType ...@@ -336,7 +397,7 @@ ep-prodact:SafetyActivityType
336 rdfs:subClassOf owl:Class . 397 rdfs:subClassOf owl:Class .
337 398
338 ep-prodact:SafetyMeeting 399 ep-prodact:SafetyMeeting
339 - rdf:type owl:Class , ep-prodact:SafetyActivityType ; 400 + rdf:type ep-prodact:SafetyActivityType , owl:Class ;
340 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 401 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
341 402
342 ep-prodact:SampleAmountOfSubstance 403 ep-prodact:SampleAmountOfSubstance
...@@ -356,7 +417,7 @@ ep-prodact:SickOnBoard ...@@ -356,7 +417,7 @@ ep-prodact:SickOnBoard
356 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 417 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
357 418
358 ep-prodact:SpillOrLeak 419 ep-prodact:SpillOrLeak
359 - rdf:type owl:Class , ep-prodact:SafetyActivityType ; 420 + rdf:type ep-prodact:SafetyActivityType , owl:Class ;
360 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 421 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
361 422
362 ep-prodact:TransportationActivity 423 ep-prodact:TransportationActivity
...@@ -364,7 +425,7 @@ ep-prodact:TransportationActivity ...@@ -364,7 +425,7 @@ ep-prodact:TransportationActivity
364 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> . 425 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> .
365 426
366 ep-prodact:UnknownReasonWellTest 427 ep-prodact:UnknownReasonWellTest
367 - rdf:type ep-prodact:WellTestReasonType , owl:Class ; 428 + rdf:type owl:Class , ep-prodact:WellTestReasonType ;
368 rdfs:label "unknown"^^xsd:string ; 429 rdfs:label "unknown"^^xsd:string ;
369 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> . 430 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> .
370 431
...@@ -379,7 +440,7 @@ ep-prodact:WaterDischarge ...@@ -379,7 +440,7 @@ ep-prodact:WaterDischarge
379 440
380 ep-prodact:WaterSample 441 ep-prodact:WaterSample
381 rdf:type owl:Class ; 442 rdf:type owl:Class ;
382 - rdfs:subClassOf ep-prodact:SampleAmountOfSubstance , <http://www.reportinghub.no/ep/schema/well#Water> . 443 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/well#Water> , ep-prodact:SampleAmountOfSubstance .
383 444
384 ep-prodact:WellTestReasonType 445 ep-prodact:WellTestReasonType
385 rdf:type rdfs:Class ; 446 rdf:type rdfs:Class ;
...@@ -387,11 +448,11 @@ ep-prodact:WellTestReasonType ...@@ -387,11 +448,11 @@ ep-prodact:WellTestReasonType
387 rdfs:subClassOf owl:Class . 448 rdfs:subClassOf owl:Class .
388 449
389 ep-prodact:WorkingUnderPermit 450 ep-prodact:WorkingUnderPermit
390 - rdf:type owl:Class , ep-prodact:SafetyActivityType ; 451 + rdf:type ep-prodact:SafetyActivityType , owl:Class ;
391 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 452 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
392 453
393 ep-prodact:WorkingUnderPermitWithSJA 454 ep-prodact:WorkingUnderPermitWithSJA
394 - rdf:type owl:Class , ep-prodact:SafetyActivityType ; 455 + rdf:type ep-prodact:SafetyActivityType , owl:Class ;
395 rdfs:subClassOf ep-prodact:WorkingUnderPermit . 456 rdfs:subClassOf ep-prodact:WorkingUnderPermit .
396 457
397 ep-prodact:ammoniumDensity 458 ep-prodact:ammoniumDensity
...@@ -449,7 +510,7 @@ ep-prodact:hasPredecessor ...@@ -449,7 +510,7 @@ ep-prodact:hasPredecessor
449 rdfs:range <http://www.reportinghub.no/ep/schema/activity#Activity> . 510 rdfs:range <http://www.reportinghub.no/ep/schema/activity#Activity> .
450 511
451 ep-prodact:hasShutInPressure 512 ep-prodact:hasShutInPressure
452 - rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ; 513 + rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
453 rdfs:domain <http://www.reportinghub.no/ep/schema/activity#ProductionWellTest> ; 514 rdfs:domain <http://www.reportinghub.no/ep/schema/activity#ProductionWellTest> ;
454 rdfs:label "has shut-in pressure"^^xsd:string ; 515 rdfs:label "has shut-in pressure"^^xsd:string ;
455 rdfs:range ep-core:Pressure . 516 rdfs:range ep-core:Pressure .
...@@ -461,25 +522,25 @@ ep-prodact:hasValidPredecessor ...@@ -461,25 +522,25 @@ ep-prodact:hasValidPredecessor
461 rdfs:range <http://www.reportinghub.no/ep/schema/activity#Activity> . 522 rdfs:range <http://www.reportinghub.no/ep/schema/activity#Activity> .
462 523
463 ep-prodact:injectionWellTestMaximumAnnularPressure 524 ep-prodact:injectionWellTestMaximumAnnularPressure
464 - rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ; 525 + rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
465 rdfs:domain ep-prodact:InjectionWellTest ; 526 rdfs:domain ep-prodact:InjectionWellTest ;
466 rdfs:label "injection well test maximum annular pressure"^^xsd:string ; 527 rdfs:label "injection well test maximum annular pressure"^^xsd:string ;
467 rdfs:range ep-core:Pressure . 528 rdfs:range ep-core:Pressure .
468 529
469 ep-prodact:injectionWellTestMinimumAnnularPressure 530 ep-prodact:injectionWellTestMinimumAnnularPressure
470 - rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ; 531 + rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
471 rdfs:domain ep-prodact:InjectionWellTest ; 532 rdfs:domain ep-prodact:InjectionWellTest ;
472 rdfs:label "injection well test minimum annular pressure"^^xsd:string ; 533 rdfs:label "injection well test minimum annular pressure"^^xsd:string ;
473 rdfs:range ep-core:Pressure . 534 rdfs:range ep-core:Pressure .
474 535
475 ep-prodact:injectionWellTestWellheadFlowingPressure 536 ep-prodact:injectionWellTestWellheadFlowingPressure
476 - rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ; 537 + rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
477 rdfs:domain ep-prodact:InjectionWellTest ; 538 rdfs:domain ep-prodact:InjectionWellTest ;
478 rdfs:label "injection well test wellhead flowing pressure"^^xsd:string ; 539 rdfs:label "injection well test wellhead flowing pressure"^^xsd:string ;
479 rdfs:range ep-core:Pressure . 540 rdfs:range ep-core:Pressure .
480 541
481 ep-prodact:injectionWellTestWellheadMaximumPressure 542 ep-prodact:injectionWellTestWellheadMaximumPressure
482 - rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ; 543 + rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
483 rdfs:domain ep-prodact:InjectionWellTest ; 544 rdfs:domain ep-prodact:InjectionWellTest ;
484 rdfs:label "injection well test wellhead maximum pressure"^^xsd:string ; 545 rdfs:label "injection well test wellhead maximum pressure"^^xsd:string ;
485 rdfs:range ep-core:Pressure . 546 rdfs:range ep-core:Pressure .
...@@ -545,7 +606,7 @@ ep-prodact:oilInWater ...@@ -545,7 +606,7 @@ ep-prodact:oilInWater
545 rdfs:range ep-core:MassPerUnitMassConcentration . 606 rdfs:range ep-core:MassPerUnitMassConcentration .
546 607
547 ep-prodact:onProductionFacility 608 ep-prodact:onProductionFacility
548 - rdf:type owl:FunctionalProperty , owl:ObjectProperty ; 609 + rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
549 rdfs:domain <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> ; 610 rdfs:domain <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> ;
550 rdfs:label "on facility"^^xsd:string ; 611 rdfs:label "on facility"^^xsd:string ;
551 rdfs:range <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> . 612 rdfs:range <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> .
...@@ -566,7 +627,7 @@ ep-prodact:productionActivityPeriodClassification ...@@ -566,7 +627,7 @@ ep-prodact:productionActivityPeriodClassification
566 rdfs:range ep-prodact:ProductionOperationClassByDuration . 627 rdfs:range ep-prodact:ProductionOperationClassByDuration .
567 628
568 ep-prodact:productionOperator 629 ep-prodact:productionOperator
569 - rdf:type owl:ObjectProperty , owl:FunctionalProperty ; 630 + rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
570 rdfs:domain <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> ; 631 rdfs:domain <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> ;
571 rdfs:label "production operator"^^xsd:string ; 632 rdfs:label "production operator"^^xsd:string ;
572 rdfs:range <http://www.reportinghub.no/ep/schema/organization#Organization> . 633 rdfs:range <http://www.reportinghub.no/ep/schema/organization#Organization> .
...@@ -582,7 +643,7 @@ ep-prodact:samplePhValue ...@@ -582,7 +643,7 @@ ep-prodact:samplePhValue
582 rdfs:range xsd:double . 643 rdfs:range xsd:double .
583 644
584 ep-prodact:samplePoint 645 ep-prodact:samplePoint
585 - rdf:type owl:ObjectProperty , owl:FunctionalProperty ; 646 + rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
586 rdfs:domain ep-prodact:WaterSample ; 647 rdfs:domain ep-prodact:WaterSample ;
587 rdfs:range <http://www.reportinghub.no/ep/schema/production-core#TemporalPartOfAPointInSpace> . 648 rdfs:range <http://www.reportinghub.no/ep/schema/production-core#TemporalPartOfAPointInSpace> .
588 649
...@@ -597,7 +658,7 @@ ep-prodact:sampleTurbidity ...@@ -597,7 +658,7 @@ ep-prodact:sampleTurbidity
597 rdfs:range xsd:double . 658 rdfs:range xsd:double .
598 659
599 ep-prodact:testedWellBoreInterval 660 ep-prodact:testedWellBoreInterval
600 - rdf:type owl:FunctionalProperty , owl:ObjectProperty ; 661 + rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
601 rdfs:domain <http://www.reportinghub.no/ep/schema/activity#WellTest> ; 662 rdfs:domain <http://www.reportinghub.no/ep/schema/activity#WellTest> ;
602 rdfs:label "tested wellbore interval"^^xsd:string ; 663 rdfs:label "tested wellbore interval"^^xsd:string ;
603 rdfs:range ep-core:PhysicalObject . 664 rdfs:range ep-core:PhysicalObject .
......
1 +# Saved by TopBraid on Mon Dec 19 18:49:44 GMT 2011
1 # baseURI: http://www.reportinghub.no/ep/schema/1.0/production-report 2 # baseURI: http://www.reportinghub.no/ep/schema/1.0/production-report
2 # imports: http://www.reportinghub.no/ep/schema/1.0/report 3 # imports: http://www.reportinghub.no/ep/schema/1.0/report
3 # imports: http://www.reportinghub.no/np/schema/1.0/npd 4 # imports: http://www.reportinghub.no/np/schema/1.0/npd
...@@ -10,19 +11,29 @@ ...@@ -10,19 +11,29 @@
10 11
11 <http://www.reportinghub.no/ep/schema/1.0/production-report> 12 <http://www.reportinghub.no/ep/schema/1.0/production-report>
12 rdf:type owl:Ontology ; 13 rdf:type owl:Ontology ;
13 - owl:imports <http://www.reportinghub.no/np/schema/1.0/npd> , <http://www.reportinghub.no/ep/schema/1.0/report> ; 14 + owl:imports <http://www.reportinghub.no/ep/schema/1.0/report> , <http://www.reportinghub.no/np/schema/1.0/npd> ;
14 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 15 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
15 16
16 ep-prodreport:DailyProductVolumeReport 17 ep-prodreport:DailyProductVolumeReport
17 - rdf:type ep-prodreport:ProductVolumeReportPeriodType , owl:Class ; 18 + rdf:type owl:Class , ep-prodreport:ProductVolumeReportPeriodType ;
18 rdfs:label "daily product volume report"^^xsd:string ; 19 rdfs:label "daily product volume report"^^xsd:string ;
19 - rdfs:subClassOf ep-prodreport:DailyProductionReport . 20 + rdfs:subClassOf ep-prodreport:ProductVolumeReport .
20 21
21 ep-prodreport:DailyProductionReport 22 ep-prodreport:DailyProductionReport
22 rdf:type owl:Class ; 23 rdf:type owl:Class ;
23 rdfs:label "Daily Production Report"^^xsd:string ; 24 rdfs:label "Daily Production Report"^^xsd:string ;
24 rdfs:subClassOf ep-prodreport:ProductionReport . 25 rdfs:subClassOf ep-prodreport:ProductionReport .
25 26
27 +ep-prodreport:FluidSampleReport
28 + rdf:type owl:Class ;
29 + rdfs:label "fluid sample report"^^xsd:string ;
30 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/report#Report> .
31 +
32 +ep-prodreport:MonthlyProductVolumeReport
33 + rdf:type ep-prodreport:ProductVolumeReportPeriodType , owl:Class ;
34 + rdfs:label " monthly product volume report"^^xsd:string ;
35 + rdfs:subClassOf ep-prodreport:ProductVolumeReport .
36 +
26 ep-prodreport:MonthlyProductionReport 37 ep-prodreport:MonthlyProductionReport
27 rdf:type owl:Class ; 38 rdf:type owl:Class ;
28 rdfs:label "Monthly Production Report"^^xsd:string ; 39 rdfs:label "Monthly Production Report"^^xsd:string ;
...@@ -33,11 +44,26 @@ ep-prodreport:ProductVolumeReport ...@@ -33,11 +44,26 @@ ep-prodreport:ProductVolumeReport
33 rdfs:label "product volume report"^^xsd:string ; 44 rdfs:label "product volume report"^^xsd:string ;
34 rdfs:subClassOf ep-prodreport:ProductionReport . 45 rdfs:subClassOf ep-prodreport:ProductionReport .
35 46
47 +ep-prodreport:ProductVolumeReportForInstant
48 + rdf:type owl:Class , ep-prodreport:ProductVolumeReportPeriodType ;
49 + rdfs:label "product volume report for instant"^^xsd:string ;
50 + rdfs:subClassOf ep-prodreport:ProductVolumeReport .
51 +
52 +ep-prodreport:ProductVolumeReportMonthToDate
53 + rdf:type owl:Class , ep-prodreport:ProductVolumeReportPeriodType ;
54 + rdfs:label " product volume report month to date"^^xsd:string ;
55 + rdfs:subClassOf ep-prodreport:ProductVolumeReport .
56 +
36 ep-prodreport:ProductVolumeReportPeriodType 57 ep-prodreport:ProductVolumeReportPeriodType
37 rdf:type rdfs:Class ; 58 rdf:type rdfs:Class ;
38 rdfs:label "product volume report period type"^^xsd:string ; 59 rdfs:label "product volume report period type"^^xsd:string ;
39 rdfs:subClassOf owl:Class . 60 rdfs:subClassOf owl:Class .
40 61
62 +ep-prodreport:ProductVolumeReportYearToDate
63 + rdf:type owl:Class , ep-prodreport:ProductVolumeReportPeriodType ;
64 + rdfs:label " product volume report year to date"^^xsd:string ;
65 + rdfs:subClassOf ep-prodreport:ProductVolumeReport .
66 +
41 ep-prodreport:ProductionReport 67 ep-prodreport:ProductionReport
42 rdf:type owl:Class ; 68 rdf:type owl:Class ;
43 rdfs:label "Production Report"^^xsd:string ; 69 rdfs:label "Production Report"^^xsd:string ;
...@@ -53,8 +79,8 @@ ep-prodreport:ReportAliasIdentifier ...@@ -53,8 +79,8 @@ ep-prodreport:ReportAliasIdentifier
53 rdfs:subClassOf owl:Thing ; 79 rdfs:subClassOf owl:Thing ;
54 rdfs:subClassOf 80 rdfs:subClassOf
55 [ rdf:type owl:Restriction ; 81 [ rdf:type owl:Restriction ;
56 - owl:minCardinality "1"^^xsd:nonNegativeInteger ; 82 + owl:cardinality "1"^^xsd:nonNegativeInteger ;
57 - owl:onProperty ep-prodreport:aliasName 83 + owl:onProperty ep-prodreport:isAliasFor
58 ] ; 84 ] ;
59 rdfs:subClassOf 85 rdfs:subClassOf
60 [ rdf:type owl:Restriction ; 86 [ rdf:type owl:Restriction ;
...@@ -63,10 +89,20 @@ ep-prodreport:ReportAliasIdentifier ...@@ -63,10 +89,20 @@ ep-prodreport:ReportAliasIdentifier
63 ] ; 89 ] ;
64 rdfs:subClassOf 90 rdfs:subClassOf
65 [ rdf:type owl:Restriction ; 91 [ rdf:type owl:Restriction ;
66 - owl:cardinality "1"^^xsd:nonNegativeInteger ; 92 + owl:minCardinality "1"^^xsd:nonNegativeInteger ;
67 - owl:onProperty ep-prodreport:isAliasFor 93 + owl:onProperty ep-prodreport:aliasName
68 ] . 94 ] .
69 95
96 +ep-prodreport:WeeklyProductVolumeReport
97 + rdf:type owl:Class , ep-prodreport:ProductVolumeReportPeriodType ;
98 + rdfs:label "weekly product volume report"^^xsd:string ;
99 + rdfs:subClassOf ep-prodreport:ProductVolumeReport .
100 +
101 +ep-prodreport:YearlyProductVolumeReport
102 + rdf:type owl:Class , ep-prodreport:ProductVolumeReportPeriodType ;
103 + rdfs:label "yearly product volume report"^^xsd:string ;
104 + rdfs:subClassOf ep-prodreport:ProductVolumeReport .
105 +
70 ep-prodreport:aliasName 106 ep-prodreport:aliasName
71 rdf:type owl:DatatypeProperty ; 107 rdf:type owl:DatatypeProperty ;
72 rdfs:range xsd:string . 108 rdfs:range xsd:string .
......
1 -# Saved by TopBraid on Sun Dec 18 18:59:30 GMT 2011 1 +# Saved by TopBraid on Mon Dec 19 16:52:20 GMT 2011
2 # baseURI: http://www.reportinghub.no/ep/dpr/spin/1.1/lib 2 # baseURI: http://www.reportinghub.no/ep/dpr/spin/1.1/lib
3 # imports: http://www.reportinghub.no/ep/spin/1.1/lib 3 # imports: http://www.reportinghub.no/ep/spin/1.1/lib
4 # imports: http://www.reportinghub.no/ep/schema/1.0/production 4 # imports: http://www.reportinghub.no/ep/schema/1.0/production
...@@ -49,7 +49,7 @@ sp:if ...@@ -49,7 +49,7 @@ sp:if
49 49
50 <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> 50 <http://www.reportinghub.no/ep/dpr/spin/1.1/lib>
51 rdf:type owl:Ontology ; 51 rdf:type owl:Ontology ;
52 - owl:imports <http://www.reportinghub.no/ep/spin/1.1/lib> , <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> ; 52 + 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> , <http://www.reportinghub.no/ep/spin/1.1/lib> ;
53 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 53 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
54 54
55 ep-dpr-spin-lib:BuildDailyProductionReportURI 55 ep-dpr-spin-lib:BuildDailyProductionReportURI
...@@ -4294,8 +4294,7 @@ ep-dpr-spin-lib:selectProductVolumeReportPeriodType ...@@ -4294,8 +4294,7 @@ ep-dpr-spin-lib:selectProductVolumeReportPeriodType
4294 rdfs:subClassOf ep-dpr-spin-lib:Function ; 4294 rdfs:subClassOf ep-dpr-spin-lib:Function ;
4295 spin:body 4295 spin:body
4296 [ rdf:type sp:Select ; 4296 [ rdf:type sp:Select ;
4297 - sp:resultVariables ([ sp:varName "productVolumeReportPeriodType"^^xsd:string 4297 + sp:resultVariables (_:b21) ;
4298 - ]) ;
4299 sp:where ([ rdf:type sp:Bind ; 4298 sp:where ([ rdf:type sp:Bind ;
4300 sp:expression 4299 sp:expression
4301 [ rdf:type sp:if ; 4300 [ rdf:type sp:if ;
...@@ -4339,7 +4338,7 @@ ep-dpr-spin-lib:selectProductVolumeReportPeriodType ...@@ -4339,7 +4338,7 @@ ep-dpr-spin-lib:selectProductVolumeReportPeriodType
4339 sp:arg1 spin:_arg1 ; 4338 sp:arg1 spin:_arg1 ;
4340 sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#RP_totalcumulative> 4339 sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#RP_totalcumulative>
4341 ] ; 4340 ] ;
4342 - sp:arg2 <http://www.reportinghub.no/ep/schema/production-report#ProductVolumeReportToDate> ; 4341 + sp:arg2 <http://www.reportinghub.no/ep/schema/production-report#ProductVolumeReport> ;
4343 sp:arg3 [ rdf:type sp:if ; 4342 sp:arg3 [ rdf:type sp:if ;
4344 sp:arg1 [ rdf:type sp:eq ; 4343 sp:arg1 [ rdf:type sp:eq ;
4345 sp:arg1 spin:_arg1 ; 4344 sp:arg1 spin:_arg1 ;
...@@ -4369,9 +4368,7 @@ ep-dpr-spin-lib:selectProductVolumeReportPeriodType ...@@ -4369,9 +4368,7 @@ ep-dpr-spin-lib:selectProductVolumeReportPeriodType
4369 ] 4368 ]
4370 ] 4369 ]
4371 ] ; 4370 ] ;
4372 - sp:variable 4371 + sp:variable _:b21
4373 - [ sp:varName "productVolumeReportPeriodType"^^xsd:string
4374 - ]
4375 ]) 4372 ])
4376 ] . 4373 ] .
4377 4374
...@@ -4539,7 +4536,7 @@ ep-dpr-spin-lib:selectProductionFacilityType ...@@ -4539,7 +4536,7 @@ ep-dpr-spin-lib:selectProductionFacilityType
4539 rdfs:subClassOf ep-dpr-spin-lib:Function ; 4536 rdfs:subClassOf ep-dpr-spin-lib:Function ;
4540 spin:body 4537 spin:body
4541 [ rdf:type sp:Select ; 4538 [ rdf:type sp:Select ;
4542 - sp:resultVariables (_:b21) ; 4539 + sp:resultVariables (_:b22) ;
4543 sp:where ([ rdf:type sp:Bind ; 4540 sp:where ([ rdf:type sp:Bind ;
4544 sp:expression 4541 sp:expression
4545 [ rdf:type sp:if ; 4542 [ rdf:type sp:if ;
...@@ -4718,7 +4715,7 @@ ep-dpr-spin-lib:selectProductionFacilityType ...@@ -4718,7 +4715,7 @@ ep-dpr-spin-lib:selectProductionFacilityType
4718 ] 4715 ]
4719 ] 4716 ]
4720 ] ; 4717 ] ;
4721 - sp:variable _:b21 4718 + sp:variable _:b22
4722 ]) 4719 ])
4723 ] . 4720 ] .
4724 4721
...@@ -4728,7 +4725,7 @@ ep-dpr-spin-lib:selectProductionFlowDefinitionType ...@@ -4728,7 +4725,7 @@ ep-dpr-spin-lib:selectProductionFlowDefinitionType
4728 rdfs:subClassOf ep-dpr-spin-lib:Function ; 4725 rdfs:subClassOf ep-dpr-spin-lib:Function ;
4729 spin:body 4726 spin:body
4730 [ rdf:type sp:Select ; 4727 [ rdf:type sp:Select ;
4731 - sp:resultVariables (_:b22) ; 4728 + sp:resultVariables (_:b23) ;
4732 sp:where ([ rdf:type sp:Bind ; 4729 sp:where ([ rdf:type sp:Bind ;
4733 sp:expression 4730 sp:expression
4734 [ rdf:type sp:if ; 4731 [ rdf:type sp:if ;
...@@ -4788,7 +4785,7 @@ ep-dpr-spin-lib:selectProductionFlowDefinitionType ...@@ -4788,7 +4785,7 @@ ep-dpr-spin-lib:selectProductionFlowDefinitionType
4788 ] 4785 ]
4789 ] 4786 ]
4790 ] ; 4787 ] ;
4791 - sp:variable _:b22 4788 + sp:variable _:b23
4792 ]) 4789 ])
4793 ] . 4790 ] .
4794 4791
...@@ -4798,7 +4795,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionInverseRelationshipType ...@@ -4798,7 +4795,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionInverseRelationshipType
4798 rdfs:subClassOf ep-dpr-spin-lib:Function ; 4795 rdfs:subClassOf ep-dpr-spin-lib:Function ;
4799 spin:body 4796 spin:body
4800 [ rdf:type sp:Select ; 4797 [ rdf:type sp:Select ;
4801 - sp:resultVariables (_:b23) ; 4798 + sp:resultVariables (_:b24) ;
4802 sp:where ([ rdf:type sp:Bind ; 4799 sp:where ([ rdf:type sp:Bind ;
4803 sp:expression 4800 sp:expression
4804 [ rdf:type sp:if ; 4801 [ rdf:type sp:if ;
...@@ -4816,7 +4813,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionInverseRelationshipType ...@@ -4816,7 +4813,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionInverseRelationshipType
4816 sp:arg3 <http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf> 4813 sp:arg3 <http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf>
4817 ] 4814 ]
4818 ] ; 4815 ] ;
4819 - sp:variable _:b23 4816 + sp:variable _:b24
4820 ]) 4817 ])
4821 ] . 4818 ] .
4822 4819
...@@ -4826,7 +4823,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionRelationshipType ...@@ -4826,7 +4823,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionRelationshipType
4826 rdfs:subClassOf ep-dpr-spin-lib:Function ; 4823 rdfs:subClassOf ep-dpr-spin-lib:Function ;
4827 spin:body 4824 spin:body
4828 [ rdf:type sp:Select ; 4825 [ rdf:type sp:Select ;
4829 - sp:resultVariables (_:b24) ; 4826 + sp:resultVariables (_:b25) ;
4830 sp:where ([ rdf:type sp:Bind ; 4827 sp:where ([ rdf:type sp:Bind ;
4831 sp:expression 4828 sp:expression
4832 [ rdf:type sp:if ; 4829 [ rdf:type sp:if ;
...@@ -4844,7 +4841,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionRelationshipType ...@@ -4844,7 +4841,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionRelationshipType
4844 sp:arg3 <http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf> 4841 sp:arg3 <http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf>
4845 ] 4842 ]
4846 ] ; 4843 ] ;
4847 - sp:variable _:b24 4844 + sp:variable _:b25
4848 ]) 4845 ])
4849 ] . 4846 ] .
4850 4847
...@@ -4854,7 +4851,7 @@ ep-dpr-spin-lib:selectProductionFlowPurposeType ...@@ -4854,7 +4851,7 @@ ep-dpr-spin-lib:selectProductionFlowPurposeType
4854 rdfs:subClassOf ep-dpr-spin-lib:Function ; 4851 rdfs:subClassOf ep-dpr-spin-lib:Function ;
4855 spin:body 4852 spin:body
4856 [ rdf:type sp:Select ; 4853 [ rdf:type sp:Select ;
4857 - sp:resultVariables (_:b25) ; 4854 + sp:resultVariables (_:b26) ;
4858 sp:where ([ rdf:type sp:Bind ; 4855 sp:where ([ rdf:type sp:Bind ;
4859 sp:expression 4856 sp:expression
4860 [ rdf:type sp:if ; 4857 [ rdf:type sp:if ;
...@@ -5005,7 +5002,7 @@ ep-dpr-spin-lib:selectProductionFlowPurposeType ...@@ -5005,7 +5002,7 @@ ep-dpr-spin-lib:selectProductionFlowPurposeType
5005 ] 5002 ]
5006 ] 5003 ]
5007 ] ; 5004 ] ;
5008 - sp:variable _:b25 5005 + sp:variable _:b26
5009 ]) 5006 ])
5010 ] . 5007 ] .
5011 5008
...@@ -5108,7 +5105,7 @@ ep-dpr-spin-lib:selectRelationshipToMeasure ...@@ -5108,7 +5105,7 @@ ep-dpr-spin-lib:selectRelationshipToMeasure
5108 rdfs:subClassOf ep-dpr-spin-lib:Function ; 5105 rdfs:subClassOf ep-dpr-spin-lib:Function ;
5109 spin:body 5106 spin:body
5110 [ rdf:type sp:Select ; 5107 [ rdf:type sp:Select ;
5111 - sp:resultVariables (_:b26) ; 5108 + sp:resultVariables (_:b27) ;
5112 sp:where ([ rdf:type sp:Bind ; 5109 sp:where ([ rdf:type sp:Bind ;
5113 sp:expression 5110 sp:expression
5114 [ rdf:type sp:if ; 5111 [ rdf:type sp:if ;
...@@ -5182,7 +5179,7 @@ ep-dpr-spin-lib:selectRelationshipToMeasure ...@@ -5182,7 +5179,7 @@ ep-dpr-spin-lib:selectRelationshipToMeasure
5182 ] 5179 ]
5183 ] 5180 ]
5184 ] ; 5181 ] ;
5185 - sp:variable _:b26 5182 + sp:variable _:b27
5186 ]) 5183 ])
5187 ] . 5184 ] .
5188 5185
...@@ -5191,7 +5188,7 @@ ep-dpr-spin-lib:selectSafetyActivityType ...@@ -5191,7 +5188,7 @@ ep-dpr-spin-lib:selectSafetyActivityType
5191 rdfs:subClassOf ep-dpr-spin-lib:Function ; 5188 rdfs:subClassOf ep-dpr-spin-lib:Function ;
5192 spin:body 5189 spin:body
5193 [ rdf:type sp:Select ; 5190 [ rdf:type sp:Select ;
5194 - sp:resultVariables (_:b27) ; 5191 + sp:resultVariables (_:b28) ;
5195 sp:where ([ rdf:type sp:Bind ; 5192 sp:where ([ rdf:type sp:Bind ;
5196 sp:expression 5193 sp:expression
5197 [ rdf:type sp:if ; 5194 [ rdf:type sp:if ;
...@@ -5335,7 +5332,7 @@ ep-dpr-spin-lib:selectSafetyActivityType ...@@ -5335,7 +5332,7 @@ ep-dpr-spin-lib:selectSafetyActivityType
5335 ] 5332 ]
5336 ] 5333 ]
5337 ] ; 5334 ] ;
5338 - sp:variable _:b27 5335 + sp:variable _:b28
5339 ]) 5336 ])
5340 ] . 5337 ] .
5341 5338
...@@ -5516,6 +5513,22 @@ ep-dpr-spin-lib:selectSpecificVolumeScale_MASS_CONCENTRATION ...@@ -5516,6 +5513,22 @@ ep-dpr-spin-lib:selectSpecificVolumeScale_MASS_CONCENTRATION
5516 rdfs:subClassOf ep-dpr-spin-lib:Function ; 5513 rdfs:subClassOf ep-dpr-spin-lib:Function ;
5517 spin:body 5514 spin:body
5518 [ rdf:type sp:Select ; 5515 [ rdf:type sp:Select ;
5516 + sp:resultVariables (_:b29) ;
5517 + sp:where ([ rdf:type sp:Bind ;
5518 + sp:expression
5519 + [ rdf:type sp:if ;
5520 + sp:arg1 [ rdf:type sp:eq ;
5521 + sp:arg1 spin:_arg1 ;
5522 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#VPVU_m3m3>
5523 + ] ;
5524 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#fractionByVolume> ;
5525 + sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
5526 + ] ;
5527 + sp:variable _:b29
5528 + ])
5529 + ] ;
5530 + spin:body
5531 + [ rdf:type sp:Select ;
5519 sp:resultVariables ([ sp:varName "myVar"^^xsd:string 5532 sp:resultVariables ([ sp:varName "myVar"^^xsd:string
5520 ]) ; 5533 ]) ;
5521 sp:where ([ rdf:type sp:Bind ; 5534 sp:where ([ rdf:type sp:Bind ;
...@@ -5595,22 +5608,6 @@ ep-dpr-spin-lib:selectSpecificVolumeScale_MASS_CONCENTRATION ...@@ -5595,22 +5608,6 @@ ep-dpr-spin-lib:selectSpecificVolumeScale_MASS_CONCENTRATION
5595 [ sp:varName "myVar"^^xsd:string 5608 [ sp:varName "myVar"^^xsd:string
5596 ] 5609 ]
5597 ]) 5610 ])
5598 - ] ;
5599 - spin:body
5600 - [ rdf:type sp:Select ;
5601 - sp:resultVariables (_:b28) ;
5602 - sp:where ([ rdf:type sp:Bind ;
5603 - sp:expression
5604 - [ rdf:type sp:if ;
5605 - sp:arg1 [ rdf:type sp:eq ;
5606 - sp:arg1 spin:_arg1 ;
5607 - sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#VPVU_m3m3>
5608 - ] ;
5609 - sp:arg2 <http://www.reportinghub.no/ep/schema/core#fractionByVolume> ;
5610 - sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
5611 - ] ;
5612 - sp:variable _:b28
5613 - ])
5614 ] . 5611 ] .
5615 5612
5616 ep-dpr-spin-lib:selectTemperatureScale 5613 ep-dpr-spin-lib:selectTemperatureScale
...@@ -5964,7 +5961,7 @@ ep-dpr-spin-lib:selectVolumeAtStandardTemperaturePressureType ...@@ -5964,7 +5961,7 @@ ep-dpr-spin-lib:selectVolumeAtStandardTemperaturePressureType
5964 rdfs:subClassOf ep-dpr-spin-lib:Function ; 5961 rdfs:subClassOf ep-dpr-spin-lib:Function ;
5965 spin:body 5962 spin:body
5966 [ rdf:type sp:Select ; 5963 [ rdf:type sp:Select ;
5967 - sp:resultVariables (_:b29) ; 5964 + sp:resultVariables (_:b30) ;
5968 sp:where ([ rdf:type sp:Bind ; 5965 sp:where ([ rdf:type sp:Bind ;
5969 sp:expression 5966 sp:expression
5970 [ rdf:type sp:if ; 5967 [ rdf:type sp:if ;
...@@ -5989,7 +5986,7 @@ ep-dpr-spin-lib:selectVolumeAtStandardTemperaturePressureType ...@@ -5989,7 +5986,7 @@ ep-dpr-spin-lib:selectVolumeAtStandardTemperaturePressureType
5989 ] 5986 ]
5990 ] 5987 ]
5991 ] ; 5988 ] ;
5992 - sp:variable _:b29 5989 + sp:variable _:b30
5993 ]) 5990 ])
5994 ] . 5991 ] .
5995 5992
...@@ -5999,7 +5996,7 @@ ep-dpr-spin-lib:selectVolumeFlowRateAtStandardTemperaturePressureType ...@@ -5999,7 +5996,7 @@ ep-dpr-spin-lib:selectVolumeFlowRateAtStandardTemperaturePressureType
5999 rdfs:subClassOf ep-dpr-spin-lib:Function ; 5996 rdfs:subClassOf ep-dpr-spin-lib:Function ;
6000 spin:body 5997 spin:body
6001 [ rdf:type sp:Select ; 5998 [ rdf:type sp:Select ;
6002 - sp:resultVariables (_:b30) ; 5999 + sp:resultVariables (_:b31) ;
6003 sp:where ([ rdf:type sp:Bind ; 6000 sp:where ([ rdf:type sp:Bind ;
6004 sp:expression 6001 sp:expression
6005 [ rdf:type sp:if ; 6002 [ rdf:type sp:if ;
...@@ -6024,7 +6021,7 @@ ep-dpr-spin-lib:selectVolumeFlowRateAtStandardTemperaturePressureType ...@@ -6024,7 +6021,7 @@ ep-dpr-spin-lib:selectVolumeFlowRateAtStandardTemperaturePressureType
6024 ] 6021 ]
6025 ] 6022 ]
6026 ] ; 6023 ] ;
6027 - sp:variable _:b30 6024 + sp:variable _:b31
6028 ]) 6025 ])
6029 ] . 6026 ] .
6030 6027
...@@ -7142,34 +7139,34 @@ ep-dpr-spin-lib:selectWorkScale ...@@ -7142,34 +7139,34 @@ ep-dpr-spin-lib:selectWorkScale
7142 ]) 7139 ])
7143 ] . 7140 ] .
7144 7141
7145 -_:b30 7142 +_:b31
7146 sp:varName "volumeFlowRateAtStdType"^^xsd:string . 7143 sp:varName "volumeFlowRateAtStdType"^^xsd:string .
7147 7144
7148 -_:b29 7145 +_:b30
7149 sp:varName "volumeAtStdType"^^xsd:string . 7146 sp:varName "volumeAtStdType"^^xsd:string .
7150 7147
7151 -_:b28 7148 +_:b29
7152 sp:varName "specificVolumeScale"^^xsd:string . 7149 sp:varName "specificVolumeScale"^^xsd:string .
7153 7150
7154 -_:b27 7151 +_:b28
7155 sp:varName "safetyActivityType"^^xsd:string . 7152 sp:varName "safetyActivityType"^^xsd:string .
7156 7153
7157 -_:b26 7154 +_:b27
7158 sp:varName "relationshipToMeasure"^^xsd:string . 7155 sp:varName "relationshipToMeasure"^^xsd:string .
7159 7156
7160 -_:b25 7157 +_:b26
7161 sp:varName "productionFlowPurposeType"^^xsd:string . 7158 sp:varName "productionFlowPurposeType"^^xsd:string .
7162 7159
7163 -_:b24 7160 +_:b25
7164 sp:varName "productionFlowDirectionRelationshipType"^^xsd:string . 7161 sp:varName "productionFlowDirectionRelationshipType"^^xsd:string .
7165 7162
7166 -_:b23 7163 +_:b24
7167 sp:varName "productionFlowDirectionRelationshipType"^^xsd:string . 7164 sp:varName "productionFlowDirectionRelationshipType"^^xsd:string .
7168 7165
7169 -_:b22 7166 +_:b23
7170 sp:varName "productionFlowDefinitionType"^^xsd:string . 7167 sp:varName "productionFlowDefinitionType"^^xsd:string .
7171 7168
7172 -_:b21 7169 +_:b22
7173 sp:varName "productionFacilityType"^^xsd:string . 7170 sp:varName "productionFacilityType"^^xsd:string .
7174 7171
7175 _:b20 7172 _:b20
...@@ -7193,6 +7190,9 @@ _:b15 ...@@ -7193,6 +7190,9 @@ _:b15
7193 _:b14 7190 _:b14
7194 sp:varName "uri"^^xsd:string . 7191 sp:varName "uri"^^xsd:string .
7195 7192
7193 +_:b13
7194 + sp:varName "uri"^^xsd:string .
7195 +
7196 _:b12 7196 _:b12
7197 sp:varName "uri"^^xsd:string . 7197 sp:varName "uri"^^xsd:string .
7198 7198
...@@ -7220,5 +7220,5 @@ _:b2 sp:varName "uri"^^xsd:string . ...@@ -7220,5 +7220,5 @@ _:b2 sp:varName "uri"^^xsd:string .
7220 7220
7221 _:b1 sp:varName "uri"^^xsd:string . 7221 _:b1 sp:varName "uri"^^xsd:string .
7222 7222
7223 -_:b13 7223 +_:b21
7224 - sp:varName "uri"^^xsd:string . 7224 + sp:varName "productVolumeReportPeriodType"^^xsd:string .
......
1 -# Saved by TopBraid on Sun Dec 18 18:59:31 GMT 2011 1 +# Saved by TopBraid on Mon Dec 19 16:52:20 GMT 2011
2 # baseURI: null 2 # baseURI: null
3 3
4 @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . 4 @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......
1 +# Saved by TopBraid on Mon Dec 19 18:38:19 GMT 2011
1 # baseURI: http://www.reportinghub.no/ep/mpr/spin/1.1/lib 2 # baseURI: http://www.reportinghub.no/ep/mpr/spin/1.1/lib
2 -# imports: http://spinrdf.org/spin 3 +# imports: http://www.reportinghub.no/ep/schema/1.0/production-equipment
4 +# imports: http://www.reportinghub.no/ep/spin/1.1/lib
3 # imports: http://www.epim.no/schemas/mprml/1 5 # imports: http://www.epim.no/schemas/mprml/1
4 # imports: http://www.reportinghub.no/ep/schema/1.0/production 6 # imports: http://www.reportinghub.no/ep/schema/1.0/production
5 -# imports: http://www.reportinghub.no/ep/schema/1.0/production-activity
6 # imports: http://www.reportinghub.no/ep/schema/1.0/production-core 7 # imports: http://www.reportinghub.no/ep/schema/1.0/production-core
7 -# imports: http://www.reportinghub.no/ep/schema/1.0/production-equipment 8 +# imports: http://www.reportinghub.no/ep/schema/1.0/production-activity
9 +# imports: http://spinrdf.org/spin
8 # imports: http://www.reportinghub.no/ep/schema/1.0/production-report 10 # imports: http://www.reportinghub.no/ep/schema/1.0/production-report
9 -# imports: http://www.reportinghub.no/ep/spin/1.1/lib
10 11
11 @prefix ep-mpr-spin-lib: <http://www.reportinghub.no/ep/mpr/spin/1.1/lib#> . 12 @prefix ep-mpr-spin-lib: <http://www.reportinghub.no/ep/mpr/spin/1.1/lib#> .
12 @prefix owl: <http://www.w3.org/2002/07/owl#> . 13 @prefix owl: <http://www.w3.org/2002/07/owl#> .
...@@ -800,6 +801,97 @@ ep-mpr-spin-lib:selectEnergyPerVolumeScale ...@@ -800,6 +801,97 @@ ep-mpr-spin-lib:selectEnergyPerVolumeScale
800 ]) 801 ])
801 ] . 802 ] .
802 803
804 +ep-mpr-spin-lib:selectFluidSamplingType
805 + rdf:type spin:Function ;
806 + rdfs:label "select ProductType"^^xsd:string ;
807 + rdfs:subClassOf ep-mpr-spin-lib:Function ;
808 + spin:body
809 + [ rdf:type sp:Select ;
810 + sp:resultVariables (_:b1) ;
811 + sp:where ([ rdf:type sp:Bind ;
812 + sp:expression
813 + [ rdf:type sp:if ;
814 + sp:arg1 [ rdf:type sp:eq ;
815 + sp:arg1 spin:_arg1 ;
816 + sp:arg2 <http://www.epim.no/schemas/mprml/1#FSK_bottomhole>
817 + ] ;
818 + sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#FluidSampling-bottomhole> ;
819 + sp:arg3 [ rdf:type sp:if ;
820 + sp:arg1 [ rdf:type sp:eq ;
821 + sp:arg1 spin:_arg1 ;
822 + sp:arg2 <http://www.epim.no/schemas/mprml/1#FSK_wellhead>
823 + ] ;
824 + sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#FluidSampling-wellhead> ;
825 + sp:arg3 [ rdf:type sp:if ;
826 + sp:arg1 [ rdf:type sp:eq ;
827 + sp:arg1 spin:_arg1 ;
828 + sp:arg2 <http://www.epim.no/schemas/mprml/1#FSK_DST>
829 + ] ;
830 + sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#FluidSampling-DST> ;
831 + sp:arg3 [ rdf:type sp:if ;
832 + sp:arg1 [ rdf:type sp:eq ;
833 + sp:arg1 spin:_arg1 ;
834 + sp:arg2 <http://www.epim.no/schemas/mprml/1#FSK_formationtester>
835 + ] ;
836 + sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#FluidSampling-formationTester> ;
837 + sp:arg3 [ rdf:type sp:if ;
838 + sp:arg1 [ rdf:type sp:eq ;
839 + sp:arg1 spin:_arg1 ;
840 + sp:arg2 <http://www.epim.no/schemas/mprml/1#FSK_RFTorMDT>
841 + ] ;
842 + sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#FluidSampling-RFTorMDT> ;
843 + sp:arg3 [ rdf:type sp:if ;
844 + sp:arg1 [ rdf:type sp:eq ;
845 + sp:arg1 spin:_arg1 ;
846 + sp:arg2 <http://www.epim.no/schemas/mprml/1#FSK_recombined>
847 + ] ;
848 + sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#FluidSampling-recombined> ;
849 + sp:arg3 [ rdf:type sp:if ;
850 + sp:arg1 [ rdf:type sp:eq ;
851 + sp:arg1 spin:_arg1 ;
852 + sp:arg2 <http://www.epim.no/schemas/mprml/1#FSK_separatorgas>
853 + ] ;
854 + sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#FluidSampling-separatorGas> ;
855 + sp:arg3 [ rdf:type sp:if ;
856 + sp:arg1 [ rdf:type sp:eq ;
857 + sp:arg1 spin:_arg1 ;
858 + sp:arg2 <http://www.epim.no/schemas/mprml/1#FSK_separatoroil>
859 + ] ;
860 + sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#FluidSampling-separatorOil> ;
861 + sp:arg3 [ rdf:type sp:if ;
862 + sp:arg1 [ rdf:type sp:eq ;
863 + sp:arg1 spin:_arg1 ;
864 + sp:arg2 <http://www.epim.no/schemas/mprml/1#FSK_separatorwater>
865 + ] ;
866 + sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#FluidSampling-separatorWater> ;
867 + sp:arg3 [ rdf:type sp:if ;
868 + sp:arg1 [ rdf:type sp:eq ;
869 + sp:arg1 spin:_arg1 ;
870 + sp:arg2 <http://www.epim.no/schemas/mprml/1#FSK_synthetic>
871 + ] ;
872 + sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#FluidSampling-synthetic> ;
873 + sp:arg3 [ rdf:type sp:if ;
874 + sp:arg1 [ rdf:type sp:eq ;
875 + sp:arg1 spin:_arg1 ;
876 + sp:arg2 <http://www.epim.no/schemas/mprml/1#FSK_unknown>
877 + ] ;
878 + sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#FluidSampling> ;
879 + sp:arg3 <http://www.reportinghub.no/ep/schema/production-activity#FluidSampling>
880 + ]
881 + ]
882 + ]
883 + ]
884 + ]
885 + ]
886 + ]
887 + ]
888 + ]
889 + ]
890 + ] ;
891 + sp:variable _:b1
892 + ])
893 + ] .
894 +
803 ep-mpr-spin-lib:selectFrequencyScale 895 ep-mpr-spin-lib:selectFrequencyScale
804 rdf:type spin:Function ; 896 rdf:type spin:Function ;
805 rdfs:subClassOf ep-mpr-spin-lib:Function ; 897 rdfs:subClassOf ep-mpr-spin-lib:Function ;
...@@ -2840,6 +2932,160 @@ ep-mpr-spin-lib:selectProductType ...@@ -2840,6 +2932,160 @@ ep-mpr-spin-lib:selectProductType
2840 ]) 2932 ])
2841 ] . 2933 ] .
2842 2934
2935 +ep-mpr-spin-lib:selectProductVolumeReportPeriodType
2936 + rdf:type spin:Function ;
2937 + rdfs:label "select ProductVolumeReportPeriodType"^^xsd:string ;
2938 + rdfs:subClassOf ep-mpr-spin-lib:Function ;
2939 + spin:body
2940 + [ rdf:type sp:Select ;
2941 + sp:resultVariables (_:b2) ;
2942 + sp:where ([ rdf:type sp:Bind ;
2943 + sp:expression
2944 + [ rdf:type sp:if ;
2945 + sp:arg1 [ rdf:type sp:eq ;
2946 + sp:arg1 spin:_arg1 ;
2947 + sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_0600>
2948 + ] ;
2949 + sp:arg2 <http://www.reportinghub.no/ep/schema/production-report#ProductVolumeReportForInstant> ;
2950 + sp:arg3 [ rdf:type sp:if ;
2951 + sp:arg1 [ rdf:type sp:eq ;
2952 + sp:arg1 spin:_arg1 ;
2953 + sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_dailymonthtodate>
2954 + ] ;
2955 + sp:arg2 <http://www.reportinghub.no/ep/schema/production-report#ProductVolumeReportMonthToDate> ;
2956 + sp:arg3 [ rdf:type sp:if ;
2957 + sp:arg1 [ rdf:type sp:eq ;
2958 + sp:arg1 spin:_arg1 ;
2959 + sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_dailyyeartodate>
2960 + ] ;
2961 + sp:arg2 <http://www.reportinghub.no/ep/schema/production-report#ProductVolumeReportYearToDate> ;
2962 + sp:arg3 [ rdf:type sp:if ;
2963 + sp:arg1 [ rdf:type sp:eq ;
2964 + sp:arg1 spin:_arg1 ;
2965 + sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_day>
2966 + ] ;
2967 + sp:arg2 <http://www.reportinghub.no/ep/schema/production-report#DailyProductVolumeReport> ;
2968 + sp:arg3 [ rdf:type sp:if ;
2969 + sp:arg1 [ rdf:type sp:eq ;
2970 + sp:arg1 spin:_arg1 ;
2971 + sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_gasday>
2972 + ] ;
2973 + sp:arg2 <http://www.reportinghub.no/ep/schema/production-report#DailyProductVolumeReport> ;
2974 + sp:arg3 [ rdf:type sp:if ;
2975 + sp:arg1 [ rdf:type sp:eq ;
2976 + sp:arg1 spin:_arg1 ;
2977 + sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_gasmonth>
2978 + ] ;
2979 + sp:arg2 <http://www.reportinghub.no/ep/schema/production-report#MonthlyProductVolumeReport> ;
2980 + sp:arg3 [ rdf:type sp:if ;
2981 + sp:arg1 [ rdf:type sp:eq ;
2982 + sp:arg1 spin:_arg1 ;
2983 + sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_gasyear>
2984 + ] ;
2985 + sp:arg2 <http://www.reportinghub.no/ep/schema/production-report#YearlyProductVolumeReport> ;
2986 + sp:arg3 [ rdf:type sp:if ;
2987 + sp:arg1 [ rdf:type sp:eq ;
2988 + sp:arg1 spin:_arg1 ;
2989 + sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_gasyeartodate>
2990 + ] ;
2991 + sp:arg2 <http://www.reportinghub.no/ep/schema/production-report#ProductVolumeReportYearToDate> ;
2992 + sp:arg3 [ rdf:type sp:if ;
2993 + sp:arg1 [ rdf:type sp:eq ;
2994 + sp:arg1 spin:_arg1 ;
2995 + sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_midnight>
2996 + ] ;
2997 + sp:arg2 <http://www.reportinghub.no/ep/schema/production-report#ProductVolumeReportForInstant> ;
2998 + sp:arg3 [ rdf:type sp:if ;
2999 + sp:arg1 [ rdf:type sp:eq ;
3000 + sp:arg1 spin:_arg1 ;
3001 + sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_month>
3002 + ] ;
3003 + sp:arg2 <http://www.reportinghub.no/ep/schema/production-report#MonthlyProductVolumeReport> ;
3004 + sp:arg3 [ rdf:type sp:if ;
3005 + sp:arg1 [ rdf:type sp:eq ;
3006 + sp:arg1 spin:_arg1 ;
3007 + sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_monthtodate>
3008 + ] ;
3009 + sp:arg2 <http://www.reportinghub.no/ep/schema/production-report#ProductVolumeReportMonthToDate> ;
3010 + sp:arg3 [ rdf:type sp:if ;
3011 + sp:arg1 [ rdf:type sp:eq ;
3012 + sp:arg1 spin:_arg1 ;
3013 + sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_noon>
3014 + ] ;
3015 + sp:arg2 <http://www.reportinghub.no/ep/schema/production-report#ProductVolumeReportForInstant> ;
3016 + sp:arg3 [ rdf:type sp:if ;
3017 + sp:arg1 [ rdf:type sp:eq ;
3018 + sp:arg1 spin:_arg1 ;
3019 + sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_previousperiod>
3020 + ] ;
3021 + sp:arg2 <http://www.reportinghub.no/ep/schema/production-report#ProductVolumeReport> ;
3022 + sp:arg3 [ rdf:type sp:if ;
3023 + sp:arg1 [ rdf:type sp:eq ;
3024 + sp:arg1 spin:_arg1 ;
3025 + sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_report>
3026 + ] ;
3027 + sp:arg2 <http://www.reportinghub.no/ep/schema/production-report#ProductVolumeReport> ;
3028 + sp:arg3 [ rdf:type sp:if ;
3029 + sp:arg1 [ rdf:type sp:eq ;
3030 + sp:arg1 spin:_arg1 ;
3031 + sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_reportend>
3032 + ] ;
3033 + sp:arg2 <http://www.reportinghub.no/ep/schema/production-report#ProductVolumeReportForInstant> ;
3034 + sp:arg3 [ rdf:type sp:if ;
3035 + sp:arg1 [ rdf:type sp:eq ;
3036 + sp:arg1 spin:_arg1 ;
3037 + sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_reportstart>
3038 + ] ;
3039 + sp:arg2 <http://www.reportinghub.no/ep/schema/production-report#ProductVolumeReportForInstant> ;
3040 + sp:arg3 [ rdf:type sp:if ;
3041 + sp:arg1 [ rdf:type sp:eq ;
3042 + sp:arg1 spin:_arg1 ;
3043 + sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_totalcumulative>
3044 + ] ;
3045 + sp:arg2 <http://www.reportinghub.no/ep/schema/production-report#ProductVolumeReport> ;
3046 + sp:arg3 [ rdf:type sp:if ;
3047 + sp:arg1 [ rdf:type sp:eq ;
3048 + sp:arg1 spin:_arg1 ;
3049 + sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_week>
3050 + ] ;
3051 + sp:arg2 <http://www.reportinghub.no/ep/schema/production-report#WeeklyProductVolumeReport> ;
3052 + sp:arg3 [ rdf:type sp:if ;
3053 + sp:arg1 [ rdf:type sp:eq ;
3054 + sp:arg1 spin:_arg1 ;
3055 + sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_year>
3056 + ] ;
3057 + sp:arg2 <http://www.reportinghub.no/ep/schema/production-report#YearlyProductVolumeReport> ;
3058 + sp:arg3 [ rdf:type sp:if ;
3059 + sp:arg1 [ rdf:type sp:eq ;
3060 + sp:arg1 spin:_arg1 ;
3061 + sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_yeartodate>
3062 + ] ;
3063 + sp:arg2 <http://www.reportinghub.no/ep/schema/production-report#ProductVolumeReportYearToDate> ;
3064 + sp:arg3 <http://www.reportinghub.no/ep/schema/production-report#ProductVolumeReport>
3065 + ]
3066 + ]
3067 + ]
3068 + ]
3069 + ]
3070 + ]
3071 + ]
3072 + ]
3073 + ]
3074 + ]
3075 + ]
3076 + ]
3077 + ]
3078 + ]
3079 + ]
3080 + ]
3081 + ]
3082 + ]
3083 + ]
3084 + ] ;
3085 + sp:variable _:b2
3086 + ])
3087 + ] .
3088 +
2843 ep-mpr-spin-lib:selectProductionFacilityType 3089 ep-mpr-spin-lib:selectProductionFacilityType
2844 rdf:type spin:Function ; 3090 rdf:type spin:Function ;
2845 rdfs:label "select ProductionFacilityType"^^xsd:string ; 3091 rdfs:label "select ProductionFacilityType"^^xsd:string ;
...@@ -5219,3 +5465,7 @@ ep-mpr-spin-lib:selectWorkScale ...@@ -5219,3 +5465,7 @@ ep-mpr-spin-lib:selectWorkScale
5219 ] 5465 ]
5220 ]) 5466 ])
5221 ] . 5467 ] .
5468 +
5469 +_:b2 sp:varName "productVolumeReportPeriodType"^^xsd:string .
5470 +
5471 +_:b1 sp:varName "fluidSamplingType"^^xsd:string .
......
1 +# Saved by TopBraid on Mon Dec 19 18:38:19 GMT 2011
1 # baseURI: null 2 # baseURI: null
2 3
3 @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . 4 @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......
1 +# Saved by TopBraid on Mon Dec 19 20:37:48 GMT 2011
2 +# baseURI: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-fluidSample-v1.0
3 +# imports: http://www.reportinghub.no/ep/dpr/spin/1.1/lib
4 +# imports: http://www.epim.no/schemas/mprml/1
5 +# imports: http://spinrdf.org/spin
6 +# imports: http://www.reportinghub.no/ep/mpr/spin/1.1/lib
7 +
8 +@prefix : <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-fluidSample-v1.0#> .
9 +@prefix arg: <http://spinrdf.org/arg#> .
10 +@prefix ep-dpr-spin-lib: <http://www.reportinghub.no/ep/dpr/spin/1.1/lib#> .
11 +@prefix ep-mpr-spin-lib: <http://www.reportinghub.no/ep/mpr/spin/1.1/lib#> .
12 +@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> .
13 +@prefix fn: <http://www.w3.org/2005/xpath-functions#> .
14 +@prefix owl: <http://www.w3.org/2002/07/owl#> .
15 +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
16 +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
17 +@prefix rhspin: <http://www.reportinghub.no/spin/rh#> .
18 +@prefix sp: <http://spinrdf.org/sp#> .
19 +@prefix spin: <http://spinrdf.org/spin#> .
20 +@prefix spl: <http://spinrdf.org/spl#> .
21 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
22 +
23 +<http://www.epim.no/schemas/mprml/1#A_Global-Objects>
24 + spin:rule
25 + [ rdf:type sp:Construct ;
26 + rdfs:comment """STEP 40003 Create the Sample of fluid.
27 +The sample is anonymous. It is matched to its results via the sample name, which is assumed to be unique within the file."""^^xsd:string ;
28 + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/well#Fluid> ;
29 + sp:predicate rdf:type ;
30 + sp:subject _:b1
31 + ] [ sp:object _:b2 ;
32 + sp:predicate rdfs:label ;
33 + sp:subject _:b1
34 + ] [ sp:object _:b1 ;
35 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#sampledFluid> ;
36 + sp:subject _:b3
37 + ]) ;
38 + sp:where ([ sp:object _:b4 ;
39 + sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
40 + sp:subject spin:_this
41 + ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_fluidSample> ;
42 + sp:predicate rdf:type ;
43 + sp:subject _:b4
44 + ] [ sp:object _:b4 ;
45 + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
46 + sp:subject _:b3
47 + ] [ sp:object _:b2 ;
48 + sp:predicate <http://www.epim.no/schemas/mprml/1#name> ;
49 + sp:subject _:b4
50 + ])
51 + ] ;
52 + spin:rule
53 + [ rdf:type sp:Construct ;
54 + rdfs:comment """STEP 40002c Create the Facility where the sampling takes place - the same approach to identification of the facility is used as for product volume.
55 +kind is not \"well\" and facilityParent1 is not supplied"""^^xsd:string ;
56 + sp:templates ([ sp:object _:b5 ;
57 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#samplingPerformedAt> ;
58 + sp:subject _:b6
59 + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#Facility> ;
60 + sp:predicate rdf:type ;
61 + sp:subject _:b5
62 + ] [ sp:object _:b7 ;
63 + sp:predicate rdfs:label ;
64 + sp:subject _:b5
65 + ] [ sp:object _:b8 ;
66 + sp:predicate rdf:type ;
67 + sp:subject _:b5
68 + ] [ sp:object _:b7 ;
69 + sp:predicate rdfs:label ;
70 + sp:subject _:b9
71 + ]) ;
72 + sp:where ([ sp:object _:b10 ;
73 + sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
74 + sp:subject spin:_this
75 + ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_fluidSample> ;
76 + sp:predicate rdf:type ;
77 + sp:subject _:b10
78 + ] [ sp:object _:b10 ;
79 + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
80 + sp:subject _:b6
81 + ] [ sp:object _:b9 ;
82 + sp:predicate <http://www.epim.no/schemas/mprml/1#facilityRef> ;
83 + sp:subject _:b10
84 + ] [ sp:object _:b11 ;
85 + sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ;
86 + sp:subject _:b9
87 + ] [ sp:object _:b12 ;
88 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
89 + sp:subject _:b11
90 + ] [ sp:object _:b13 ;
91 + sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
92 + sp:subject _:b11
93 + ] [ rdf:type sp:NotExists ;
94 + sp:elements ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_well> ;
95 + sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
96 + sp:subject _:b11
97 + ])
98 + ] [ sp:object _:b14 ;
99 + sp:predicate <http://www.epim.no/schemas/mprml/1#facilityParent1Ref> ;
100 + sp:subject _:b10
101 + ] [ sp:object _:b15 ;
102 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
103 + sp:subject _:b14
104 + ] [ rdf:type sp:NotExists ;
105 + sp:elements ([ sp:object
106 + [ sp:varName "facilityParent2Ref"^^xsd:string
107 + ] ;
108 + sp:predicate <http://www.epim.no/schemas/mprml/1#facilityParent2Ref> ;
109 + sp:subject _:b10
110 + ])
111 + ] [ rdf:type sp:Bind ;
112 + sp:expression
113 + [ rdf:type ep-spin-lib:normalizeString ;
114 + sp:arg1 _:b12
115 + ] ;
116 + sp:variable _:b16
117 + ] [ rdf:type sp:Bind ;
118 + sp:expression
119 + [ rdf:type ep-spin-lib:normalizeString ;
120 + sp:arg1 _:b15
121 + ] ;
122 + sp:variable _:b17
123 + ] [ rdf:type sp:Bind ;
124 + sp:expression
125 + [ rdf:type fn:concat ;
126 + sp:arg1 _:b17 ;
127 + sp:arg2 "$" ;
128 + sp:arg3 _:b16
129 + ] ;
130 + sp:variable _:b7
131 + ] [ rdf:type sp:Bind ;
132 + sp:expression
133 + [ rdf:type ep-dpr-spin-lib:buildProductionFacilityURI ;
134 + sp:arg1 _:b7
135 + ] ;
136 + sp:variable _:b5
137 + ] [ rdf:type sp:Bind ;
138 + sp:expression
139 + [ rdf:type ep-mpr-spin-lib:selectProductionFacilityType ;
140 + sp:arg1 _:b13
141 + ] ;
142 + sp:variable _:b8
143 + ])
144 + ] ;
145 + spin:rule
146 + [ rdf:type sp:Construct ;
147 + rdfs:comment """STEP 40002b Create the Facility where the sampling takes place - the same approach to identification of the facility is used as for product volume.
148 +kind is not \"well\" and facilityParent1 is not supplied"""^^xsd:string ;
149 + sp:templates ([ sp:object _:b18 ;
150 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#samplingPerformedAt> ;
151 + sp:subject _:b19
152 + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#Facility> ;
153 + sp:predicate rdf:type ;
154 + sp:subject _:b18
155 + ] [ sp:object _:b20 ;
156 + sp:predicate rdfs:label ;
157 + sp:subject _:b18
158 + ] [ sp:object _:b21 ;
159 + sp:predicate rdf:type ;
160 + sp:subject _:b18
161 + ] [ sp:object _:b20 ;
162 + sp:predicate rdfs:label ;
163 + sp:subject _:b22
164 + ]) ;
165 + sp:where ([ sp:object _:b23 ;
166 + sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
167 + sp:subject spin:_this
168 + ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_fluidSample> ;
169 + sp:predicate rdf:type ;
170 + sp:subject _:b23
171 + ] [ sp:object _:b23 ;
172 + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
173 + sp:subject _:b19
174 + ] [ sp:object _:b22 ;
175 + sp:predicate <http://www.epim.no/schemas/mprml/1#facilityRef> ;
176 + sp:subject _:b23
177 + ] [ sp:object _:b24 ;
178 + sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ;
179 + sp:subject _:b22
180 + ] [ sp:object _:b25 ;
181 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
182 + sp:subject _:b24
183 + ] [ sp:object _:b26 ;
184 + sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
185 + sp:subject _:b24
186 + ] [ rdf:type sp:NotExists ;
187 + sp:elements ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_well> ;
188 + sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
189 + sp:subject _:b24
190 + ])
191 + ] [ rdf:type sp:NotExists ;
192 + sp:elements ([ sp:object
193 + [ sp:varName "facilityParent1Ref"^^xsd:string
194 + ] ;
195 + sp:predicate <http://www.epim.no/schemas/mprml/1#facilityParent1Ref> ;
196 + sp:subject _:b23
197 + ])
198 + ] [ rdf:type sp:Bind ;
199 + sp:expression
200 + [ rdf:type ep-spin-lib:normalizeString ;
201 + sp:arg1 _:b25
202 + ] ;
203 + sp:variable _:b20
204 + ] [ rdf:type sp:Bind ;
205 + sp:expression
206 + [ rdf:type ep-dpr-spin-lib:buildProductionFacilityURI ;
207 + sp:arg1 _:b20
208 + ] ;
209 + sp:variable _:b18
210 + ] [ rdf:type sp:Bind ;
211 + sp:expression
212 + [ rdf:type ep-mpr-spin-lib:selectProductionFacilityType ;
213 + sp:arg1 _:b26
214 + ] ;
215 + sp:variable _:b21
216 + ])
217 + ] ;
218 + spin:rule
219 + [ rdf:type sp:Construct ;
220 + rdfs:comment """STEP 40002a Create the Facility where the sampling takes place - the same approach to identification of the facility is used as for product volume.
221 +kind is \"well\" and facilityAlias is supplied"""^^xsd:string ;
222 + sp:templates ([ sp:object _:b27 ;
223 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#samplingPerformedAt> ;
224 + sp:subject _:b28
225 + ] [ sp:object _:b29 ;
226 + sp:predicate rdfs:label ;
227 + sp:subject _:b30
228 + ]) ;
229 + sp:where ([ sp:object _:b31 ;
230 + sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
231 + sp:subject spin:_this
232 + ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_fluidSample> ;
233 + sp:predicate rdf:type ;
234 + sp:subject _:b31
235 + ] [ sp:object _:b31 ;
236 + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
237 + sp:subject _:b28
238 + ] [ sp:object _:b30 ;
239 + sp:predicate <http://www.epim.no/schemas/mprml/1#facilityRef> ;
240 + sp:subject _:b31
241 + ] [ sp:object _:b32 ;
242 + sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ;
243 + sp:subject _:b30
244 + ] [ sp:object <http://www.epim.no/schemas/mprml/1#RF_well> ;
245 + sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
246 + sp:subject _:b32
247 + ] [ sp:object _:b33 ;
248 + sp:predicate <http://www.epim.no/schemas/mprml/1#facilityAliasRef> ;
249 + sp:subject _:b31
250 + ] [ sp:object _:b34 ;
251 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
252 + sp:subject _:b33
253 + ] [ rdf:type sp:Bind ;
254 + sp:expression
255 + [ rdf:type ep-spin-lib:normalizeString ;
256 + sp:arg1 _:b34
257 + ] ;
258 + sp:variable _:b29
259 + ] [ rdf:type sp:Bind ;
260 + sp:expression
261 + [ rdf:type rhspin:wellByName ;
262 + arg:wellName _:b34
263 + ] ;
264 + sp:variable _:b27
265 + ])
266 + ] ;
267 + spin:rule
268 + [ rdf:type sp:Construct ;
269 + rdfs:comment "STEP 40001 Create the FluidSampleReport, FluidSampling activity and FluidSample object ."^^xsd:string ;
270 + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-report#FluidSampleReport> ;
271 + sp:predicate rdf:type ;
272 + sp:subject _:b35
273 + ] [ sp:object _:b36 ;
274 + sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
275 + sp:subject _:b35
276 + ] [ sp:object _:b37 ;
277 + sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
278 + sp:subject _:b35
279 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#FluidSampling> ;
280 + sp:predicate rdf:type ;
281 + sp:subject _:b37
282 + ] [ sp:object _:b38 ;
283 + sp:predicate rdf:type ;
284 + sp:subject _:b37
285 + ] [ sp:object _:b39 ;
286 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#nominallyAt> ;
287 + sp:subject _:b37
288 + ] [ sp:object _:b40 ;
289 + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
290 + sp:subject _:b37
291 + ]) ;
292 + sp:where ([ sp:object spin:_this ;
293 + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
294 + sp:subject _:b36
295 + ] [ sp:object _:b40 ;
296 + sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
297 + sp:subject spin:_this
298 + ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_fluidSample> ;
299 + sp:predicate rdf:type ;
300 + sp:subject _:b40
301 + ] [ rdf:type sp:Optional ;
302 + sp:elements ([ sp:object _:b39 ;
303 + sp:predicate <http://www.epim.no/schemas/mprml/1#acquisitionDate> ;
304 + sp:subject _:b40
305 + ])
306 + ] [ rdf:type sp:Optional ;
307 + sp:elements ([ sp:object _:b41 ;
308 + sp:predicate <http://www.epim.no/schemas/mprml/1#sampleTypeRef> ;
309 + sp:subject _:b40
310 + ])
311 + ] [ rdf:type sp:Bind ;
312 + sp:expression
313 + [ rdf:type ep-mpr-spin-lib:selectFluidSamplingType ;
314 + sp:arg1 _:b41
315 + ] ;
316 + sp:variable _:b38
317 + ])
318 + ] ;
319 + spin:rule
320 + [ rdf:type sp:Construct ;
321 + rdfs:comment """STEP 40002d Create the Facility where the sampling takes place - the same approach to identification of the facility is used as for product volume.
322 +kind is not \"well\" and facilityParent1 is not supplied"""^^xsd:string ;
323 + sp:templates ([ sp:object _:b42 ;
324 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#samplingPerformedAt> ;
325 + sp:subject _:b43
326 + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#Facility> ;
327 + sp:predicate rdf:type ;
328 + sp:subject _:b42
329 + ] [ sp:object _:b44 ;
330 + sp:predicate rdfs:label ;
331 + sp:subject _:b42
332 + ] [ sp:object _:b45 ;
333 + sp:predicate rdf:type ;
334 + sp:subject _:b42
335 + ] [ sp:object _:b44 ;
336 + sp:predicate rdfs:label ;
337 + sp:subject _:b46
338 + ]) ;
339 + sp:where ([ sp:object _:b47 ;
340 + sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
341 + sp:subject spin:_this
342 + ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_fluidSample> ;
343 + sp:predicate rdf:type ;
344 + sp:subject _:b47
345 + ] [ sp:object _:b47 ;
346 + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
347 + sp:subject _:b43
348 + ] [ sp:object _:b46 ;
349 + sp:predicate <http://www.epim.no/schemas/mprml/1#facilityRef> ;
350 + sp:subject _:b47
351 + ] [ sp:object _:b48 ;
352 + sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ;
353 + sp:subject _:b46
354 + ] [ sp:object _:b49 ;
355 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
356 + sp:subject _:b48
357 + ] [ sp:object _:b50 ;
358 + sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
359 + sp:subject _:b48
360 + ] [ rdf:type sp:NotExists ;
361 + sp:elements ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_well> ;
362 + sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
363 + sp:subject _:b48
364 + ])
365 + ] [ sp:object _:b51 ;
366 + sp:predicate <http://www.epim.no/schemas/mprml/1#facilityParent1Ref> ;
367 + sp:subject _:b47
368 + ] [ sp:object _:b52 ;
369 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
370 + sp:subject _:b51
371 + ] [ sp:object _:b53 ;
372 + sp:predicate <http://www.epim.no/schemas/mprml/1#facilityParent2Ref> ;
373 + sp:subject _:b47
374 + ] [ sp:object _:b54 ;
375 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
376 + sp:subject _:b53
377 + ] [ rdf:type sp:Bind ;
378 + sp:expression
379 + [ rdf:type ep-spin-lib:normalizeString ;
380 + sp:arg1 _:b49
381 + ] ;
382 + sp:variable _:b55
383 + ] [ rdf:type sp:Bind ;
384 + sp:expression
385 + [ rdf:type ep-spin-lib:normalizeString ;
386 + sp:arg1 _:b52
387 + ] ;
388 + sp:variable _:b56
389 + ] [ rdf:type sp:Bind ;
390 + sp:expression
391 + [ rdf:type ep-spin-lib:normalizeString ;
392 + sp:arg1 _:b54
393 + ] ;
394 + sp:variable
395 + [ sp:varName "normalizedFacilityParent2Name"^^xsd:string
396 + ]
397 + ] [ rdf:type sp:Bind ;
398 + sp:expression
399 + [ rdf:type fn:concat ;
400 + sp:arg1 _:b56 ;
401 + sp:arg2 "$" ;
402 + sp:arg3 _:b56 ;
403 + sp:arg4 "$" ;
404 + sp:arg5 _:b55
405 + ] ;
406 + sp:variable _:b44
407 + ] [ rdf:type sp:Bind ;
408 + sp:expression
409 + [ rdf:type ep-dpr-spin-lib:buildProductionFacilityURI ;
410 + sp:arg1 _:b44
411 + ] ;
412 + sp:variable _:b42
413 + ] [ rdf:type sp:Bind ;
414 + sp:expression
415 + [ rdf:type ep-mpr-spin-lib:selectProductionFacilityType ;
416 + sp:arg1 _:b50
417 + ] ;
418 + sp:variable _:b45
419 + ])
420 + ] .
421 +
422 +<http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-fluidSample-v1.0>
423 + rdf:type owl:Ontology ;
424 + owl:imports <http://www.reportinghub.no/ep/mpr/spin/1.1/lib> , <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> , <http://spinrdf.org/spin> , <http://www.epim.no/schemas/mprml/1> ;
425 + owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
426 +
427 +_:b31
428 + sp:varName "fluidSampleRef"^^xsd:string .
429 +
430 +_:b28
431 + sp:varName "fluidSampling"^^xsd:string .
432 +
433 +_:b30
434 + sp:varName "facilityRef"^^xsd:string .
435 +
436 +_:b32
437 + sp:varName "facilityNameRef"^^xsd:string .
438 +
439 +_:b33
440 + sp:varName "facilityAliasRef"^^xsd:string .
441 +
442 +_:b34
443 + sp:varName "facilityAlias"^^xsd:string .
444 +
445 +_:b29
446 + sp:varName "normalizedFacilityAlias"^^xsd:string .
447 +
448 +_:b27
449 + sp:varName "facility"^^xsd:string .
450 +
451 +_:b23
452 + sp:varName "fluidSampleRef"^^xsd:string .
453 +
454 +_:b19
455 + sp:varName "fluidSampling"^^xsd:string .
456 +
457 +_:b22
458 + sp:varName "facilityRef"^^xsd:string .
459 +
460 +_:b24
461 + sp:varName "facilityNameRef"^^xsd:string .
462 +
463 +_:b25
464 + sp:varName "facilityName"^^xsd:string .
465 +
466 +_:b26
467 + sp:varName "facilityKind"^^xsd:string .
468 +
469 +_:b20
470 + sp:varName "normalizedFacilityName"^^xsd:string .
471 +
472 +_:b18
473 + sp:varName "facility"^^xsd:string .
474 +
475 +_:b21
476 + sp:varName "facilityType"^^xsd:string .
477 +
478 +_:b10
479 + sp:varName "fluidSampleRef"^^xsd:string .
480 +
481 +_:b6 sp:varName "fluidSampling"^^xsd:string .
482 +
483 +_:b9 sp:varName "facilityRef"^^xsd:string .
484 +
485 +_:b11
486 + sp:varName "facilityNameRef"^^xsd:string .
487 +
488 +_:b12
489 + sp:varName "facilityChildName"^^xsd:string .
490 +
491 +_:b13
492 + sp:varName "facilityKind"^^xsd:string .
493 +
494 +_:b14
495 + sp:varName "facilityParent1Ref"^^xsd:string .
496 +
497 +_:b15
498 + sp:varName "facilityParent1Name"^^xsd:string .
499 +
500 +_:b16
501 + sp:varName "normalizedFacilityChildName"^^xsd:string .
502 +
503 +_:b17
504 + sp:varName "normalizedFacilityParent1Name"^^xsd:string .
505 +
506 +_:b7 sp:varName "normalizedFacilityName"^^xsd:string .
507 +
508 +_:b5 sp:varName "facility"^^xsd:string .
509 +
510 +_:b8 sp:varName "facilityType"^^xsd:string .
511 +
512 +_:b47
513 + sp:varName "fluidSampleRef"^^xsd:string .
514 +
515 +_:b43
516 + sp:varName "fluidSampling"^^xsd:string .
517 +
518 +_:b46
519 + sp:varName "facilityRef"^^xsd:string .
520 +
521 +_:b48
522 + sp:varName "facilityNameRef"^^xsd:string .
523 +
524 +_:b49
525 + sp:varName "facilityChildName"^^xsd:string .
526 +
527 +_:b50
528 + sp:varName "facilityKind"^^xsd:string .
529 +
530 +_:b51
531 + sp:varName "facilityParent1Ref"^^xsd:string .
532 +
533 +_:b52
534 + sp:varName "facilityParent1Name"^^xsd:string .
535 +
536 +_:b53
537 + sp:varName "facilityParent2Ref"^^xsd:string .
538 +
539 +_:b54
540 + sp:varName "facilityParent2Name"^^xsd:string .
541 +
542 +_:b55
543 + sp:varName "normalizedFacilityChildName"^^xsd:string .
544 +
545 +_:b56
546 + sp:varName "normalizedFacilityParent1Name"^^xsd:string .
547 +
548 +_:b44
549 + sp:varName "normalizedFacilityName"^^xsd:string .
550 +
551 +_:b42
552 + sp:varName "facility"^^xsd:string .
553 +
554 +_:b45
555 + sp:varName "facilityType"^^xsd:string .
556 +
557 +_:b36
558 + sp:varName "productionReport"^^xsd:string .
559 +
560 +_:b40
561 + sp:varName "fluidSampleRef"^^xsd:string .
562 +
563 +_:b39
564 + sp:varName "acquisitionDate"^^xsd:string .
565 +
566 +_:b41
567 + sp:varName "sampleTypeRef"^^xsd:string .
568 +
569 +_:b38
570 + sp:varName "fluidSamplingType"^^xsd:string .
571 +
572 +_:b4 sp:varName "fluidSampleRef"^^xsd:string .
573 +
574 +_:b3 sp:varName "fluidSampling"^^xsd:string .
575 +
576 +_:b2 sp:varName "name"^^xsd:string .
1 -# Saved by TopBraid on Sun Dec 18 21:07:10 GMT 2011 1 +# Saved by TopBraid on Mon Dec 19 20:23:39 GMT 2011
2 # baseURI: null 2 # baseURI: null
3 3
4 @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . 4 @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......
1 +# Saved by TopBraid on Mon Dec 19 16:28:11 GMT 2011
1 # baseURI: null 2 # baseURI: null
2 3
3 @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . 4 @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......
1 <?xml version="1.0" encoding="UTF-8"?> 1 <?xml version="1.0" encoding="UTF-8"?>
2 -<?xml-stylesheet type="text/xsl" href="H:\trym\TOOLS\TRANSFORMATIONS\PRODMLMPRTOHTMLREPORT.xsl"?> 2 +<!-- <?xml-stylesheet type="text/xsl" href="H:\trym\TOOLS\TRANSFORMATIONS\PRODMLMPRTOHTMLREPORT.xsl"?> -->
3 -<objects version="1.0.0.0(PRODML)" xmlns="http://www.witsml.org/schemas/131" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.witsml.org/schemas/131 3 +<objects version="1.0.0.0(PRODML)" xmlns="http://www.epim.no/schemas/mprml/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4 -H:\EPIM\MPR\EC_MPR_SCHEMAS\MPR_SCHEMA\obj_object_profiled_data_schema.xsd">
5 <context xsi:type="obj_report"> 4 <context xsi:type="obj_report">
6 <kind>Monthly production report Trym</kind> 5 <kind>Monthly production report Trym</kind>
7 <title>Monthly production report Trym Oktober 2010</title> 6 <title>Monthly production report Trym Oktober 2010</title>
......