First work on MPR Fluid sample transform + minor fixes elsewhere
Showing
12 changed files
with
1633 additions
and
722 deletions
| 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 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 . |
This diff could not be displayed because it is too large.
| 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:10 GMT 2011 | ||
| 1 | # baseURI: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeReport-v1.0 | 2 | # baseURI: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeReport-v1.0 |
| 2 | -# imports: http://spinrdf.org/spin | ||
| 3 | -# imports: http://www.epim.no/schemas/mprml/1 | ||
| 4 | # imports: http://www.reportinghub.no/ep/dpr/spin/1.1/lib | 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 | ||
| 5 | 7 | ||
| 6 | @prefix : <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeReport-v1.0#> . | 8 | @prefix : <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeReport-v1.0#> . |
| 7 | @prefix arg: <http://spinrdf.org/arg#> . | 9 | @prefix arg: <http://spinrdf.org/arg#> . |
| ... | @@ -20,101 +22,37 @@ | ... | @@ -20,101 +22,37 @@ |
| 20 | <http://www.epim.no/schemas/mprml/1#A_Global-Objects> | 22 | <http://www.epim.no/schemas/mprml/1#A_Global-Objects> |
| 21 | spin:rule | 23 | spin:rule |
| 22 | [ rdf:type sp:Construct ; | 24 | [ rdf:type sp:Construct ; |
| 23 | - rdfs:comment "STEP 20007c Set the geographic context - state"^^xsd:string ; | 25 | + rdfs:comment "STEP 20004b Set the context facility - installation does not exist"^^xsd:string ; |
| 24 | - sp:templates ([ sp:object | 26 | + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ; |
| 25 | - [ sp:varName "state"^^xsd:string | ||
| 26 | - ] ; | ||
| 27 | - sp:predicate <http://www.reportinghub.no/ep/schema/geography#locatedWithin> ; | ||
| 28 | - sp:subject | ||
| 29 | - [ sp:varName "locationOfProductionFacility"^^xsd:string | ||
| 30 | - ] | ||
| 31 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/geography#State> ; | ||
| 32 | sp:predicate rdf:type ; | 27 | sp:predicate rdf:type ; |
| 33 | - sp:subject | 28 | + sp:subject _:b1 |
| 34 | - [ sp:varName "state"^^xsd:string | 29 | + ] [ sp:object _:b2 ; |
| 35 | - ] | 30 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; |
| 36 | - ] [ sp:object | 31 | + sp:subject _:b1 |
| 37 | - [ sp:varName "stateName"^^xsd:string | 32 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ; |
| 38 | - ] ; | ||
| 39 | - sp:predicate rdfs:label ; | ||
| 40 | - sp:subject | ||
| 41 | - [ sp:varName "state"^^xsd:string | ||
| 42 | - ] | ||
| 43 | - ]) ; | ||
| 44 | - sp:where ([ sp:object | ||
| 45 | - [ sp:varName "productVolumeRef"^^xsd:string | ||
| 46 | - ] ; | ||
| 47 | - sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; | ||
| 48 | - sp:subject spin:_this | ||
| 49 | - ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productVolume> ; | ||
| 50 | sp:predicate rdf:type ; | 33 | sp:predicate rdf:type ; |
| 51 | - sp:subject | 34 | + sp:subject _:b2 |
| 52 | - [ sp:varName "productVolumeRef"^^xsd:string | ||
| 53 | - ] | ||
| 54 | - ] [ sp:object | ||
| 55 | - [ sp:varName "geographicContextRef"^^xsd:string | ||
| 56 | - ] ; | ||
| 57 | - sp:predicate <http://www.epim.no/schemas/mprml/1#geographicContextRef> ; | ||
| 58 | - sp:subject | ||
| 59 | - [ sp:varName "productVolumeRef"^^xsd:string | ||
| 60 | - ] | ||
| 61 | - ] [ sp:object | ||
| 62 | - [ sp:varName "stateName"^^xsd:string | ||
| 63 | - ] ; | ||
| 64 | - sp:predicate <http://www.epim.no/schemas/mprml/1#state> ; | ||
| 65 | - sp:subject | ||
| 66 | - [ sp:varName "geographicContextRef"^^xsd:string | ||
| 67 | - ] | ||
| 68 | ] [ sp:object | 35 | ] [ sp:object |
| 69 | - [ sp:varName "geographicContextRef"^^xsd:string | 36 | + [ sp:varName "productionFlowToDate"^^xsd:string |
| 70 | - ] ; | ||
| 71 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
| 72 | - sp:subject | ||
| 73 | - [ sp:varName "locationOfProductionFacility"^^xsd:string | ||
| 74 | - ] | ||
| 75 | - ] [ rdf:type sp:Bind ; | ||
| 76 | - sp:expression | ||
| 77 | - [ rdf:type ep-spin-lib:normalizeString ; | ||
| 78 | - sp:arg1 [ sp:varName "stateName"^^xsd:string | ||
| 79 | - ] | ||
| 80 | - ] ; | ||
| 81 | - sp:variable | ||
| 82 | - [ sp:varName "normalizedStateName"^^xsd:string | ||
| 83 | - ] | ||
| 84 | - ] [ rdf:type sp:Bind ; | ||
| 85 | - sp:expression | ||
| 86 | - [ rdf:type ep-dpr-spin-lib:buildStateURI ; | ||
| 87 | - sp:arg1 [ sp:varName "normalizedStateName"^^xsd:string | ||
| 88 | - ] | ||
| 89 | - ] ; | ||
| 90 | - sp:variable | ||
| 91 | - [ sp:varName "state"^^xsd:string | ||
| 92 | - ] | ||
| 93 | - ]) | ||
| 94 | - ] ; | ||
| 95 | - spin:rule | ||
| 96 | - [ rdf:type sp:Construct ; | ||
| 97 | - rdfs:comment "STEP 20002a Record the end date-time"^^xsd:string ; | ||
| 98 | - sp:templates ([ sp:object | ||
| 99 | - [ sp:varName "dTimStart"^^xsd:string | ||
| 100 | ] ; | 37 | ] ; |
| 101 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ; | 38 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ; |
| 39 | + sp:subject _:b1 | ||
| 40 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ; | ||
| 41 | + sp:predicate rdf:type ; | ||
| 102 | sp:subject | 42 | sp:subject |
| 103 | - [ sp:varName "productionFlow"^^xsd:string | 43 | + [ sp:varName "productionContextFacility"^^xsd:string |
| 104 | ] | 44 | ] |
| 105 | ] [ sp:object | 45 | ] [ sp:object |
| 106 | - [ sp:varName "dTimEnd"^^xsd:string | 46 | + [ sp:varName "productionContextFacilityType"^^xsd:string |
| 107 | ] ; | 47 | ] ; |
| 108 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | 48 | + sp:predicate rdf:type ; |
| 109 | sp:subject | 49 | sp:subject |
| 110 | - [ sp:varName "productionFlow"^^xsd:string | 50 | + [ sp:varName "productionContextFacility"^^xsd:string |
| 111 | ] | 51 | ] |
| 112 | - ] [ sp:object | 52 | + ] [ sp:object _:b2 ; |
| 113 | - [ sp:varName "dTimEnd"^^xsd:string | 53 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ; |
| 114 | - ] ; | ||
| 115 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | ||
| 116 | sp:subject | 54 | sp:subject |
| 117 | - [ sp:varName "productionFlowToDate"^^xsd:string | 55 | + [ sp:varName "productionContextFacility"^^xsd:string |
| 118 | ] | 56 | ] |
| 119 | ]) ; | 57 | ]) ; |
| 120 | sp:where ([ sp:object | 58 | sp:where ([ sp:object |
| ... | @@ -128,19 +66,28 @@ | ... | @@ -128,19 +66,28 @@ |
| 128 | [ sp:varName "productVolumeRef"^^xsd:string | 66 | [ sp:varName "productVolumeRef"^^xsd:string |
| 129 | ] | 67 | ] |
| 130 | ] [ sp:object | 68 | ] [ sp:object |
| 131 | - [ sp:varName "dTimStart"^^xsd:string | 69 | + [ sp:varName "contextFacilityRef"^^xsd:string |
| 132 | ] ; | 70 | ] ; |
| 133 | - sp:predicate <http://www.epim.no/schemas/mprml/1#dTimStart> ; | 71 | + sp:predicate <http://www.epim.no/schemas/mprml/1#contextFacilityRef> ; |
| 134 | sp:subject | 72 | sp:subject |
| 135 | [ sp:varName "productVolumeRef"^^xsd:string | 73 | [ sp:varName "productVolumeRef"^^xsd:string |
| 136 | ] | 74 | ] |
| 137 | ] [ sp:object | 75 | ] [ sp:object |
| 138 | - [ sp:varName "dTimEnd"^^xsd:string | 76 | + [ sp:varName "contextFacilityName"^^xsd:string |
| 139 | ] ; | 77 | ] ; |
| 140 | - sp:predicate <http://www.epim.no/schemas/mprml/1#dTimEnd> ; | 78 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; |
| 141 | sp:subject | 79 | sp:subject |
| 142 | - [ sp:varName "productVolumeRef"^^xsd:string | 80 | + [ sp:varName "contextFacilityRef"^^xsd:string |
| 143 | ] | 81 | ] |
| 82 | + ] [ rdf:type sp:Optional ; | ||
| 83 | + sp:elements ([ sp:object | ||
| 84 | + [ sp:varName "contextFacilityKind"^^xsd:string | ||
| 85 | + ] ; | ||
| 86 | + sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ; | ||
| 87 | + sp:subject | ||
| 88 | + [ sp:varName "contextFacilityRef"^^xsd:string | ||
| 89 | + ] | ||
| 90 | + ]) | ||
| 144 | ] [ sp:object | 91 | ] [ sp:object |
| 145 | [ sp:varName "productVolumeRef"^^xsd:string | 92 | [ sp:varName "productVolumeRef"^^xsd:string |
| 146 | ] ; | 93 | ] ; |
| ... | @@ -155,96 +102,53 @@ | ... | @@ -155,96 +102,53 @@ |
| 155 | sp:subject | 102 | sp:subject |
| 156 | [ sp:varName "productionFlow"^^xsd:string | 103 | [ sp:varName "productionFlow"^^xsd:string |
| 157 | ] | 104 | ] |
| 158 | - ]) | 105 | + ] [ rdf:type sp:NotExists ; |
| 159 | - ] ; | 106 | + sp:elements ([ sp:object |
| 160 | - spin:rule | 107 | + [ sp:varName "productionFlowToDate"^^xsd:string |
| 161 | - [ rdf:type sp:Construct ; | 108 | + ] ; |
| 162 | - rdfs:comment "STEP 20001b Add the report kind ."^^xsd:string ; | 109 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ; |
| 163 | - sp:templates ([ sp:object | 110 | + sp:subject |
| 164 | - [ sp:varName "reportKind"^^xsd:string | 111 | + [ sp:varName "productionFacilityToDate"^^xsd:string |
| 165 | - ] ; | 112 | + ] |
| 166 | - sp:predicate rdf:type ; | 113 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ; |
| 167 | - sp:subject | 114 | + sp:predicate rdf:type ; |
| 168 | - [ sp:varName "productVolumeReport"^^xsd:string | 115 | + sp:subject |
| 169 | - ] | 116 | + [ sp:varName "productionFacilityToDate"^^xsd:string |
| 170 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/production-report#ProductionReportKind> ; | 117 | + ] |
| 171 | - sp:predicate rdf:type ; | 118 | + ] [ sp:object |
| 172 | - sp:subject | 119 | + [ sp:varName "productionFacility"^^xsd:string |
| 173 | - [ sp:varName "reportKind"^^xsd:string | 120 | + ] ; |
| 174 | - ] | 121 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; |
| 175 | - ] [ sp:object | 122 | + sp:subject |
| 176 | - [ sp:varName "kind"^^xsd:string | 123 | + [ sp:varName "productionFacilityToDate"^^xsd:string |
| 177 | - ] ; | 124 | + ] |
| 178 | - sp:predicate rdfs:label ; | 125 | + ]) |
| 179 | - sp:subject | 126 | + ] [ rdf:type sp:Bind ; |
| 180 | - [ sp:varName "reportKind"^^xsd:string | 127 | + sp:expression |
| 181 | - ] | 128 | + [ rdf:type ep-spin-lib:normalizeString ; |
| 182 | - ]) ; | 129 | + sp:arg1 [ sp:varName "contextFacilityName"^^xsd:string |
| 183 | - sp:where ([ sp:object spin:_this ; | 130 | + ] |
| 184 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
| 185 | - sp:subject | ||
| 186 | - [ sp:varName "productionReport"^^xsd:string | ||
| 187 | - ] | ||
| 188 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/production-report#ProductVolumeReport> ; | ||
| 189 | - sp:predicate rdf:type ; | ||
| 190 | - sp:subject | ||
| 191 | - [ sp:varName "productVolumeReport"^^xsd:string | ||
| 192 | - ] | ||
| 193 | - ] [ sp:object | ||
| 194 | - [ sp:varName "productionReport"^^xsd:string | ||
| 195 | - ] ; | ||
| 196 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ; | ||
| 197 | - sp:subject | ||
| 198 | - [ sp:varName "productVolumeReport"^^xsd:string | ||
| 199 | - ] | ||
| 200 | - ] [ sp:object | ||
| 201 | - [ sp:varName "productVolumeRef"^^xsd:string | ||
| 202 | - ] ; | ||
| 203 | - sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; | ||
| 204 | - sp:subject spin:_this | ||
| 205 | - ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productVolume> ; | ||
| 206 | - sp:predicate rdf:type ; | ||
| 207 | - sp:subject | ||
| 208 | - [ sp:varName "productVolumeRef"^^xsd:string | ||
| 209 | - ] | ||
| 210 | - ] [ sp:object | ||
| 211 | - [ sp:varName "nameRef"^^xsd:string | ||
| 212 | - ] ; | ||
| 213 | - sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ; | ||
| 214 | - sp:subject | ||
| 215 | - [ sp:varName "productVolumeRef"^^xsd:string | ||
| 216 | - ] | ||
| 217 | - ] [ sp:object | ||
| 218 | - [ sp:varName "name"^^xsd:string | ||
| 219 | - ] ; | ||
| 220 | - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
| 221 | - sp:subject | ||
| 222 | - [ sp:varName "nameRef"^^xsd:string | ||
| 223 | - ] | ||
| 224 | - ] [ sp:object | ||
| 225 | - [ sp:varName "kind"^^xsd:string | ||
| 226 | ] ; | 131 | ] ; |
| 227 | - sp:predicate <http://www.epim.no/schemas/mprml/1#kind> ; | 132 | + sp:variable |
| 228 | - sp:subject | 133 | + [ sp:varName "normalizedContextFacilityName"^^xsd:string |
| 229 | - [ sp:varName "productVolumeRef"^^xsd:string | ||
| 230 | ] | 134 | ] |
| 231 | ] [ rdf:type sp:Bind ; | 135 | ] [ rdf:type sp:Bind ; |
| 232 | sp:expression | 136 | sp:expression |
| 233 | - [ rdf:type ep-spin-lib:normalizeString ; | 137 | + [ rdf:type ep-dpr-spin-lib:buildProductionFacilityURI ; |
| 234 | - sp:arg1 [ sp:varName "kind"^^xsd:string | 138 | + sp:arg1 [ sp:varName "normalizedContextFacilityName"^^xsd:string |
| 235 | ] | 139 | ] |
| 236 | ] ; | 140 | ] ; |
| 237 | sp:variable | 141 | sp:variable |
| 238 | - [ sp:varName "normalizedKind"^^xsd:string | 142 | + [ sp:varName "productionContextFacility"^^xsd:string |
| 239 | ] | 143 | ] |
| 240 | ] [ rdf:type sp:Bind ; | 144 | ] [ rdf:type sp:Bind ; |
| 241 | sp:expression | 145 | sp:expression |
| 242 | - [ rdf:type ep-dpr-spin-lib:buildProductionReportKindURI ; | 146 | + [ rdf:type ep-dpr-spin-lib:selectProductionFacilityType ; |
| 243 | - sp:arg1 [ sp:varName "normalizedKind"^^xsd:string | 147 | + sp:arg1 [ sp:varName "contextFacilityKind"^^xsd:string |
| 244 | ] | 148 | ] |
| 245 | ] ; | 149 | ] ; |
| 246 | sp:variable | 150 | sp:variable |
| 247 | - [ sp:varName "reportKind"^^xsd:string | 151 | + [ sp:varName "productionContextFacilityType"^^xsd:string |
| 248 | ] | 152 | ] |
| 249 | ]) | 153 | ]) |
| 250 | ] ; | 154 | ] ; |
| ... | @@ -377,24 +281,93 @@ | ... | @@ -377,24 +281,93 @@ |
| 377 | ] ; | 281 | ] ; |
| 378 | spin:rule | 282 | spin:rule |
| 379 | [ rdf:type sp:Construct ; | 283 | [ rdf:type sp:Construct ; |
| 380 | - rdfs:comment "STEP 20003 Set the installation"^^xsd:string ; | 284 | + rdfs:comment "STEP 20009 Set the geographic context - offshore location - blockId"^^xsd:string ; |
| 381 | - sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ; | 285 | + sp:templates ([ sp:object |
| 382 | - sp:predicate rdf:type ; | 286 | + [ sp:varName "block"^^xsd:string |
| 383 | - sp:subject _:b1 | ||
| 384 | - ] [ sp:object | ||
| 385 | - [ sp:varName "productionFacility"^^xsd:string | ||
| 386 | ] ; | 287 | ] ; |
| 387 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | 288 | + sp:predicate <http://www.reportinghub.no/ep/schema/geography#locatedWithin> ; |
| 388 | - sp:subject _:b1 | ||
| 389 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ; | ||
| 390 | - sp:predicate rdf:type ; | ||
| 391 | sp:subject | 289 | sp:subject |
| 392 | - [ sp:varName "productionFacility"^^xsd:string | 290 | + [ sp:varName "locationOfProductionFacility"^^xsd:string |
| 393 | ] | 291 | ] |
| 394 | - ] [ sp:object | 292 | + ]) ; |
| 395 | - [ sp:varName "productionFacilityType"^^xsd:string | 293 | + sp:where ([ sp:object |
| 396 | - ] ; | 294 | + [ sp:varName "productVolumeRef"^^xsd:string |
| 397 | - sp:predicate rdf:type ; | 295 | + ] ; |
| 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_productVolume> ; | ||
| 299 | + sp:predicate rdf:type ; | ||
| 300 | + sp:subject | ||
| 301 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
| 302 | + ] | ||
| 303 | + ] [ sp:object | ||
| 304 | + [ sp:varName "geographicContextRef"^^xsd:string | ||
| 305 | + ] ; | ||
| 306 | + sp:predicate <http://www.epim.no/schemas/mprml/1#geographicContextRef> ; | ||
| 307 | + sp:subject | ||
| 308 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
| 309 | + ] | ||
| 310 | + ] [ sp:object | ||
| 311 | + [ sp:varName "offshoreLocationRef"^^xsd:string | ||
| 312 | + ] ; | ||
| 313 | + sp:predicate <http://www.epim.no/schemas/mprml/1#offshoreLocationRef> ; | ||
| 314 | + sp:subject | ||
| 315 | + [ sp:varName "geographicContextRef"^^xsd:string | ||
| 316 | + ] | ||
| 317 | + ] [ sp:object | ||
| 318 | + [ sp:varName "blockId"^^xsd:string | ||
| 319 | + ] ; | ||
| 320 | + sp:predicate <http://www.epim.no/schemas/mprml/1#blockID> ; | ||
| 321 | + sp:subject | ||
| 322 | + [ sp:varName "offshoreLocationRef"^^xsd:string | ||
| 323 | + ] | ||
| 324 | + ] [ sp:object | ||
| 325 | + [ sp:varName "geographicContextRef"^^xsd:string | ||
| 326 | + ] ; | ||
| 327 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
| 328 | + sp:subject | ||
| 329 | + [ sp:varName "locationOfProductionFacility"^^xsd:string | ||
| 330 | + ] | ||
| 331 | + ] [ rdf:type sp:Bind ; | ||
| 332 | + sp:expression | ||
| 333 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
| 334 | + sp:arg1 [ sp:varName "blockId"^^xsd:string | ||
| 335 | + ] | ||
| 336 | + ] ; | ||
| 337 | + sp:variable | ||
| 338 | + [ sp:varName "normalizedBlockId"^^xsd:string | ||
| 339 | + ] | ||
| 340 | + ] [ rdf:type sp:Bind ; | ||
| 341 | + sp:expression | ||
| 342 | + [ rdf:type ep-dpr-spin-lib:buildBlockURI ; | ||
| 343 | + sp:arg1 [ sp:varName "normalizedBlockId"^^xsd:string | ||
| 344 | + ] | ||
| 345 | + ] ; | ||
| 346 | + sp:variable | ||
| 347 | + [ sp:varName "block"^^xsd:string | ||
| 348 | + ] | ||
| 349 | + ]) | ||
| 350 | + ] ; | ||
| 351 | + spin:rule | ||
| 352 | + [ rdf:type sp:Construct ; | ||
| 353 | + rdfs:comment "STEP 20003 Set the installation"^^xsd:string ; | ||
| 354 | + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ; | ||
| 355 | + sp:predicate rdf:type ; | ||
| 356 | + sp:subject _:b3 | ||
| 357 | + ] [ sp:object | ||
| 358 | + [ sp:varName "productionFacility"^^xsd:string | ||
| 359 | + ] ; | ||
| 360 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
| 361 | + sp:subject _:b3 | ||
| 362 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ; | ||
| 363 | + sp:predicate rdf:type ; | ||
| 364 | + sp:subject | ||
| 365 | + [ sp:varName "productionFacility"^^xsd:string | ||
| 366 | + ] | ||
| 367 | + ] [ sp:object | ||
| 368 | + [ sp:varName "productionFacilityType"^^xsd:string | ||
| 369 | + ] ; | ||
| 370 | + sp:predicate rdf:type ; | ||
| 398 | sp:subject | 371 | sp:subject |
| 399 | [ sp:varName "productionFacility"^^xsd:string | 372 | [ sp:varName "productionFacility"^^xsd:string |
| 400 | ] | 373 | ] |
| ... | @@ -402,7 +375,7 @@ | ... | @@ -402,7 +375,7 @@ |
| 402 | [ sp:varName "productionFlowToDate"^^xsd:string | 375 | [ sp:varName "productionFlowToDate"^^xsd:string |
| 403 | ] ; | 376 | ] ; |
| 404 | sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ; | 377 | sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ; |
| 405 | - sp:subject _:b1 | 378 | + sp:subject _:b3 |
| 406 | ]) ; | 379 | ]) ; |
| 407 | sp:where ([ sp:object | 380 | sp:where ([ sp:object |
| 408 | [ sp:varName "productVolumeRef"^^xsd:string | 381 | [ sp:varName "productVolumeRef"^^xsd:string |
| ... | @@ -482,32 +455,150 @@ | ... | @@ -482,32 +455,150 @@ |
| 482 | ] ; | 455 | ] ; |
| 483 | spin:rule | 456 | spin:rule |
| 484 | [ rdf:type sp:Construct ; | 457 | [ rdf:type sp:Construct ; |
| 458 | + rdfs:comment "STEP 20004a Set the context facility - installation exists"^^xsd:string ; | ||
| 459 | + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ; | ||
| 460 | + sp:predicate rdf:type ; | ||
| 461 | + sp:subject | ||
| 462 | + [ sp:varName "productionContextFacility"^^xsd:string | ||
| 463 | + ] | ||
| 464 | + ] [ sp:object | ||
| 465 | + [ sp:varName "productionContextFacilityType"^^xsd:string | ||
| 466 | + ] ; | ||
| 467 | + sp:predicate rdf:type ; | ||
| 468 | + sp:subject | ||
| 469 | + [ sp:varName "productionContextFacility"^^xsd:string | ||
| 470 | + ] | ||
| 471 | + ] [ sp:object | ||
| 472 | + [ sp:varName "productionFacility"^^xsd:string | ||
| 473 | + ] ; | ||
| 474 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ; | ||
| 475 | + sp:subject | ||
| 476 | + [ sp:varName "productionContextFacility"^^xsd:string | ||
| 477 | + ] | ||
| 478 | + ]) ; | ||
| 479 | + sp:where ([ sp:object | ||
| 480 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
| 481 | + ] ; | ||
| 482 | + sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; | ||
| 483 | + sp:subject spin:_this | ||
| 484 | + ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productVolume> ; | ||
| 485 | + sp:predicate rdf:type ; | ||
| 486 | + sp:subject | ||
| 487 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
| 488 | + ] | ||
| 489 | + ] [ sp:object | ||
| 490 | + [ sp:varName "contextFacilityRef"^^xsd:string | ||
| 491 | + ] ; | ||
| 492 | + sp:predicate <http://www.epim.no/schemas/mprml/1#contextFacilityRef> ; | ||
| 493 | + sp:subject | ||
| 494 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
| 495 | + ] | ||
| 496 | + ] [ sp:object | ||
| 497 | + [ sp:varName "contextFacilityName"^^xsd:string | ||
| 498 | + ] ; | ||
| 499 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
| 500 | + sp:subject | ||
| 501 | + [ sp:varName "contextFacilityRef"^^xsd:string | ||
| 502 | + ] | ||
| 503 | + ] [ rdf:type sp:Optional ; | ||
| 504 | + sp:elements ([ sp:object | ||
| 505 | + [ sp:varName "contextFacilityKind"^^xsd:string | ||
| 506 | + ] ; | ||
| 507 | + sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ; | ||
| 508 | + sp:subject | ||
| 509 | + [ sp:varName "contextFacilityRef"^^xsd:string | ||
| 510 | + ] | ||
| 511 | + ]) | ||
| 512 | + ] [ sp:object | ||
| 513 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
| 514 | + ] ; | ||
| 515 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
| 516 | + sp:subject | ||
| 517 | + [ sp:varName "productionFlow"^^xsd:string | ||
| 518 | + ] | ||
| 519 | + ] [ sp:object | ||
| 520 | + [ sp:varName "productionFlowToDate"^^xsd:string | ||
| 521 | + ] ; | ||
| 522 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
| 523 | + sp:subject | ||
| 524 | + [ sp:varName "productionFlow"^^xsd:string | ||
| 525 | + ] | ||
| 526 | + ] [ sp:object | ||
| 527 | + [ sp:varName "productionFlowToDate"^^xsd:string | ||
| 528 | + ] ; | ||
| 529 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ; | ||
| 530 | + sp:subject | ||
| 531 | + [ sp:varName "productionFacilityToDate"^^xsd:string | ||
| 532 | + ] | ||
| 533 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ; | ||
| 534 | + sp:predicate rdf:type ; | ||
| 535 | + sp:subject | ||
| 536 | + [ sp:varName "productionFacilityToDate"^^xsd:string | ||
| 537 | + ] | ||
| 538 | + ] [ sp:object | ||
| 539 | + [ sp:varName "productionFacility"^^xsd:string | ||
| 540 | + ] ; | ||
| 541 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
| 542 | + sp:subject | ||
| 543 | + [ sp:varName "productionFacilityToDate"^^xsd:string | ||
| 544 | + ] | ||
| 545 | + ] [ rdf:type sp:Bind ; | ||
| 546 | + sp:expression | ||
| 547 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
| 548 | + sp:arg1 [ sp:varName "contextFacilityName"^^xsd:string | ||
| 549 | + ] | ||
| 550 | + ] ; | ||
| 551 | + sp:variable | ||
| 552 | + [ sp:varName "normalizedContextFacilityName"^^xsd:string | ||
| 553 | + ] | ||
| 554 | + ] [ rdf:type sp:Bind ; | ||
| 555 | + sp:expression | ||
| 556 | + [ rdf:type ep-dpr-spin-lib:buildProductionFacilityURI ; | ||
| 557 | + sp:arg1 [ sp:varName "normalizedContextFacilityName"^^xsd:string | ||
| 558 | + ] | ||
| 559 | + ] ; | ||
| 560 | + sp:variable | ||
| 561 | + [ sp:varName "productionContextFacility"^^xsd:string | ||
| 562 | + ] | ||
| 563 | + ] [ rdf:type sp:Bind ; | ||
| 564 | + sp:expression | ||
| 565 | + [ rdf:type ep-dpr-spin-lib:selectProductionFacilityType ; | ||
| 566 | + sp:arg1 [ sp:varName "contextFacilityKind"^^xsd:string | ||
| 567 | + ] | ||
| 568 | + ] ; | ||
| 569 | + sp:variable | ||
| 570 | + [ sp:varName "productionContextFacilityType"^^xsd:string | ||
| 571 | + ] | ||
| 572 | + ]) | ||
| 573 | + ] ; | ||
| 574 | + spin:rule | ||
| 575 | + [ rdf:type sp:Construct ; | ||
| 485 | rdfs:comment "STEP 20006b Set the geographic context - need a PartOfTheSurfaceOfTheEarth if any geographicContext - productionFacility not already defined"^^xsd:string ; | 576 | rdfs:comment "STEP 20006b Set the geographic context - need a PartOfTheSurfaceOfTheEarth if any geographicContext - productionFacility not already defined"^^xsd:string ; |
| 486 | sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ; | 577 | sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ; |
| 487 | sp:predicate rdf:type ; | 578 | sp:predicate rdf:type ; |
| 488 | - sp:subject _:b2 | 579 | + sp:subject _:b4 |
| 489 | - ] [ sp:object _:b3 ; | 580 | + ] [ sp:object _:b5 ; |
| 490 | sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | 581 | sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; |
| 491 | - sp:subject _:b2 | 582 | + sp:subject _:b4 |
| 492 | ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ; | 583 | ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ; |
| 493 | sp:predicate rdf:type ; | 584 | sp:predicate rdf:type ; |
| 494 | - sp:subject _:b3 | 585 | + sp:subject _:b5 |
| 495 | ] [ sp:object | 586 | ] [ sp:object |
| 496 | [ sp:varName "productionFlowToDate"^^xsd:string | 587 | [ sp:varName "productionFlowToDate"^^xsd:string |
| 497 | ] ; | 588 | ] ; |
| 498 | sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ; | 589 | sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ; |
| 499 | - sp:subject _:b2 | 590 | + sp:subject _:b4 |
| 500 | - ] [ sp:object _:b4 ; | 591 | + ] [ sp:object _:b6 ; |
| 501 | sp:predicate <http://www.reportinghub.no/ep/schema/geography#locatedWithin> ; | 592 | sp:predicate <http://www.reportinghub.no/ep/schema/geography#locatedWithin> ; |
| 502 | - sp:subject _:b3 | 593 | + sp:subject _:b5 |
| 503 | ] [ sp:object <http://www.reportinghub.no/ep/schema/geography#PartOfTheSurfaceOfTheEarth> ; | 594 | ] [ sp:object <http://www.reportinghub.no/ep/schema/geography#PartOfTheSurfaceOfTheEarth> ; |
| 504 | sp:predicate rdf:type ; | 595 | sp:predicate rdf:type ; |
| 505 | - sp:subject _:b4 | 596 | + sp:subject _:b6 |
| 506 | ] [ sp:object | 597 | ] [ sp:object |
| 507 | [ sp:varName "geographicContextRef"^^xsd:string | 598 | [ sp:varName "geographicContextRef"^^xsd:string |
| 508 | ] ; | 599 | ] ; |
| 509 | sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | 600 | sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; |
| 510 | - sp:subject _:b4 | 601 | + sp:subject _:b6 |
| 511 | ]) ; | 602 | ]) ; |
| 512 | sp:where ([ sp:object | 603 | sp:where ([ sp:object |
| 513 | [ sp:varName "productVolumeRef"^^xsd:string | 604 | [ sp:varName "productVolumeRef"^^xsd:string |
| ... | @@ -574,27 +665,14 @@ | ... | @@ -574,27 +665,14 @@ |
| 574 | ] ; | 665 | ] ; |
| 575 | spin:rule | 666 | spin:rule |
| 576 | [ rdf:type sp:Construct ; | 667 | [ rdf:type sp:Construct ; |
| 577 | - rdfs:comment "STEP 20002b Record the end date"^^xsd:string ; | 668 | + rdfs:comment """STEP 20005a Set the facility operator- installation or context facility exist |
| 669 | +role is ignored, because it is implicitly \"operator\""""^^xsd:string ; | ||
| 578 | sp:templates ([ sp:object | 670 | sp:templates ([ sp:object |
| 579 | - [ sp:varName "dateStart"^^xsd:string | 671 | + [ sp:varName "operator"^^xsd:string |
| 580 | - ] ; | ||
| 581 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ; | ||
| 582 | - sp:subject | ||
| 583 | - [ sp:varName "productionFlow"^^xsd:string | ||
| 584 | - ] | ||
| 585 | - ] [ sp:object | ||
| 586 | - [ sp:varName "dateEnd"^^xsd:string | ||
| 587 | - ] ; | ||
| 588 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | ||
| 589 | - sp:subject | ||
| 590 | - [ sp:varName "productionFlow"^^xsd:string | ||
| 591 | - ] | ||
| 592 | - ] [ sp:object | ||
| 593 | - [ sp:varName "dateEnd"^^xsd:string | ||
| 594 | ] ; | 672 | ] ; |
| 595 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | 673 | + sp:predicate <http://www.reportinghub.no/ep/schema/facility#facilityOperator> ; |
| 596 | sp:subject | 674 | sp:subject |
| 597 | - [ sp:varName "productionFlowToDate"^^xsd:string | 675 | + [ sp:varName "productionFacility"^^xsd:string |
| 598 | ] | 676 | ] |
| 599 | ]) ; | 677 | ]) ; |
| 600 | sp:where ([ sp:object | 678 | sp:where ([ sp:object |
| ... | @@ -608,18 +686,18 @@ | ... | @@ -608,18 +686,18 @@ |
| 608 | [ sp:varName "productVolumeRef"^^xsd:string | 686 | [ sp:varName "productVolumeRef"^^xsd:string |
| 609 | ] | 687 | ] |
| 610 | ] [ sp:object | 688 | ] [ sp:object |
| 611 | - [ sp:varName "dateStart"^^xsd:string | 689 | + [ sp:varName "operatorRef"^^xsd:string |
| 612 | ] ; | 690 | ] ; |
| 613 | - sp:predicate <http://www.epim.no/schemas/mprml/1#dateStart> ; | 691 | + sp:predicate <http://www.epim.no/schemas/mprml/1#operatorRef> ; |
| 614 | sp:subject | 692 | sp:subject |
| 615 | [ sp:varName "productVolumeRef"^^xsd:string | 693 | [ sp:varName "productVolumeRef"^^xsd:string |
| 616 | ] | 694 | ] |
| 617 | ] [ sp:object | 695 | ] [ sp:object |
| 618 | - [ sp:varName "dateEnd"^^xsd:string | 696 | + [ sp:varName "operatorName"^^xsd:string |
| 619 | ] ; | 697 | ] ; |
| 620 | - sp:predicate <http://www.epim.no/schemas/mprml/1#dateEnd> ; | 698 | + sp:predicate <http://www.epim.no/schemas/mprml/1#name> ; |
| 621 | sp:subject | 699 | sp:subject |
| 622 | - [ sp:varName "productVolumeRef"^^xsd:string | 700 | + [ sp:varName "operatorRef"^^xsd:string |
| 623 | ] | 701 | ] |
| 624 | ] [ sp:object | 702 | ] [ sp:object |
| 625 | [ sp:varName "productVolumeRef"^^xsd:string | 703 | [ sp:varName "productVolumeRef"^^xsd:string |
| ... | @@ -635,29 +713,66 @@ | ... | @@ -635,29 +713,66 @@ |
| 635 | sp:subject | 713 | sp:subject |
| 636 | [ sp:varName "productionFlow"^^xsd:string | 714 | [ sp:varName "productionFlow"^^xsd:string |
| 637 | ] | 715 | ] |
| 638 | - ]) | 716 | + ] [ sp:object |
| 639 | - ] ; | 717 | + [ sp:varName "productionFlowToDate"^^xsd:string |
| 640 | - spin:rule | 718 | + ] ; |
| 641 | - [ rdf:type sp:Construct ; | 719 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ; |
| 642 | - rdfs:comment "STEP 20006a Set the geographic context - need a PartOfTheSurfaceOfTheEarth if any geographicContext - productionFacility already defined"^^xsd:string ; | 720 | + sp:subject |
| 643 | - sp:templates ([ sp:object _:b5 ; | 721 | + [ sp:varName "productionFacilityToDate"^^xsd:string |
| 644 | - sp:predicate <http://www.reportinghub.no/ep/schema/geography#nominallyLocatedAt> ; | 722 | + ] |
| 723 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ; | ||
| 724 | + sp:predicate rdf:type ; | ||
| 725 | + sp:subject | ||
| 726 | + [ sp:varName "productionFacilityToDate"^^xsd:string | ||
| 727 | + ] | ||
| 728 | + ] [ sp:object | ||
| 729 | + [ sp:varName "productionFacility"^^xsd:string | ||
| 730 | + ] ; | ||
| 731 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
| 732 | + sp:subject | ||
| 733 | + [ sp:varName "productionFacilityToDate"^^xsd:string | ||
| 734 | + ] | ||
| 735 | + ] [ rdf:type sp:Bind ; | ||
| 736 | + sp:expression | ||
| 737 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
| 738 | + sp:arg1 [ sp:varName "operatorName"^^xsd:string | ||
| 739 | + ] | ||
| 740 | + ] ; | ||
| 741 | + sp:variable | ||
| 742 | + [ sp:varName "normalizedOperatorName"^^xsd:string | ||
| 743 | + ] | ||
| 744 | + ] [ rdf:type sp:Bind ; | ||
| 745 | + sp:expression | ||
| 746 | + [ rdf:type rhspin:companyById ; | ||
| 747 | + arg:id [ sp:varName "normalizedOperatorName"^^xsd:string | ||
| 748 | + ] | ||
| 749 | + ] ; | ||
| 750 | + sp:variable | ||
| 751 | + [ sp:varName "operator"^^xsd:string | ||
| 752 | + ] | ||
| 753 | + ]) | ||
| 754 | + ] ; | ||
| 755 | + spin:rule | ||
| 756 | + [ rdf:type sp:Construct ; | ||
| 757 | + rdfs:comment "STEP 20006a Set the geographic context - need a PartOfTheSurfaceOfTheEarth if any geographicContext - productionFacility already defined"^^xsd:string ; | ||
| 758 | + sp:templates ([ sp:object _:b7 ; | ||
| 759 | + sp:predicate <http://www.reportinghub.no/ep/schema/geography#nominallyLocatedAt> ; | ||
| 645 | sp:subject | 760 | sp:subject |
| 646 | [ sp:varName "productionFacility"^^xsd:string | 761 | [ sp:varName "productionFacility"^^xsd:string |
| 647 | ] | 762 | ] |
| 648 | ] [ sp:object <http://www.reportinghub.no/ep/schema/geography#PartOfTheSurfaceOfTheEarth> ; | 763 | ] [ sp:object <http://www.reportinghub.no/ep/schema/geography#PartOfTheSurfaceOfTheEarth> ; |
| 649 | sp:predicate rdf:type ; | 764 | sp:predicate rdf:type ; |
| 650 | - sp:subject _:b5 | 765 | + sp:subject _:b7 |
| 651 | ] [ sp:object | 766 | ] [ sp:object |
| 652 | [ sp:varName "geographicContextRef"^^xsd:string | 767 | [ sp:varName "geographicContextRef"^^xsd:string |
| 653 | ] ; | 768 | ] ; |
| 654 | sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | 769 | sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; |
| 655 | - sp:subject _:b5 | 770 | + sp:subject _:b7 |
| 656 | ] [ sp:object | 771 | ] [ sp:object |
| 657 | [ sp:varName "comment"^^xsd:string | 772 | [ sp:varName "comment"^^xsd:string |
| 658 | ] ; | 773 | ] ; |
| 659 | sp:predicate rdfs:comment ; | 774 | sp:predicate rdfs:comment ; |
| 660 | - sp:subject _:b5 | 775 | + sp:subject _:b7 |
| 661 | ]) ; | 776 | ]) ; |
| 662 | sp:where ([ sp:object | 777 | sp:where ([ sp:object |
| 663 | [ sp:varName "productVolumeRef"^^xsd:string | 778 | [ sp:varName "productVolumeRef"^^xsd:string |
| ... | @@ -722,15 +837,27 @@ | ... | @@ -722,15 +837,27 @@ |
| 722 | ] ; | 837 | ] ; |
| 723 | spin:rule | 838 | spin:rule |
| 724 | [ rdf:type sp:Construct ; | 839 | [ rdf:type sp:Construct ; |
| 725 | - rdfs:comment """STEP 20005a Set the facility operator- installation or context facility exist | 840 | + rdfs:comment """STEP 20005b Set the facility operator- installation or context facility do not exist |
| 726 | role is ignored, because it is implicitly \"operator\""""^^xsd:string ; | 841 | role is ignored, because it is implicitly \"operator\""""^^xsd:string ; |
| 727 | - sp:templates ([ sp:object | 842 | + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ; |
| 843 | + sp:predicate rdf:type ; | ||
| 844 | + sp:subject _:b8 | ||
| 845 | + ] [ sp:object _:b9 ; | ||
| 846 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
| 847 | + sp:subject _:b8 | ||
| 848 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ; | ||
| 849 | + sp:predicate rdf:type ; | ||
| 850 | + sp:subject _:b9 | ||
| 851 | + ] [ sp:object | ||
| 852 | + [ sp:varName "productionFlowToDate"^^xsd:string | ||
| 853 | + ] ; | ||
| 854 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ; | ||
| 855 | + sp:subject _:b8 | ||
| 856 | + ] [ sp:object | ||
| 728 | [ sp:varName "operator"^^xsd:string | 857 | [ sp:varName "operator"^^xsd:string |
| 729 | ] ; | 858 | ] ; |
| 730 | sp:predicate <http://www.reportinghub.no/ep/schema/facility#facilityOperator> ; | 859 | sp:predicate <http://www.reportinghub.no/ep/schema/facility#facilityOperator> ; |
| 731 | - sp:subject | 860 | + sp:subject _:b9 |
| 732 | - [ sp:varName "productionFacility"^^xsd:string | ||
| 733 | - ] | ||
| 734 | ]) ; | 861 | ]) ; |
| 735 | sp:where ([ sp:object | 862 | sp:where ([ sp:object |
| 736 | [ sp:varName "productVolumeRef"^^xsd:string | 863 | [ sp:varName "productVolumeRef"^^xsd:string |
| ... | @@ -770,25 +897,27 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ; | ... | @@ -770,25 +897,27 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ; |
| 770 | sp:subject | 897 | sp:subject |
| 771 | [ sp:varName "productionFlow"^^xsd:string | 898 | [ sp:varName "productionFlow"^^xsd:string |
| 772 | ] | 899 | ] |
| 773 | - ] [ sp:object | 900 | + ] [ rdf:type sp:NotExists ; |
| 774 | - [ sp:varName "productionFlowToDate"^^xsd:string | 901 | + sp:elements ([ sp:object |
| 775 | - ] ; | 902 | + [ sp:varName "productionFlowToDate"^^xsd:string |
| 776 | - sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ; | 903 | + ] ; |
| 777 | - sp:subject | 904 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ; |
| 778 | - [ sp:varName "productionFacilityToDate"^^xsd:string | 905 | + sp:subject |
| 779 | - ] | 906 | + [ sp:varName "productionFacilityToDate"^^xsd:string |
| 780 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ; | 907 | + ] |
| 781 | - sp:predicate rdf:type ; | 908 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ; |
| 782 | - sp:subject | 909 | + sp:predicate rdf:type ; |
| 783 | - [ sp:varName "productionFacilityToDate"^^xsd:string | 910 | + sp:subject |
| 784 | - ] | 911 | + [ sp:varName "productionFacilityToDate"^^xsd:string |
| 785 | - ] [ sp:object | 912 | + ] |
| 786 | - [ sp:varName "productionFacility"^^xsd:string | 913 | + ] [ sp:object |
| 787 | - ] ; | 914 | + [ sp:varName "productionFacility"^^xsd:string |
| 788 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | 915 | + ] ; |
| 789 | - sp:subject | 916 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; |
| 790 | - [ sp:varName "productionFacilityToDate"^^xsd:string | 917 | + sp:subject |
| 791 | - ] | 918 | + [ sp:varName "productionFacilityToDate"^^xsd:string |
| 919 | + ] | ||
| 920 | + ]) | ||
| 792 | ] [ rdf:type sp:Bind ; | 921 | ] [ rdf:type sp:Bind ; |
| 793 | sp:expression | 922 | sp:expression |
| 794 | [ rdf:type ep-spin-lib:normalizeString ; | 923 | [ rdf:type ep-spin-lib:normalizeString ; |
| ... | @@ -811,37 +940,27 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ; | ... | @@ -811,37 +940,27 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ; |
| 811 | ] ; | 940 | ] ; |
| 812 | spin:rule | 941 | spin:rule |
| 813 | [ rdf:type sp:Construct ; | 942 | [ rdf:type sp:Construct ; |
| 814 | - rdfs:comment "STEP 20004b Set the context facility - installation does not exist"^^xsd:string ; | 943 | + rdfs:comment "STEP 20002a Record the end date-time"^^xsd:string ; |
| 815 | - sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ; | 944 | + sp:templates ([ sp:object |
| 816 | - sp:predicate rdf:type ; | 945 | + [ sp:varName "dTimStart"^^xsd:string |
| 817 | - sp:subject _:b6 | ||
| 818 | - ] [ sp:object _:b7 ; | ||
| 819 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
| 820 | - sp:subject _:b6 | ||
| 821 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ; | ||
| 822 | - sp:predicate rdf:type ; | ||
| 823 | - sp:subject _:b7 | ||
| 824 | - ] [ sp:object | ||
| 825 | - [ sp:varName "productionFlowToDate"^^xsd:string | ||
| 826 | ] ; | 946 | ] ; |
| 827 | - sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ; | 947 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ; |
| 828 | - sp:subject _:b6 | ||
| 829 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ; | ||
| 830 | - sp:predicate rdf:type ; | ||
| 831 | sp:subject | 948 | sp:subject |
| 832 | - [ sp:varName "productionContextFacility"^^xsd:string | 949 | + [ sp:varName "productionFlow"^^xsd:string |
| 833 | ] | 950 | ] |
| 834 | ] [ sp:object | 951 | ] [ sp:object |
| 835 | - [ sp:varName "productionContextFacilityType"^^xsd:string | 952 | + [ sp:varName "dTimEnd"^^xsd:string |
| 836 | ] ; | 953 | ] ; |
| 837 | - sp:predicate rdf:type ; | 954 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; |
| 838 | sp:subject | 955 | sp:subject |
| 839 | - [ sp:varName "productionContextFacility"^^xsd:string | 956 | + [ sp:varName "productionFlow"^^xsd:string |
| 840 | ] | 957 | ] |
| 841 | - ] [ sp:object _:b7 ; | 958 | + ] [ sp:object |
| 842 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ; | 959 | + [ sp:varName "dTimEnd"^^xsd:string |
| 960 | + ] ; | ||
| 961 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | ||
| 843 | sp:subject | 962 | sp:subject |
| 844 | - [ sp:varName "productionContextFacility"^^xsd:string | 963 | + [ sp:varName "productionFlowToDate"^^xsd:string |
| 845 | ] | 964 | ] |
| 846 | ]) ; | 965 | ]) ; |
| 847 | sp:where ([ sp:object | 966 | sp:where ([ sp:object |
| ... | @@ -855,28 +974,19 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ; | ... | @@ -855,28 +974,19 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ; |
| 855 | [ sp:varName "productVolumeRef"^^xsd:string | 974 | [ sp:varName "productVolumeRef"^^xsd:string |
| 856 | ] | 975 | ] |
| 857 | ] [ sp:object | 976 | ] [ sp:object |
| 858 | - [ sp:varName "contextFacilityRef"^^xsd:string | 977 | + [ sp:varName "dTimStart"^^xsd:string |
| 859 | ] ; | 978 | ] ; |
| 860 | - sp:predicate <http://www.epim.no/schemas/mprml/1#contextFacilityRef> ; | 979 | + sp:predicate <http://www.epim.no/schemas/mprml/1#dTimStart> ; |
| 861 | sp:subject | 980 | sp:subject |
| 862 | [ sp:varName "productVolumeRef"^^xsd:string | 981 | [ sp:varName "productVolumeRef"^^xsd:string |
| 863 | ] | 982 | ] |
| 864 | ] [ sp:object | 983 | ] [ sp:object |
| 865 | - [ sp:varName "contextFacilityName"^^xsd:string | 984 | + [ sp:varName "dTimEnd"^^xsd:string |
| 866 | ] ; | 985 | ] ; |
| 867 | - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | 986 | + sp:predicate <http://www.epim.no/schemas/mprml/1#dTimEnd> ; |
| 868 | sp:subject | 987 | sp:subject |
| 869 | - [ sp:varName "contextFacilityRef"^^xsd:string | 988 | + [ sp:varName "productVolumeRef"^^xsd:string |
| 870 | ] | 989 | ] |
| 871 | - ] [ rdf:type sp:Optional ; | ||
| 872 | - sp:elements ([ sp:object | ||
| 873 | - [ sp:varName "contextFacilityKind"^^xsd:string | ||
| 874 | - ] ; | ||
| 875 | - sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ; | ||
| 876 | - sp:subject | ||
| 877 | - [ sp:varName "contextFacilityRef"^^xsd:string | ||
| 878 | - ] | ||
| 879 | - ]) | ||
| 880 | ] [ sp:object | 990 | ] [ sp:object |
| 881 | [ sp:varName "productVolumeRef"^^xsd:string | 991 | [ sp:varName "productVolumeRef"^^xsd:string |
| 882 | ] ; | 992 | ] ; |
| ... | @@ -891,66 +1001,30 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ; | ... | @@ -891,66 +1001,30 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ; |
| 891 | sp:subject | 1001 | sp:subject |
| 892 | [ sp:varName "productionFlow"^^xsd:string | 1002 | [ sp:varName "productionFlow"^^xsd:string |
| 893 | ] | 1003 | ] |
| 894 | - ] [ rdf:type sp:NotExists ; | ||
| 895 | - sp:elements ([ sp:object | ||
| 896 | - [ sp:varName "productionFlowToDate"^^xsd:string | ||
| 897 | - ] ; | ||
| 898 | - sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ; | ||
| 899 | - sp:subject | ||
| 900 | - [ sp:varName "productionFacilityToDate"^^xsd:string | ||
| 901 | - ] | ||
| 902 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ; | ||
| 903 | - sp:predicate rdf:type ; | ||
| 904 | - sp:subject | ||
| 905 | - [ sp:varName "productionFacilityToDate"^^xsd:string | ||
| 906 | - ] | ||
| 907 | - ] [ sp:object | ||
| 908 | - [ sp:varName "productionFacility"^^xsd:string | ||
| 909 | - ] ; | ||
| 910 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
| 911 | - sp:subject | ||
| 912 | - [ sp:varName "productionFacilityToDate"^^xsd:string | ||
| 913 | - ] | ||
| 914 | - ]) | ||
| 915 | - ] [ rdf:type sp:Bind ; | ||
| 916 | - sp:expression | ||
| 917 | - [ rdf:type ep-spin-lib:normalizeString ; | ||
| 918 | - sp:arg1 [ sp:varName "contextFacilityName"^^xsd:string | ||
| 919 | - ] | ||
| 920 | - ] ; | ||
| 921 | - sp:variable | ||
| 922 | - [ sp:varName "normalizedContextFacilityName"^^xsd:string | ||
| 923 | - ] | ||
| 924 | - ] [ rdf:type sp:Bind ; | ||
| 925 | - sp:expression | ||
| 926 | - [ rdf:type ep-dpr-spin-lib:buildProductionFacilityURI ; | ||
| 927 | - sp:arg1 [ sp:varName "normalizedContextFacilityName"^^xsd:string | ||
| 928 | - ] | ||
| 929 | - ] ; | ||
| 930 | - sp:variable | ||
| 931 | - [ sp:varName "productionContextFacility"^^xsd:string | ||
| 932 | - ] | ||
| 933 | - ] [ rdf:type sp:Bind ; | ||
| 934 | - sp:expression | ||
| 935 | - [ rdf:type ep-dpr-spin-lib:selectProductionFacilityType ; | ||
| 936 | - sp:arg1 [ sp:varName "contextFacilityKind"^^xsd:string | ||
| 937 | - ] | ||
| 938 | - ] ; | ||
| 939 | - sp:variable | ||
| 940 | - [ sp:varName "productionContextFacilityType"^^xsd:string | ||
| 941 | - ] | ||
| 942 | ]) | 1004 | ]) |
| 943 | ] ; | 1005 | ] ; |
| 944 | spin:rule | 1006 | spin:rule |
| 945 | [ rdf:type sp:Construct ; | 1007 | [ rdf:type sp:Construct ; |
| 946 | - rdfs:comment "STEP 20009 Set the geographic context - offshore location - blockId"^^xsd:string ; | 1008 | + rdfs:comment "STEP 20007c Set the geographic context - state"^^xsd:string ; |
| 947 | sp:templates ([ sp:object | 1009 | sp:templates ([ sp:object |
| 948 | - [ sp:varName "block"^^xsd:string | 1010 | + [ sp:varName "state"^^xsd:string |
| 949 | ] ; | 1011 | ] ; |
| 950 | sp:predicate <http://www.reportinghub.no/ep/schema/geography#locatedWithin> ; | 1012 | sp:predicate <http://www.reportinghub.no/ep/schema/geography#locatedWithin> ; |
| 951 | sp:subject | 1013 | sp:subject |
| 952 | [ sp:varName "locationOfProductionFacility"^^xsd:string | 1014 | [ sp:varName "locationOfProductionFacility"^^xsd:string |
| 953 | ] | 1015 | ] |
| 1016 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/geography#State> ; | ||
| 1017 | + sp:predicate rdf:type ; | ||
| 1018 | + sp:subject | ||
| 1019 | + [ sp:varName "state"^^xsd:string | ||
| 1020 | + ] | ||
| 1021 | + ] [ sp:object | ||
| 1022 | + [ sp:varName "stateName"^^xsd:string | ||
| 1023 | + ] ; | ||
| 1024 | + sp:predicate rdfs:label ; | ||
| 1025 | + sp:subject | ||
| 1026 | + [ sp:varName "state"^^xsd:string | ||
| 1027 | + ] | ||
| 954 | ]) ; | 1028 | ]) ; |
| 955 | sp:where ([ sp:object | 1029 | sp:where ([ sp:object |
| 956 | [ sp:varName "productVolumeRef"^^xsd:string | 1030 | [ sp:varName "productVolumeRef"^^xsd:string |
| ... | @@ -970,20 +1044,13 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ; | ... | @@ -970,20 +1044,13 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ; |
| 970 | [ sp:varName "productVolumeRef"^^xsd:string | 1044 | [ sp:varName "productVolumeRef"^^xsd:string |
| 971 | ] | 1045 | ] |
| 972 | ] [ sp:object | 1046 | ] [ sp:object |
| 973 | - [ sp:varName "offshoreLocationRef"^^xsd:string | 1047 | + [ sp:varName "stateName"^^xsd:string |
| 974 | ] ; | 1048 | ] ; |
| 975 | - sp:predicate <http://www.epim.no/schemas/mprml/1#offshoreLocationRef> ; | 1049 | + sp:predicate <http://www.epim.no/schemas/mprml/1#state> ; |
| 976 | sp:subject | 1050 | sp:subject |
| 977 | [ sp:varName "geographicContextRef"^^xsd:string | 1051 | [ sp:varName "geographicContextRef"^^xsd:string |
| 978 | ] | 1052 | ] |
| 979 | ] [ sp:object | 1053 | ] [ sp:object |
| 980 | - [ sp:varName "blockId"^^xsd:string | ||
| 981 | - ] ; | ||
| 982 | - sp:predicate <http://www.epim.no/schemas/mprml/1#blockID> ; | ||
| 983 | - sp:subject | ||
| 984 | - [ sp:varName "offshoreLocationRef"^^xsd:string | ||
| 985 | - ] | ||
| 986 | - ] [ sp:object | ||
| 987 | [ sp:varName "geographicContextRef"^^xsd:string | 1054 | [ sp:varName "geographicContextRef"^^xsd:string |
| 988 | ] ; | 1055 | ] ; |
| 989 | sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | 1056 | sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; |
| ... | @@ -993,20 +1060,20 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ; | ... | @@ -993,20 +1060,20 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ; |
| 993 | ] [ rdf:type sp:Bind ; | 1060 | ] [ rdf:type sp:Bind ; |
| 994 | sp:expression | 1061 | sp:expression |
| 995 | [ rdf:type ep-spin-lib:normalizeString ; | 1062 | [ rdf:type ep-spin-lib:normalizeString ; |
| 996 | - sp:arg1 [ sp:varName "blockId"^^xsd:string | 1063 | + sp:arg1 [ sp:varName "stateName"^^xsd:string |
| 997 | ] | 1064 | ] |
| 998 | ] ; | 1065 | ] ; |
| 999 | sp:variable | 1066 | sp:variable |
| 1000 | - [ sp:varName "normalizedBlockId"^^xsd:string | 1067 | + [ sp:varName "normalizedStateName"^^xsd:string |
| 1001 | ] | 1068 | ] |
| 1002 | ] [ rdf:type sp:Bind ; | 1069 | ] [ rdf:type sp:Bind ; |
| 1003 | sp:expression | 1070 | sp:expression |
| 1004 | - [ rdf:type ep-dpr-spin-lib:buildBlockURI ; | 1071 | + [ rdf:type ep-dpr-spin-lib:buildStateURI ; |
| 1005 | - sp:arg1 [ sp:varName "normalizedBlockId"^^xsd:string | 1072 | + sp:arg1 [ sp:varName "normalizedStateName"^^xsd:string |
| 1006 | ] | 1073 | ] |
| 1007 | ] ; | 1074 | ] ; |
| 1008 | sp:variable | 1075 | sp:variable |
| 1009 | - [ sp:varName "block"^^xsd:string | 1076 | + [ sp:varName "state"^^xsd:string |
| 1010 | ] | 1077 | ] |
| 1011 | ]) | 1078 | ]) |
| 1012 | ] ; | 1079 | ] ; |
| ... | @@ -1015,133 +1082,95 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ; | ... | @@ -1015,133 +1082,95 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ; |
| 1015 | rdfs:comment "STEP 20001a Create the ProductVolumeReport, the DailyProductionFlow and the ProductionFlowToDate ."^^xsd:string ; | 1082 | rdfs:comment "STEP 20001a Create the ProductVolumeReport, the DailyProductionFlow and the ProductionFlowToDate ."^^xsd:string ; |
| 1016 | sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-report#ProductVolumeReport> ; | 1083 | sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-report#ProductVolumeReport> ; |
| 1017 | sp:predicate rdf:type ; | 1084 | sp:predicate rdf:type ; |
| 1018 | - sp:subject _:b8 | 1085 | + sp:subject _:b10 |
| 1019 | - ] [ sp:object | 1086 | + ] [ sp:object _:b11 ; |
| 1020 | - [ sp:varName "productionReport"^^xsd:string | ||
| 1021 | - ] ; | ||
| 1022 | sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ; | 1087 | sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ; |
| 1023 | - sp:subject _:b8 | 1088 | + sp:subject _:b10 |
| 1024 | - ] [ sp:object | 1089 | + ] [ sp:object _:b12 ; |
| 1025 | - [ sp:varName "name"^^xsd:string | ||
| 1026 | - ] ; | ||
| 1027 | sp:predicate rdfs:label ; | 1090 | sp:predicate rdfs:label ; |
| 1028 | - sp:subject _:b8 | 1091 | + sp:subject _:b10 |
| 1029 | - ] [ sp:object | 1092 | + ] [ sp:object _:b13 ; |
| 1030 | - [ sp:varName "productVolumeReportPeriodType"^^xsd:string | ||
| 1031 | - ] ; | ||
| 1032 | sp:predicate rdf:type ; | 1093 | sp:predicate rdf:type ; |
| 1033 | - sp:subject _:b8 | 1094 | + sp:subject _:b10 |
| 1034 | - ] [ sp:object _:b9 ; | 1095 | + ] [ sp:object _:b14 ; |
| 1035 | sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ; | 1096 | sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ; |
| 1036 | - sp:subject _:b8 | 1097 | + sp:subject _:b10 |
| 1037 | ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#TemporalPartOfAProductionFlow> ; | 1098 | ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#TemporalPartOfAProductionFlow> ; |
| 1038 | sp:predicate rdf:type ; | 1099 | sp:predicate rdf:type ; |
| 1039 | - sp:subject _:b9 | 1100 | + sp:subject _:b14 |
| 1040 | - ] [ sp:object | 1101 | + ] [ sp:object _:b15 ; |
| 1041 | - [ sp:varName "productVolumeRef"^^xsd:string | ||
| 1042 | - ] ; | ||
| 1043 | sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | 1102 | sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; |
| 1044 | - sp:subject _:b9 | 1103 | + sp:subject _:b14 |
| 1045 | - ] [ sp:object _:b10 ; | 1104 | + ] [ sp:object _:b16 ; |
| 1046 | sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | 1105 | sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; |
| 1047 | - sp:subject _:b9 | 1106 | + sp:subject _:b14 |
| 1048 | ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowToDate> ; | 1107 | ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowToDate> ; |
| 1049 | sp:predicate rdf:type ; | 1108 | sp:predicate rdf:type ; |
| 1050 | - sp:subject _:b10 | 1109 | + sp:subject _:b16 |
| 1051 | - ] [ sp:object | 1110 | + ] [ sp:object _:b17 ; |
| 1052 | - [ sp:varName "title"^^xsd:string | ||
| 1053 | - ] ; | ||
| 1054 | sp:predicate <http://purl.org/dc/elements/1.1/title> ; | 1111 | sp:predicate <http://purl.org/dc/elements/1.1/title> ; |
| 1055 | - sp:subject _:b8 | 1112 | + sp:subject _:b10 |
| 1056 | ]) ; | 1113 | ]) ; |
| 1057 | sp:where ([ sp:object spin:_this ; | 1114 | sp:where ([ sp:object spin:_this ; |
| 1058 | sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | 1115 | sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; |
| 1059 | - sp:subject | 1116 | + sp:subject _:b11 |
| 1060 | - [ sp:varName "productionReport"^^xsd:string | 1117 | + ] [ sp:object _:b15 ; |
| 1061 | - ] | ||
| 1062 | - ] [ sp:object | ||
| 1063 | - [ sp:varName "productVolumeRef"^^xsd:string | ||
| 1064 | - ] ; | ||
| 1065 | sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; | 1118 | sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; |
| 1066 | sp:subject spin:_this | 1119 | sp:subject spin:_this |
| 1067 | ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productVolume> ; | 1120 | ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productVolume> ; |
| 1068 | sp:predicate rdf:type ; | 1121 | sp:predicate rdf:type ; |
| 1069 | - sp:subject | 1122 | + sp:subject _:b15 |
| 1070 | - [ sp:varName "productVolumeRef"^^xsd:string | 1123 | + ] [ sp:object _:b18 ; |
| 1071 | - ] | ||
| 1072 | - ] [ sp:object | ||
| 1073 | - [ sp:varName "nameRef"^^xsd:string | ||
| 1074 | - ] ; | ||
| 1075 | sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ; | 1124 | sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ; |
| 1076 | - sp:subject | 1125 | + sp:subject _:b15 |
| 1077 | - [ sp:varName "productVolumeRef"^^xsd:string | 1126 | + ] [ sp:object _:b12 ; |
| 1078 | - ] | ||
| 1079 | - ] [ sp:object | ||
| 1080 | - [ sp:varName "name"^^xsd:string | ||
| 1081 | - ] ; | ||
| 1082 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | 1127 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; |
| 1083 | - sp:subject | 1128 | + sp:subject _:b18 |
| 1084 | - [ sp:varName "nameRef"^^xsd:string | ||
| 1085 | - ] | ||
| 1086 | ] [ rdf:type sp:Optional ; | 1129 | ] [ rdf:type sp:Optional ; |
| 1087 | - sp:elements ([ sp:object | 1130 | + sp:elements ([ sp:object _:b19 ; |
| 1088 | - [ sp:varName "periodKindRef"^^xsd:string | ||
| 1089 | - ] ; | ||
| 1090 | sp:predicate <http://www.epim.no/schemas/mprml/1#periodKindRef> ; | 1131 | sp:predicate <http://www.epim.no/schemas/mprml/1#periodKindRef> ; |
| 1091 | - sp:subject | 1132 | + sp:subject _:b15 |
| 1092 | - [ sp:varName "productVolumeRef"^^xsd:string | ||
| 1093 | - ] | ||
| 1094 | ]) | 1133 | ]) |
| 1095 | ] [ rdf:type sp:Optional ; | 1134 | ] [ rdf:type sp:Optional ; |
| 1096 | - sp:elements ([ sp:object | 1135 | + sp:elements ([ sp:object _:b20 ; |
| 1097 | - [ sp:varName "titleRef"^^xsd:string | ||
| 1098 | - ] ; | ||
| 1099 | sp:predicate <http://www.epim.no/schemas/mprml/1#titleRef> ; | 1136 | sp:predicate <http://www.epim.no/schemas/mprml/1#titleRef> ; |
| 1100 | - sp:subject | 1137 | + sp:subject _:b15 |
| 1101 | - [ sp:varName "productVolumeRef"^^xsd:string | 1138 | + ] [ sp:object _:b17 ; |
| 1102 | - ] | ||
| 1103 | - ] [ sp:object | ||
| 1104 | - [ sp:varName "title"^^xsd:string | ||
| 1105 | - ] ; | ||
| 1106 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | 1139 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; |
| 1107 | - sp:subject | 1140 | + sp:subject _:b20 |
| 1108 | - [ sp:varName "titleRef"^^xsd:string | ||
| 1109 | - ] | ||
| 1110 | ]) | 1141 | ]) |
| 1111 | ] [ rdf:type sp:Bind ; | 1142 | ] [ rdf:type sp:Bind ; |
| 1112 | sp:expression | 1143 | sp:expression |
| 1113 | - [ rdf:type ep-dpr-spin-lib:selectProductVolumeReportPeriodType ; | 1144 | + [ rdf:type ep-mpr-spin-lib:selectProductVolumeReportPeriodType ; |
| 1114 | - sp:arg1 [ sp:varName "periodKindRef"^^xsd:string | 1145 | + sp:arg1 _:b19 |
| 1115 | - ] | ||
| 1116 | ] ; | 1146 | ] ; |
| 1117 | - sp:variable | 1147 | + sp:variable _:b13 |
| 1118 | - [ sp:varName "productVolumeReportPeriodType"^^xsd:string | ||
| 1119 | - ] | ||
| 1120 | ]) | 1148 | ]) |
| 1121 | ] ; | 1149 | ] ; |
| 1122 | spin:rule | 1150 | spin:rule |
| 1123 | [ rdf:type sp:Construct ; | 1151 | [ rdf:type sp:Construct ; |
| 1124 | - rdfs:comment """STEP 20005b Set the facility operator- installation or context facility do not exist | 1152 | + rdfs:comment "STEP 20002b Record the end date"^^xsd:string ; |
| 1125 | -role is ignored, because it is implicitly \"operator\""""^^xsd:string ; | 1153 | + sp:templates ([ sp:object |
| 1126 | - sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ; | 1154 | + [ sp:varName "dateStart"^^xsd:string |
| 1127 | - sp:predicate rdf:type ; | 1155 | + ] ; |
| 1128 | - sp:subject _:b11 | 1156 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ; |
| 1129 | - ] [ sp:object _:b12 ; | 1157 | + sp:subject |
| 1130 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | 1158 | + [ sp:varName "productionFlow"^^xsd:string |
| 1131 | - sp:subject _:b11 | 1159 | + ] |
| 1132 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ; | ||
| 1133 | - sp:predicate rdf:type ; | ||
| 1134 | - sp:subject _:b12 | ||
| 1135 | ] [ sp:object | 1160 | ] [ sp:object |
| 1136 | - [ sp:varName "productionFlowToDate"^^xsd:string | 1161 | + [ sp:varName "dateEnd"^^xsd:string |
| 1137 | ] ; | 1162 | ] ; |
| 1138 | - sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ; | 1163 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; |
| 1139 | - sp:subject _:b11 | 1164 | + sp:subject |
| 1165 | + [ sp:varName "productionFlow"^^xsd:string | ||
| 1166 | + ] | ||
| 1140 | ] [ sp:object | 1167 | ] [ sp:object |
| 1141 | - [ sp:varName "operator"^^xsd:string | 1168 | + [ sp:varName "dateEnd"^^xsd:string |
| 1142 | ] ; | 1169 | ] ; |
| 1143 | - sp:predicate <http://www.reportinghub.no/ep/schema/facility#facilityOperator> ; | 1170 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; |
| 1144 | - sp:subject _:b12 | 1171 | + sp:subject |
| 1172 | + [ sp:varName "productionFlowToDate"^^xsd:string | ||
| 1173 | + ] | ||
| 1145 | ]) ; | 1174 | ]) ; |
| 1146 | sp:where ([ sp:object | 1175 | sp:where ([ sp:object |
| 1147 | [ sp:varName "productVolumeRef"^^xsd:string | 1176 | [ sp:varName "productVolumeRef"^^xsd:string |
| ... | @@ -1154,18 +1183,18 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ; | ... | @@ -1154,18 +1183,18 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ; |
| 1154 | [ sp:varName "productVolumeRef"^^xsd:string | 1183 | [ sp:varName "productVolumeRef"^^xsd:string |
| 1155 | ] | 1184 | ] |
| 1156 | ] [ sp:object | 1185 | ] [ sp:object |
| 1157 | - [ sp:varName "operatorRef"^^xsd:string | 1186 | + [ sp:varName "dateStart"^^xsd:string |
| 1158 | ] ; | 1187 | ] ; |
| 1159 | - sp:predicate <http://www.epim.no/schemas/mprml/1#operatorRef> ; | 1188 | + sp:predicate <http://www.epim.no/schemas/mprml/1#dateStart> ; |
| 1160 | sp:subject | 1189 | sp:subject |
| 1161 | [ sp:varName "productVolumeRef"^^xsd:string | 1190 | [ sp:varName "productVolumeRef"^^xsd:string |
| 1162 | ] | 1191 | ] |
| 1163 | ] [ sp:object | 1192 | ] [ sp:object |
| 1164 | - [ sp:varName "operatorName"^^xsd:string | 1193 | + [ sp:varName "dateEnd"^^xsd:string |
| 1165 | ] ; | 1194 | ] ; |
| 1166 | - sp:predicate <http://www.epim.no/schemas/mprml/1#name> ; | 1195 | + sp:predicate <http://www.epim.no/schemas/mprml/1#dateEnd> ; |
| 1167 | sp:subject | 1196 | sp:subject |
| 1168 | - [ sp:varName "operatorRef"^^xsd:string | 1197 | + [ sp:varName "productVolumeRef"^^xsd:string |
| 1169 | ] | 1198 | ] |
| 1170 | ] [ sp:object | 1199 | ] [ sp:object |
| 1171 | [ sp:varName "productVolumeRef"^^xsd:string | 1200 | [ sp:varName "productVolumeRef"^^xsd:string |
| ... | @@ -1181,57 +1210,30 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ; | ... | @@ -1181,57 +1210,30 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ; |
| 1181 | sp:subject | 1210 | sp:subject |
| 1182 | [ sp:varName "productionFlow"^^xsd:string | 1211 | [ sp:varName "productionFlow"^^xsd:string |
| 1183 | ] | 1212 | ] |
| 1184 | - ] [ rdf:type sp:NotExists ; | ||
| 1185 | - sp:elements ([ sp:object | ||
| 1186 | - [ sp:varName "productionFlowToDate"^^xsd:string | ||
| 1187 | - ] ; | ||
| 1188 | - sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ; | ||
| 1189 | - sp:subject | ||
| 1190 | - [ sp:varName "productionFacilityToDate"^^xsd:string | ||
| 1191 | - ] | ||
| 1192 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ; | ||
| 1193 | - sp:predicate rdf:type ; | ||
| 1194 | - sp:subject | ||
| 1195 | - [ sp:varName "productionFacilityToDate"^^xsd:string | ||
| 1196 | - ] | ||
| 1197 | - ] [ sp:object | ||
| 1198 | - [ sp:varName "productionFacility"^^xsd:string | ||
| 1199 | - ] ; | ||
| 1200 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
| 1201 | - sp:subject | ||
| 1202 | - [ sp:varName "productionFacilityToDate"^^xsd:string | ||
| 1203 | - ] | ||
| 1204 | - ]) | ||
| 1205 | - ] [ rdf:type sp:Bind ; | ||
| 1206 | - sp:expression | ||
| 1207 | - [ rdf:type ep-spin-lib:normalizeString ; | ||
| 1208 | - sp:arg1 [ sp:varName "operatorName"^^xsd:string | ||
| 1209 | - ] | ||
| 1210 | - ] ; | ||
| 1211 | - sp:variable | ||
| 1212 | - [ sp:varName "normalizedOperatorName"^^xsd:string | ||
| 1213 | - ] | ||
| 1214 | - ] [ rdf:type sp:Bind ; | ||
| 1215 | - sp:expression | ||
| 1216 | - [ rdf:type rhspin:companyById ; | ||
| 1217 | - arg:id [ sp:varName "normalizedOperatorName"^^xsd:string | ||
| 1218 | - ] | ||
| 1219 | - ] ; | ||
| 1220 | - sp:variable | ||
| 1221 | - [ sp:varName "operator"^^xsd:string | ||
| 1222 | - ] | ||
| 1223 | ]) | 1213 | ]) |
| 1224 | ] ; | 1214 | ] ; |
| 1225 | spin:rule | 1215 | spin:rule |
| 1226 | [ rdf:type sp:Construct ; | 1216 | [ rdf:type sp:Construct ; |
| 1227 | - rdfs:comment "STEP 20007a Set the geographic context - field"^^xsd:string ; | 1217 | + rdfs:comment "STEP 20007b Set the geographic context - country"^^xsd:string ; |
| 1228 | sp:templates ([ sp:object | 1218 | sp:templates ([ sp:object |
| 1229 | - [ sp:varName "field"^^xsd:string | 1219 | + [ sp:varName "country"^^xsd:string |
| 1230 | ] ; | 1220 | ] ; |
| 1231 | sp:predicate <http://www.reportinghub.no/ep/schema/geography#locatedWithin> ; | 1221 | sp:predicate <http://www.reportinghub.no/ep/schema/geography#locatedWithin> ; |
| 1232 | sp:subject | 1222 | sp:subject |
| 1233 | [ sp:varName "locationOfProductionFacility"^^xsd:string | 1223 | [ sp:varName "locationOfProductionFacility"^^xsd:string |
| 1234 | ] | 1224 | ] |
| 1225 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/geography#Country> ; | ||
| 1226 | + sp:predicate rdf:type ; | ||
| 1227 | + sp:subject | ||
| 1228 | + [ sp:varName "country"^^xsd:string | ||
| 1229 | + ] | ||
| 1230 | + ] [ sp:object | ||
| 1231 | + [ sp:varName "countryName"^^xsd:string | ||
| 1232 | + ] ; | ||
| 1233 | + sp:predicate rdfs:label ; | ||
| 1234 | + sp:subject | ||
| 1235 | + [ sp:varName "country"^^xsd:string | ||
| 1236 | + ] | ||
| 1235 | ]) ; | 1237 | ]) ; |
| 1236 | sp:where ([ sp:object | 1238 | sp:where ([ sp:object |
| 1237 | [ sp:varName "productVolumeRef"^^xsd:string | 1239 | [ sp:varName "productVolumeRef"^^xsd:string |
| ... | @@ -1251,20 +1253,13 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ; | ... | @@ -1251,20 +1253,13 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ; |
| 1251 | [ sp:varName "productVolumeRef"^^xsd:string | 1253 | [ sp:varName "productVolumeRef"^^xsd:string |
| 1252 | ] | 1254 | ] |
| 1253 | ] [ sp:object | 1255 | ] [ sp:object |
| 1254 | - [ sp:varName "fieldRef"^^xsd:string | 1256 | + [ sp:varName "countryName"^^xsd:string |
| 1255 | ] ; | 1257 | ] ; |
| 1256 | - sp:predicate <http://www.epim.no/schemas/mprml/1#fieldRef> ; | 1258 | + sp:predicate <http://www.epim.no/schemas/mprml/1#country> ; |
| 1257 | sp:subject | 1259 | sp:subject |
| 1258 | [ sp:varName "geographicContextRef"^^xsd:string | 1260 | [ sp:varName "geographicContextRef"^^xsd:string |
| 1259 | ] | 1261 | ] |
| 1260 | ] [ sp:object | 1262 | ] [ sp:object |
| 1261 | - [ sp:varName "fieldName"^^xsd:string | ||
| 1262 | - ] ; | ||
| 1263 | - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
| 1264 | - sp:subject | ||
| 1265 | - [ sp:varName "fieldRef"^^xsd:string | ||
| 1266 | - ] | ||
| 1267 | - ] [ sp:object | ||
| 1268 | [ sp:varName "geographicContextRef"^^xsd:string | 1263 | [ sp:varName "geographicContextRef"^^xsd:string |
| 1269 | ] ; | 1264 | ] ; |
| 1270 | sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | 1265 | sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; |
| ... | @@ -1274,44 +1269,32 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ; | ... | @@ -1274,44 +1269,32 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ; |
| 1274 | ] [ rdf:type sp:Bind ; | 1269 | ] [ rdf:type sp:Bind ; |
| 1275 | sp:expression | 1270 | sp:expression |
| 1276 | [ rdf:type ep-spin-lib:normalizeString ; | 1271 | [ rdf:type ep-spin-lib:normalizeString ; |
| 1277 | - sp:arg1 [ sp:varName "fieldName"^^xsd:string | 1272 | + sp:arg1 [ sp:varName "countryName"^^xsd:string |
| 1278 | ] | 1273 | ] |
| 1279 | ] ; | 1274 | ] ; |
| 1280 | sp:variable | 1275 | sp:variable |
| 1281 | - [ sp:varName "normalizedFieldName"^^xsd:string | 1276 | + [ sp:varName "normalizedCountryName"^^xsd:string |
| 1282 | ] | 1277 | ] |
| 1283 | ] [ rdf:type sp:Bind ; | 1278 | ] [ rdf:type sp:Bind ; |
| 1284 | sp:expression | 1279 | sp:expression |
| 1285 | - [ rdf:type ep-dpr-spin-lib:buildProductionFacilityURI ; | 1280 | + [ rdf:type ep-dpr-spin-lib:buildCountryURI ; |
| 1286 | - sp:arg1 [ sp:varName "normalizedFieldName"^^xsd:string | 1281 | + sp:arg1 [ sp:varName "normalizedCountryName"^^xsd:string |
| 1287 | ] | 1282 | ] |
| 1288 | ] ; | 1283 | ] ; |
| 1289 | sp:variable | 1284 | sp:variable |
| 1290 | - [ sp:varName "field"^^xsd:string | 1285 | + [ sp:varName "country"^^xsd:string |
| 1291 | ] | 1286 | ] |
| 1292 | ]) | 1287 | ]) |
| 1293 | ] ; | 1288 | ] ; |
| 1294 | spin:rule | 1289 | spin:rule |
| 1295 | [ rdf:type sp:Construct ; | 1290 | [ rdf:type sp:Construct ; |
| 1296 | - rdfs:comment "STEP 20004a Set the context facility - installation exists"^^xsd:string ; | 1291 | + rdfs:comment "STEP 20007a Set the geographic context - field"^^xsd:string ; |
| 1297 | - sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ; | 1292 | + sp:templates ([ sp:object |
| 1298 | - sp:predicate rdf:type ; | 1293 | + [ sp:varName "field"^^xsd:string |
| 1299 | - sp:subject | ||
| 1300 | - [ sp:varName "productionContextFacility"^^xsd:string | ||
| 1301 | - ] | ||
| 1302 | - ] [ sp:object | ||
| 1303 | - [ sp:varName "productionContextFacilityType"^^xsd:string | ||
| 1304 | - ] ; | ||
| 1305 | - sp:predicate rdf:type ; | ||
| 1306 | - sp:subject | ||
| 1307 | - [ sp:varName "productionContextFacility"^^xsd:string | ||
| 1308 | - ] | ||
| 1309 | - ] [ sp:object | ||
| 1310 | - [ sp:varName "productionFacility"^^xsd:string | ||
| 1311 | ] ; | 1294 | ] ; |
| 1312 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ; | 1295 | + sp:predicate <http://www.reportinghub.no/ep/schema/geography#locatedWithin> ; |
| 1313 | sp:subject | 1296 | sp:subject |
| 1314 | - [ sp:varName "productionContextFacility"^^xsd:string | 1297 | + [ sp:varName "locationOfProductionFacility"^^xsd:string |
| 1315 | ] | 1298 | ] |
| 1316 | ]) ; | 1299 | ]) ; |
| 1317 | sp:where ([ sp:object | 1300 | sp:where ([ sp:object |
| ... | @@ -1325,114 +1308,94 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ; | ... | @@ -1325,114 +1308,94 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ; |
| 1325 | [ sp:varName "productVolumeRef"^^xsd:string | 1308 | [ sp:varName "productVolumeRef"^^xsd:string |
| 1326 | ] | 1309 | ] |
| 1327 | ] [ sp:object | 1310 | ] [ sp:object |
| 1328 | - [ sp:varName "contextFacilityRef"^^xsd:string | 1311 | + [ sp:varName "geographicContextRef"^^xsd:string |
| 1329 | - ] ; | ||
| 1330 | - sp:predicate <http://www.epim.no/schemas/mprml/1#contextFacilityRef> ; | ||
| 1331 | - sp:subject | ||
| 1332 | - [ sp:varName "productVolumeRef"^^xsd:string | ||
| 1333 | - ] | ||
| 1334 | - ] [ sp:object | ||
| 1335 | - [ sp:varName "contextFacilityName"^^xsd:string | ||
| 1336 | ] ; | 1312 | ] ; |
| 1337 | - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | 1313 | + sp:predicate <http://www.epim.no/schemas/mprml/1#geographicContextRef> ; |
| 1338 | sp:subject | 1314 | sp:subject |
| 1339 | - [ sp:varName "contextFacilityRef"^^xsd:string | ||
| 1340 | - ] | ||
| 1341 | - ] [ rdf:type sp:Optional ; | ||
| 1342 | - sp:elements ([ sp:object | ||
| 1343 | - [ sp:varName "contextFacilityKind"^^xsd:string | ||
| 1344 | - ] ; | ||
| 1345 | - sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ; | ||
| 1346 | - sp:subject | ||
| 1347 | - [ sp:varName "contextFacilityRef"^^xsd:string | ||
| 1348 | - ] | ||
| 1349 | - ]) | ||
| 1350 | - ] [ sp:object | ||
| 1351 | [ sp:varName "productVolumeRef"^^xsd:string | 1315 | [ sp:varName "productVolumeRef"^^xsd:string |
| 1352 | - ] ; | ||
| 1353 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
| 1354 | - sp:subject | ||
| 1355 | - [ sp:varName "productionFlow"^^xsd:string | ||
| 1356 | ] | 1316 | ] |
| 1357 | ] [ sp:object | 1317 | ] [ sp:object |
| 1358 | - [ sp:varName "productionFlowToDate"^^xsd:string | 1318 | + [ sp:varName "fieldRef"^^xsd:string |
| 1359 | ] ; | 1319 | ] ; |
| 1360 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | 1320 | + sp:predicate <http://www.epim.no/schemas/mprml/1#fieldRef> ; |
| 1361 | sp:subject | 1321 | sp:subject |
| 1362 | - [ sp:varName "productionFlow"^^xsd:string | 1322 | + [ sp:varName "geographicContextRef"^^xsd:string |
| 1363 | ] | 1323 | ] |
| 1364 | ] [ sp:object | 1324 | ] [ sp:object |
| 1365 | - [ sp:varName "productionFlowToDate"^^xsd:string | 1325 | + [ sp:varName "fieldName"^^xsd:string |
| 1366 | ] ; | 1326 | ] ; |
| 1367 | - sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ; | 1327 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; |
| 1368 | - sp:subject | ||
| 1369 | - [ sp:varName "productionFacilityToDate"^^xsd:string | ||
| 1370 | - ] | ||
| 1371 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ; | ||
| 1372 | - sp:predicate rdf:type ; | ||
| 1373 | sp:subject | 1328 | sp:subject |
| 1374 | - [ sp:varName "productionFacilityToDate"^^xsd:string | 1329 | + [ sp:varName "fieldRef"^^xsd:string |
| 1375 | ] | 1330 | ] |
| 1376 | ] [ sp:object | 1331 | ] [ sp:object |
| 1377 | - [ sp:varName "productionFacility"^^xsd:string | 1332 | + [ sp:varName "geographicContextRef"^^xsd:string |
| 1378 | ] ; | 1333 | ] ; |
| 1379 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | 1334 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; |
| 1380 | sp:subject | 1335 | sp:subject |
| 1381 | - [ sp:varName "productionFacilityToDate"^^xsd:string | 1336 | + [ sp:varName "locationOfProductionFacility"^^xsd:string |
| 1382 | ] | 1337 | ] |
| 1383 | ] [ rdf:type sp:Bind ; | 1338 | ] [ rdf:type sp:Bind ; |
| 1384 | sp:expression | 1339 | sp:expression |
| 1385 | [ rdf:type ep-spin-lib:normalizeString ; | 1340 | [ rdf:type ep-spin-lib:normalizeString ; |
| 1386 | - sp:arg1 [ sp:varName "contextFacilityName"^^xsd:string | 1341 | + sp:arg1 [ sp:varName "fieldName"^^xsd:string |
| 1387 | ] | 1342 | ] |
| 1388 | ] ; | 1343 | ] ; |
| 1389 | sp:variable | 1344 | sp:variable |
| 1390 | - [ sp:varName "normalizedContextFacilityName"^^xsd:string | 1345 | + [ sp:varName "normalizedFieldName"^^xsd:string |
| 1391 | ] | 1346 | ] |
| 1392 | ] [ rdf:type sp:Bind ; | 1347 | ] [ rdf:type sp:Bind ; |
| 1393 | sp:expression | 1348 | sp:expression |
| 1394 | [ rdf:type ep-dpr-spin-lib:buildProductionFacilityURI ; | 1349 | [ rdf:type ep-dpr-spin-lib:buildProductionFacilityURI ; |
| 1395 | - sp:arg1 [ sp:varName "normalizedContextFacilityName"^^xsd:string | 1350 | + sp:arg1 [ sp:varName "normalizedFieldName"^^xsd:string |
| 1396 | - ] | ||
| 1397 | - ] ; | ||
| 1398 | - sp:variable | ||
| 1399 | - [ sp:varName "productionContextFacility"^^xsd:string | ||
| 1400 | - ] | ||
| 1401 | - ] [ rdf:type sp:Bind ; | ||
| 1402 | - sp:expression | ||
| 1403 | - [ rdf:type ep-dpr-spin-lib:selectProductionFacilityType ; | ||
| 1404 | - sp:arg1 [ sp:varName "contextFacilityKind"^^xsd:string | ||
| 1405 | ] | 1351 | ] |
| 1406 | ] ; | 1352 | ] ; |
| 1407 | sp:variable | 1353 | sp:variable |
| 1408 | - [ sp:varName "productionContextFacilityType"^^xsd:string | 1354 | + [ sp:varName "field"^^xsd:string |
| 1409 | ] | 1355 | ] |
| 1410 | ]) | 1356 | ]) |
| 1411 | ] ; | 1357 | ] ; |
| 1412 | spin:rule | 1358 | spin:rule |
| 1413 | [ rdf:type sp:Construct ; | 1359 | [ rdf:type sp:Construct ; |
| 1414 | - rdfs:comment "STEP 20007b Set the geographic context - country"^^xsd:string ; | 1360 | + rdfs:comment "STEP 20001b Add the report kind ."^^xsd:string ; |
| 1415 | sp:templates ([ sp:object | 1361 | sp:templates ([ sp:object |
| 1416 | - [ sp:varName "country"^^xsd:string | 1362 | + [ sp:varName "reportKind"^^xsd:string |
| 1417 | ] ; | 1363 | ] ; |
| 1418 | - sp:predicate <http://www.reportinghub.no/ep/schema/geography#locatedWithin> ; | 1364 | + sp:predicate rdf:type ; |
| 1419 | sp:subject | 1365 | sp:subject |
| 1420 | - [ sp:varName "locationOfProductionFacility"^^xsd:string | 1366 | + [ sp:varName "productVolumeReport"^^xsd:string |
| 1421 | ] | 1367 | ] |
| 1422 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/geography#Country> ; | 1368 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-report#ProductionReportKind> ; |
| 1423 | sp:predicate rdf:type ; | 1369 | sp:predicate rdf:type ; |
| 1424 | sp:subject | 1370 | sp:subject |
| 1425 | - [ sp:varName "country"^^xsd:string | 1371 | + [ sp:varName "reportKind"^^xsd:string |
| 1426 | ] | 1372 | ] |
| 1427 | ] [ sp:object | 1373 | ] [ sp:object |
| 1428 | - [ sp:varName "countryName"^^xsd:string | 1374 | + [ sp:varName "kind"^^xsd:string |
| 1429 | ] ; | 1375 | ] ; |
| 1430 | sp:predicate rdfs:label ; | 1376 | sp:predicate rdfs:label ; |
| 1431 | sp:subject | 1377 | sp:subject |
| 1432 | - [ sp:varName "country"^^xsd:string | 1378 | + [ sp:varName "reportKind"^^xsd:string |
| 1433 | ] | 1379 | ] |
| 1434 | ]) ; | 1380 | ]) ; |
| 1435 | - sp:where ([ sp:object | 1381 | + sp:where ([ sp:object spin:_this ; |
| 1382 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
| 1383 | + sp:subject | ||
| 1384 | + [ sp:varName "productionReport"^^xsd:string | ||
| 1385 | + ] | ||
| 1386 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-report#ProductVolumeReport> ; | ||
| 1387 | + sp:predicate rdf:type ; | ||
| 1388 | + sp:subject | ||
| 1389 | + [ sp:varName "productVolumeReport"^^xsd:string | ||
| 1390 | + ] | ||
| 1391 | + ] [ sp:object | ||
| 1392 | + [ sp:varName "productionReport"^^xsd:string | ||
| 1393 | + ] ; | ||
| 1394 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ; | ||
| 1395 | + sp:subject | ||
| 1396 | + [ sp:varName "productVolumeReport"^^xsd:string | ||
| 1397 | + ] | ||
| 1398 | + ] [ sp:object | ||
| 1436 | [ sp:varName "productVolumeRef"^^xsd:string | 1399 | [ sp:varName "productVolumeRef"^^xsd:string |
| 1437 | ] ; | 1400 | ] ; |
| 1438 | sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; | 1401 | sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; |
| ... | @@ -1443,48 +1406,72 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ; | ... | @@ -1443,48 +1406,72 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ; |
| 1443 | [ sp:varName "productVolumeRef"^^xsd:string | 1406 | [ sp:varName "productVolumeRef"^^xsd:string |
| 1444 | ] | 1407 | ] |
| 1445 | ] [ sp:object | 1408 | ] [ sp:object |
| 1446 | - [ sp:varName "geographicContextRef"^^xsd:string | 1409 | + [ sp:varName "nameRef"^^xsd:string |
| 1447 | ] ; | 1410 | ] ; |
| 1448 | - sp:predicate <http://www.epim.no/schemas/mprml/1#geographicContextRef> ; | 1411 | + sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ; |
| 1449 | sp:subject | 1412 | sp:subject |
| 1450 | [ sp:varName "productVolumeRef"^^xsd:string | 1413 | [ sp:varName "productVolumeRef"^^xsd:string |
| 1451 | ] | 1414 | ] |
| 1452 | ] [ sp:object | 1415 | ] [ sp:object |
| 1453 | - [ sp:varName "countryName"^^xsd:string | 1416 | + [ sp:varName "name"^^xsd:string |
| 1454 | ] ; | 1417 | ] ; |
| 1455 | - sp:predicate <http://www.epim.no/schemas/mprml/1#country> ; | 1418 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; |
| 1456 | sp:subject | 1419 | sp:subject |
| 1457 | - [ sp:varName "geographicContextRef"^^xsd:string | 1420 | + [ sp:varName "nameRef"^^xsd:string |
| 1458 | ] | 1421 | ] |
| 1459 | ] [ sp:object | 1422 | ] [ sp:object |
| 1460 | - [ sp:varName "geographicContextRef"^^xsd:string | 1423 | + [ sp:varName "kind"^^xsd:string |
| 1461 | ] ; | 1424 | ] ; |
| 1462 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | 1425 | + sp:predicate <http://www.epim.no/schemas/mprml/1#kind> ; |
| 1463 | sp:subject | 1426 | sp:subject |
| 1464 | - [ sp:varName "locationOfProductionFacility"^^xsd:string | 1427 | + [ sp:varName "productVolumeRef"^^xsd:string |
| 1465 | ] | 1428 | ] |
| 1466 | ] [ rdf:type sp:Bind ; | 1429 | ] [ rdf:type sp:Bind ; |
| 1467 | sp:expression | 1430 | sp:expression |
| 1468 | [ rdf:type ep-spin-lib:normalizeString ; | 1431 | [ rdf:type ep-spin-lib:normalizeString ; |
| 1469 | - sp:arg1 [ sp:varName "countryName"^^xsd:string | 1432 | + sp:arg1 [ sp:varName "kind"^^xsd:string |
| 1470 | ] | 1433 | ] |
| 1471 | ] ; | 1434 | ] ; |
| 1472 | sp:variable | 1435 | sp:variable |
| 1473 | - [ sp:varName "normalizedCountryName"^^xsd:string | 1436 | + [ sp:varName "normalizedKind"^^xsd:string |
| 1474 | ] | 1437 | ] |
| 1475 | ] [ rdf:type sp:Bind ; | 1438 | ] [ rdf:type sp:Bind ; |
| 1476 | sp:expression | 1439 | sp:expression |
| 1477 | - [ rdf:type ep-dpr-spin-lib:buildCountryURI ; | 1440 | + [ rdf:type ep-dpr-spin-lib:buildProductionReportKindURI ; |
| 1478 | - sp:arg1 [ sp:varName "normalizedCountryName"^^xsd:string | 1441 | + sp:arg1 [ sp:varName "normalizedKind"^^xsd:string |
| 1479 | ] | 1442 | ] |
| 1480 | ] ; | 1443 | ] ; |
| 1481 | sp:variable | 1444 | sp:variable |
| 1482 | - [ sp:varName "country"^^xsd:string | 1445 | + [ sp:varName "reportKind"^^xsd:string |
| 1483 | ] | 1446 | ] |
| 1484 | ]) | 1447 | ]) |
| 1485 | ] . | 1448 | ] . |
| 1486 | 1449 | ||
| 1487 | <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeReport-v1.0> | 1450 | <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeReport-v1.0> |
| 1488 | rdf:type owl:Ontology ; | 1451 | rdf:type owl:Ontology ; |
| 1489 | - owl:imports <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> , <http://spinrdf.org/spin> , <http://www.epim.no/schemas/mprml/1> ; | 1452 | + owl:imports <http://www.reportinghub.no/ep/mpr/spin/1.1/lib> , <http://www.epim.no/schemas/mprml/1> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> ; |
| 1490 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 1453 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . |
| 1454 | + | ||
| 1455 | +_:b11 | ||
| 1456 | + sp:varName "productionReport"^^xsd:string . | ||
| 1457 | + | ||
| 1458 | +_:b15 | ||
| 1459 | + sp:varName "productVolumeRef"^^xsd:string . | ||
| 1460 | + | ||
| 1461 | +_:b18 | ||
| 1462 | + sp:varName "nameRef"^^xsd:string . | ||
| 1463 | + | ||
| 1464 | +_:b12 | ||
| 1465 | + sp:varName "name"^^xsd:string . | ||
| 1466 | + | ||
| 1467 | +_:b19 | ||
| 1468 | + sp:varName "periodKindRef"^^xsd:string . | ||
| 1469 | + | ||
| 1470 | +_:b20 | ||
| 1471 | + sp:varName "titleRef"^^xsd:string . | ||
| 1472 | + | ||
| 1473 | +_:b17 | ||
| 1474 | + sp:varName "title"^^xsd:string . | ||
| 1475 | + | ||
| 1476 | +_:b13 | ||
| 1477 | + sp:varName "productVolumeReportPeriodType"^^xsd:string . | ... | ... |
| 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> | ... | ... |
-
Please register or login to post a comment