David Leal

Updates to geographicContext for productVolume

......@@ -36,7 +36,7 @@
<http://www.reportinghub.no/ep/schema/activity#ProductionWellTest>
rdf:type owl:Class ;
rdfs:label "production well test"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> , <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> , <http://www.reportinghub.no/ep/schema/activity#WellTest> .
<http://www.reportinghub.no/ep/schema/activity#WeeklyProductionActivity>
rdf:type ep-prodact:ProductionOperationClassByDuration .
......@@ -51,7 +51,7 @@
rdfs:range <http://www.reportinghub.no/ep/schema/flow#Flow> .
ep-core:Mass
rdf:type ep-core:PropertySpace , rdfs:Class ;
rdf:type rdfs:Class , ep-core:PropertySpace ;
rdfs:label "mass"^^xsd:string ;
rdfs:subClassOf ep-core:MeasureOfAmountOfMaterial .
......@@ -92,13 +92,13 @@ ep-core:Mass
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> .
ep-prodact:AdministerFirstAid
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:AirTrafficOperation
rdf:type ep-prodact:ProductionActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:ProductionActivityType ;
rdfs:label "air traffic operation"^^xsd:string ;
rdfs:subClassOf ep-prodact:PartOfProductionActivity , ep-prodact:TransportationActivity .
rdfs:subClassOf ep-prodact:TransportationActivity , ep-prodact:PartOfProductionActivity .
ep-prodact:Alarm
rdf:type owl:Class ;
......@@ -117,49 +117,49 @@ ep-prodact:AmountOfSubstance
rdfs:subClassOf ep-core:PhysicalObject .
ep-prodact:AnnualProductionActivity
rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
ep-prodact:AnnualProductionActivityToDate
rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
rdfs:subClassOf ep-prodact:AnnualProductionActivity .
ep-prodact:AnnualProductionOperationsActivityToEndOfReportingPeriod
rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
rdfs:subClassOf ep-prodact:ProductionOperationsActivity , ep-prodact:AnnualProductionActivityToDate .
rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
rdfs:subClassOf ep-prodact:AnnualProductionActivityToDate , ep-prodact:ProductionOperationsActivity .
ep-prodact:AnnualProductionVolumeActivityToEndOfReportingPeriod
rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
rdfs:subClassOf ep-prodact:ProductionVolumeActivity , ep-prodact:AnnualProductionActivityToDate .
rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
rdfs:subClassOf ep-prodact:AnnualProductionActivityToDate , ep-prodact:ProductionVolumeActivity .
ep-prodact:CargoShipOperation
rdf:type owl:Class ;
rdfs:subClassOf ep-prodact:PartOfProductionActivity , ep-prodact:TransportationActivity .
rdfs:subClassOf ep-prodact:TransportationActivity , ep-prodact:PartOfProductionActivity .
ep-prodact:ConstructionOperation
rdf:type ep-prodact:ProductionActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:ProductionActivityType ;
rdfs:label "construction operation"^^xsd:string ;
rdfs:subClassOf ep-prodact:PartOfProductionActivity .
ep-prodact:CumulativeProductionActivitySinceProductionBegan
rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
ep-prodact:DailyProductionOperationsActivity
rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
rdfs:subClassOf ep-prodact:ProductionOperationsActivity , <http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity> .
rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity> , ep-prodact:ProductionOperationsActivity .
ep-prodact:DailyProductionVolumeActivity
rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
rdfs:subClassOf ep-prodact:ProductionVolumeActivity , <http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity> .
rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity> , ep-prodact:ProductionVolumeActivity .
ep-prodact:Deviation
rdf:type ep-prodact:ProductionActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:ProductionActivityType ;
rdfs:label "deviation"^^xsd:string ;
rdfs:subClassOf ep-prodact:PartOfProductionActivity .
ep-prodact:DrillOrExcercise
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:Fire
......@@ -181,7 +181,7 @@ ep-prodact:FlowLine-Production
ep-prodact:FluidLevelTest
rdf:type owl:Class ;
rdfs:label "fluid level test"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> , <http://www.reportinghub.no/ep/schema/activity#WellTest> .
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> , <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
ep-prodact:FusionOfHSEActivitiesOverPeriod
rdf:type owl:Class ;
......@@ -200,21 +200,21 @@ ep-prodact:Incident
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:InitialWellTest
rdf:type owl:Class , ep-prodact:WellTestReasonType ;
rdf:type ep-prodact:WellTestReasonType , owl:Class ;
rdfs:label "initial"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> .
ep-prodact:InjectionWellTest
rdf:type owl:Class ;
rdfs:label "injection well test"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> , <http://www.reportinghub.no/ep/schema/activity#WellTest> .
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> , <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
ep-prodact:Injury
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:IssueWorkPermit
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:JobObservation
......@@ -234,20 +234,20 @@ ep-prodact:LostTimeIncident
rdfs:subClassOf ep-prodact:Incident .
ep-prodact:MaintenanceActivity
rdf:type ep-prodact:ProductionActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:ProductionActivityType ;
rdfs:label "maintenance activity"^^xsd:string ;
rdfs:subClassOf ep-prodact:PartOfProductionActivity .
ep-prodact:MarineOperation
rdf:type owl:Class ;
rdfs:subClassOf ep-prodact:PartOfProductionActivity , ep-prodact:TransportationActivity .
rdfs:subClassOf ep-prodact:TransportationActivity , ep-prodact:PartOfProductionActivity .
ep-prodact:MedicalTreatmentInjury
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdfs:subClassOf ep-prodact:Injury .
ep-prodact:MonthlyProductionActivityToEndOfReportingPeriod
rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#MonthlyProductionActivity> .
ep-prodact:NearMiss
......@@ -259,12 +259,12 @@ ep-prodact:NotablePartOfProductionActivity
rdfs:subClassOf ep-prodact:PartOfProductionActivity .
ep-prodact:OtherProductionActivity
rdf:type ep-prodact:ProductionActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:ProductionActivityType ;
rdfs:label "other production activity"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> .
ep-prodact:OtherReasonWellTest
rdf:type owl:Class , ep-prodact:WellTestReasonType ;
rdf:type ep-prodact:WellTestReasonType , owl:Class ;
rdfs:label "other"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> .
......@@ -279,17 +279,17 @@ ep-prodact:Participation
rdfs:subPropertyOf ep-prodact:involvement .
ep-prodact:PeriodicWellTest
rdf:type owl:Class , ep-prodact:WellTestReasonType ;
rdf:type ep-prodact:WellTestReasonType , owl:Class ;
rdfs:label "periodic"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> .
ep-prodact:PowerStationFailure
rdf:type ep-prodact:ProductionActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:ProductionActivityType ;
rdfs:label "power station failure"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> .
ep-prodact:ProductionActivityLastingLessThanAYear
rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
ep-prodact:ProductionActivityType
......@@ -302,7 +302,7 @@ ep-prodact:ProductionOperationClassByDuration
rdfs:subClassOf owl:Class .
ep-prodact:ProductionOperationsActivity
rdf:type ep-prodact:ProductionActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:ProductionActivityType ;
rdfs:label "production operations activity"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
......@@ -315,7 +315,7 @@ ep-prodact:ReleasedToWater
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:ReportHazard
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:RestrictedWork
......@@ -323,11 +323,11 @@ ep-prodact:RestrictedWork
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:RestrictedWorkInjury
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdfs:subClassOf ep-prodact:Injury .
ep-prodact:RevisionWellTest
rdf:type owl:Class , ep-prodact:WellTestReasonType ;
rdf:type ep-prodact:WellTestReasonType , owl:Class ;
rdfs:label "revision"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> .
......@@ -336,7 +336,7 @@ ep-prodact:SafetyActivityType
rdfs:subClassOf owl:Class .
ep-prodact:SafetyMeeting
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:SampleAmountOfSubstance
......@@ -356,7 +356,7 @@ ep-prodact:SickOnBoard
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:SpillOrLeak
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:TransportationActivity
......@@ -364,7 +364,7 @@ ep-prodact:TransportationActivity
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> .
ep-prodact:UnknownReasonWellTest
rdf:type owl:Class , ep-prodact:WellTestReasonType ;
rdf:type ep-prodact:WellTestReasonType , owl:Class ;
rdfs:label "unknown"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> .
......@@ -379,7 +379,7 @@ ep-prodact:WaterDischarge
ep-prodact:WaterSample
rdf:type owl:Class ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/well#Water> , ep-prodact:SampleAmountOfSubstance .
rdfs:subClassOf ep-prodact:SampleAmountOfSubstance , <http://www.reportinghub.no/ep/schema/well#Water> .
ep-prodact:WellTestReasonType
rdf:type rdfs:Class ;
......@@ -387,11 +387,11 @@ ep-prodact:WellTestReasonType
rdfs:subClassOf owl:Class .
ep-prodact:WorkingUnderPermit
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:WorkingUnderPermitWithSJA
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdfs:subClassOf ep-prodact:WorkingUnderPermit .
ep-prodact:ammoniumDensity
......@@ -430,7 +430,7 @@ ep-prodact:conveyedAmountOfSubstance
ep-prodact:coulterCounter
rdf:type owl:ObjectProperty ;
rdfs:domain ep-prodact:WaterSample ;
rdfs:range ep-core:SpecificMass .
rdfs:range ep-core:MassPerUnitMassConcentration .
ep-prodact:glycolDensity
rdf:type owl:ObjectProperty ;
......@@ -449,7 +449,7 @@ ep-prodact:hasPredecessor
rdfs:range <http://www.reportinghub.no/ep/schema/activity#Activity> .
ep-prodact:hasShutInPressure
rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:domain <http://www.reportinghub.no/ep/schema/activity#ProductionWellTest> ;
rdfs:label "has shut-in pressure"^^xsd:string ;
rdfs:range ep-core:Pressure .
......@@ -461,25 +461,25 @@ ep-prodact:hasValidPredecessor
rdfs:range <http://www.reportinghub.no/ep/schema/activity#Activity> .
ep-prodact:injectionWellTestMaximumAnnularPressure
rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:domain ep-prodact:InjectionWellTest ;
rdfs:label "injection well test maximum annular pressure"^^xsd:string ;
rdfs:range ep-core:Pressure .
ep-prodact:injectionWellTestMinimumAnnularPressure
rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:domain ep-prodact:InjectionWellTest ;
rdfs:label "injection well test minimum annular pressure"^^xsd:string ;
rdfs:range ep-core:Pressure .
ep-prodact:injectionWellTestWellheadFlowingPressure
rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:domain ep-prodact:InjectionWellTest ;
rdfs:label "injection well test wellhead flowing pressure"^^xsd:string ;
rdfs:range ep-core:Pressure .
ep-prodact:injectionWellTestWellheadMaximumPressure
rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:domain ep-prodact:InjectionWellTest ;
rdfs:label "injection well test wellhead maximum pressure"^^xsd:string ;
rdfs:range ep-core:Pressure .
......@@ -542,10 +542,10 @@ ep-prodact:noOfSpillsOrLeaks
ep-prodact:oilInWater
rdf:type owl:ObjectProperty ;
rdfs:domain ep-prodact:WaterSample ;
rdfs:range ep-core:SpecificMass .
rdfs:range ep-core:MassPerUnitMassConcentration .
ep-prodact:onProductionFacility
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:domain <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> ;
rdfs:label "on facility"^^xsd:string ;
rdfs:range <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> .
......@@ -553,7 +553,7 @@ ep-prodact:onProductionFacility
ep-prodact:oxygenInWater
rdf:type owl:ObjectProperty ;
rdfs:domain ep-prodact:WaterSample ;
rdfs:range ep-core:SpecificMass .
rdfs:range ep-core:MassPerUnitMassConcentration .
ep-prodact:phenolDensity
rdf:type owl:ObjectProperty ;
......@@ -566,7 +566,7 @@ ep-prodact:productionActivityPeriodClassification
rdfs:range ep-prodact:ProductionOperationClassByDuration .
ep-prodact:productionOperator
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:domain <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> ;
rdfs:label "production operator"^^xsd:string ;
rdfs:range <http://www.reportinghub.no/ep/schema/organization#Organization> .
......@@ -574,7 +574,7 @@ ep-prodact:productionOperator
ep-prodact:residualChlorideInWater
rdf:type owl:ObjectProperty ;
rdfs:domain ep-prodact:WaterSample ;
rdfs:range ep-core:SpecificMass .
rdfs:range ep-core:MassPerUnitMassConcentration .
ep-prodact:samplePhValue
rdf:type owl:DatatypeProperty ;
......@@ -582,7 +582,7 @@ ep-prodact:samplePhValue
rdfs:range xsd:double .
ep-prodact:samplePoint
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:domain ep-prodact:WaterSample ;
rdfs:range <http://www.reportinghub.no/ep/schema/production-core#TemporalPartOfAPointInSpace> .
......@@ -597,7 +597,7 @@ ep-prodact:sampleTurbidity
rdfs:range xsd:double .
ep-prodact:testedWellBoreInterval
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:domain <http://www.reportinghub.no/ep/schema/activity#WellTest> ;
rdfs:label "tested wellbore interval"^^xsd:string ;
rdfs:range ep-core:PhysicalObject .
......@@ -610,7 +610,7 @@ ep-prodact:totalNoOfPermitsIssued
ep-prodact:totalOrganicCarbonInWater
rdf:type owl:ObjectProperty ;
rdfs:domain ep-prodact:WaterSample ;
rdfs:range ep-core:SpecificMass .
rdfs:range ep-core:MassPerUnitMassConcentration .
ep-prodact:waterSampleTaken
rdf:type owl:ObjectProperty ;
......
......@@ -15,32 +15,32 @@
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
ep-prodwell:Air
rdf:type ep-prodwell:InjectionFluidType , owl:Class , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , owl:Class , ep-prodwell:InjectionFluidType ;
rdfs:label "air"^^xsd:string ;
rdfs:subClassOf ep-prodwell:NonHcGas .
ep-prodwell:Brine
rdf:type ep-prodwell:InjectionFluidType , owl:Class , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , owl:Class , ep-prodwell:InjectionFluidType ;
rdfs:label "brine"^^xsd:string ;
rdfs:subClassOf ep-well:Water .
ep-prodwell:Co2
rdf:type ep-prodwell:InjectionFluidType , owl:Class ;
rdf:type owl:Class , ep-prodwell:InjectionFluidType ;
rdfs:label "CO2"^^xsd:string ;
rdfs:subClassOf ep-prodwell:NonHcGas .
ep-prodwell:DryFluid
rdf:type ep-prodwell:InjectionFluidType , owl:Class , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , owl:Class , ep-prodwell:InjectionFluidType ;
rdfs:label "dry fluid"^^xsd:string ;
rdfs:subClassOf ep-well:Fluid .
ep-prodwell:FreshWater
rdf:type ep-prodwell:InjectionFluidType , owl:Class , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , owl:Class , ep-prodwell:InjectionFluidType ;
rdfs:label "fresh water"^^xsd:string ;
rdfs:subClassOf ep-well:Water .
ep-prodwell:GasAndWater
rdf:type ep-prodwell:InjectionFluidType , owl:Class , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , owl:Class , ep-prodwell:InjectionFluidType ;
rdfs:label "gas and water"^^xsd:string ;
rdfs:subClassOf ep-well:Fluid .
......@@ -55,70 +55,76 @@ ep-prodwell:NaturalGasClass
rdfs:subClassOf owl:Class .
ep-prodwell:NonHcGas
rdf:type owl:Class , ep-prodwell:InjectionFluidType ;
rdf:type ep-prodwell:InjectionFluidType , owl:Class ;
rdfs:label "non-HC gas"^^xsd:string ;
rdfs:subClassOf ep-well:Gas .
ep-prodwell:OilAndGas
rdf:type ep-well:FluidComponentType , owl:Class , ep-prodwell:InjectionFluidType ;
rdf:type ep-prodwell:InjectionFluidType , owl:Class , ep-well:FluidComponentType ;
rdfs:label "oil and gas"^^xsd:string ;
rdfs:subClassOf ep-well:Fluid .
ep-prodwell:OilAndWater
rdf:type owl:Class , ep-well:FluidComponentType , ep-prodwell:InjectionFluidType ;
rdf:type ep-prodwell:InjectionFluidType , ep-well:FluidComponentType , owl:Class ;
rdfs:label "oil and water"^^xsd:string ;
rdfs:subClassOf ep-well:Fluid .
ep-prodwell:OtherInjectionFluid
rdf:type ep-prodwell:InjectionFluidType , owl:Class , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , owl:Class , ep-prodwell:InjectionFluidType ;
rdfs:label "other injection fluid"^^xsd:string ;
rdfs:subClassOf ep-well:Fluid .
ep-prodwell:Sand
rdf:type ep-well:FluidComponentType , owl:Class ;
rdf:type owl:Class , ep-well:FluidComponentType ;
rdfs:label "sand"^^xsd:string ;
rdfs:subClassOf ep-well:Fluid .
ep-prodwell:Steam
rdf:type ep-prodwell:InjectionFluidType , owl:Class , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , owl:Class , ep-prodwell:InjectionFluidType ;
rdfs:label "steam"^^xsd:string ;
rdfs:subClassOf ep-prodwell:NonHcGas .
ep-prodwell:UnknownFluid
rdf:type ep-prodwell:InjectionFluidType , owl:Class , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , owl:Class , ep-prodwell:InjectionFluidType ;
rdfs:label "unknown fluid"^^xsd:string ;
rdfs:subClassOf ep-well:Fluid .
ep-prodwell:basicSedimentAndWater
rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:label "basic sediment and water"^^xsd:string ;
rdfs:range ep-core:SpecificVolume .
ep-prodwell:condensateYield
rdf:type ep-core:Class_of_indirect_property , owl:ObjectProperty , owl:FunctionalProperty ;
rdf:type owl:FunctionalProperty , owl:ObjectProperty , ep-core:Class_of_indirect_property ;
rdfs:label "condensate yield"^^xsd:string ;
rdfs:range ep-core:SpecificVolume .
ep-prodwell:depthOfBaseUsableWaterFromSurface
rdf:type ep-core:Class_of_indirect_property , owl:ObjectProperty , owl:FunctionalProperty ;
rdf:type owl:FunctionalProperty , owl:ObjectProperty , ep-core:Class_of_indirect_property ;
rdfs:domain ep-well:Fluid ;
rdfs:label "depth of base of usable water from surface"^^xsd:string ;
rdfs:range ep-core:Length .
ep-prodwell:depthOfFluidSurfaceFromTopOfWell
rdf:type ep-core:Class_of_indirect_property , owl:ObjectProperty , owl:FunctionalProperty ;
rdf:type owl:FunctionalProperty , owl:ObjectProperty , ep-core:Class_of_indirect_property ;
rdfs:domain ep-well:Fluid ;
rdfs:label "depth of fluid surface from top of well"^^xsd:string ;
rdfs:range ep-core:Length .
ep-prodwell:oilWaterRatioByMass
rdf:type owl:FunctionalProperty , owl:ObjectProperty , ep-core:Class_of_indirect_property ;
rdf:type ep-core:Class_of_indirect_property , owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:domain ep-well:Fluid ;
rdfs:label "oil/water ratio by mass"^^xsd:string ;
rdfs:range <http://www.reportinghub.no/ep/schema/production-core#MassRatio> .
ep-prodwell:potentialGasProduction
rdf:type ep-core:Class_of_indirect_property , owl:ObjectProperty , owl:FunctionalProperty ;
rdf:type owl:FunctionalProperty , owl:ObjectProperty , ep-core:Class_of_indirect_property ;
rdfs:domain ep-well:WellBore ;
rdfs:label "potential gas production"^^xsd:string ;
rdfs:range ep-core:VolumetricFlowRate .
ep-prodwell:potentialOilProduction
rdf:type owl:FunctionalProperty , owl:ObjectProperty , ep-core:Class_of_indirect_property ;
rdfs:domain ep-well:WellBore ;
rdfs:label "potential gas production"^^xsd:string ;
rdfs:range ep-core:VolumetricFlowRate .
......
......@@ -48,7 +48,7 @@ sp:if
<http://www.reportinghub.no/ep/dpr/spin/1.1/lib>
rdf:type owl:Ontology ;
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> ;
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> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
ep-dpr-spin-lib:BuildDailyProductionReportURI
......@@ -5470,22 +5470,6 @@ ep-dpr-spin-lib:selectSpecificVolumeScale_MASS_CONCENTRATION
rdfs:subClassOf ep-dpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b29) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#VPVU_m3m3>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#fractionByVolume> ;
sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
] ;
sp:variable _:b29
])
] ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables ([ sp:varName "myVar"^^xsd:string
]) ;
sp:where ([ rdf:type sp:Bind ;
......@@ -5565,6 +5549,22 @@ ep-dpr-spin-lib:selectSpecificVolumeScale_MASS_CONCENTRATION
[ sp:varName "myVar"^^xsd:string
]
])
] ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b29) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#VPVU_m3m3>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#fractionByVolume> ;
sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
] ;
sp:variable _:b29
])
] .
ep-dpr-spin-lib:selectTemperatureScale
......@@ -6220,13 +6220,13 @@ ep-dpr-spin-lib:selectVolumeFlowRateScale
])
] .
ep-dpr-spin-lib:selectVolumePerVolumeScale
ep-dpr-spin-lib:selectVolumePerUnitVolumeConcentrationScale
rdf:type spin:Function ;
rdfs:label "select VolumePerVolume scale"^^xsd:string ;
rdfs:label "select VolumePerUnitVolumeConcentrationScale"^^xsd:string ;
rdfs:subClassOf ep-dpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables ([ sp:varName "myVar"^^xsd:string
sp:resultVariables ([ sp:varName "volumePerUnitVolumeConcentrationScale"^^xsd:string
]) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
......@@ -6575,7 +6575,7 @@ ep-dpr-spin-lib:selectVolumePerVolumeScale
]
] ;
sp:variable
[ sp:varName "myVar"^^xsd:string
[ sp:varName "volumePerUnitVolumeConcentrationScale"^^xsd:string
]
])
] .
......@@ -7093,89 +7093,89 @@ ep-dpr-spin-lib:selectWorkScale
])
] .
_:b1 sp:varName "uri"^^xsd:string .
_:b32
sp:varName "volumeFlowRateAtStdType"^^xsd:string .
_:b2 sp:varName "uri"^^xsd:string .
_:b31
sp:varName "volumeAtStdType"^^xsd:string .
_:b3 sp:varName "UUID"^^xsd:string .
_:b30
sp:varName "temporalPartOfAFlowDurationType"^^xsd:string .
_:b4 sp:varName "uri"^^xsd:string .
_:b29
sp:varName "specificVolumeScale"^^xsd:string .
_:b5 sp:varName "uri"^^xsd:string .
_:b28
sp:varName "safetyActivityType"^^xsd:string .
_:b6 sp:varName "uri"^^xsd:string .
_:b27
sp:varName "relationshipToMeasure"^^xsd:string .
_:b7 sp:varName "uri"^^xsd:string .
_:b26
sp:varName "productionFlowPurposeType"^^xsd:string .
_:b8 sp:varName "uri"^^xsd:string .
_:b25
sp:varName "productionFlowDirectionRelationshipType"^^xsd:string .
_:b9 sp:varName "uri"^^xsd:string .
_:b24
sp:varName "productionFlowDirectionRelationshipType"^^xsd:string .
_:b10
sp:varName "uri"^^xsd:string .
_:b23
sp:varName "productionFlowDefinitionType"^^xsd:string .
_:b11
sp:varName "uri"^^xsd:string .
_:b22
sp:varName "productionFacilityType"^^xsd:string .
_:b12
sp:varName "uri"^^xsd:string .
_:b21
sp:varName "productType"^^xsd:string .
_:b13
_:b20
sp:varName "densityScale"^^xsd:string .
_:b19
sp:varName "uri"^^xsd:string .
_:b14
_:b18
sp:varName "uri"^^xsd:string .
_:b15
_:b17
sp:varName "uri"^^xsd:string .
_:b16
sp:varName "uri"^^xsd:string .
_:b17
_:b15
sp:varName "uri"^^xsd:string .
_:b18
_:b14
sp:varName "uri"^^xsd:string .
_:b19
_:b13
sp:varName "uri"^^xsd:string .
_:b20
sp:varName "densityScale"^^xsd:string .
_:b21
sp:varName "productType"^^xsd:string .
_:b12
sp:varName "uri"^^xsd:string .
_:b22
sp:varName "productionFacilityType"^^xsd:string .
_:b11
sp:varName "uri"^^xsd:string .
_:b23
sp:varName "productionFlowDefinitionType"^^xsd:string .
_:b10
sp:varName "uri"^^xsd:string .
_:b24
sp:varName "productionFlowDirectionRelationshipType"^^xsd:string .
_:b9 sp:varName "uri"^^xsd:string .
_:b25
sp:varName "productionFlowDirectionRelationshipType"^^xsd:string .
_:b8 sp:varName "uri"^^xsd:string .
_:b26
sp:varName "productionFlowPurposeType"^^xsd:string .
_:b7 sp:varName "uri"^^xsd:string .
_:b27
sp:varName "relationshipToMeasure"^^xsd:string .
_:b6 sp:varName "uri"^^xsd:string .
_:b28
sp:varName "safetyActivityType"^^xsd:string .
_:b5 sp:varName "uri"^^xsd:string .
_:b29
sp:varName "specificVolumeScale"^^xsd:string .
_:b4 sp:varName "uri"^^xsd:string .
_:b30
sp:varName "temporalPartOfAFlowDurationType"^^xsd:string .
_:b3 sp:varName "UUID"^^xsd:string .
_:b31
sp:varName "volumeAtStdType"^^xsd:string .
_:b2 sp:varName "uri"^^xsd:string .
_:b32
sp:varName "volumeFlowRateAtStdType"^^xsd:string .
_:b1 sp:varName "uri"^^xsd:string .
......
# baseURI: http://www.reportinghub.no/ep/transform/1.0/dpr/collector
# imports: http://spinrdf.org/spin
# imports: http://www.reportinghub.no/ep/schema/1.0/production
# imports: http://www.reportinghub.no/ep/transform/1.0/dpr/dailyProductionActivity
# imports: http://www.reportinghub.no/ep/transform/1.0/dpr/dailyProductionReport
# imports: http://www.reportinghub.no/ep/transform/1.0/dpr/injectionTestData
# imports: http://www.reportinghub.no/ep/transform/1.0/dpr/injectionTestResults
# imports: http://www.reportinghub.no/ep/transform/1.0/dpr/productVolume
# imports: http://www.reportinghub.no/ep/transform/1.0/dpr/productVolumeReport
# imports: http://www.reportinghub.no/ep/transform/1.0/dpr/productionOperations
# imports: http://www.reportinghub.no/ep/transform/1.0/dpr/productionTestResults
# imports: http://www.reportinghub.no/ep/transform/1.0/dpr/wellTest
@prefix dailyProductionActivity: <http://www.reportinghub.no/ep/transform/1.0/dpr/dailyProductionActivity#> .
@prefix dailyProductionActivity: <http://www.reportinghub.no/ep/transform/1.0/dpr/dailyProductionReport#> .
@prefix injectionTestData: <http://www.reportinghub.no/ep/transform/1.0/dpr/injectionTestData#> .
@prefix injectionTestResults: <http://www.reportinghub.no/ep/transform/1.0/dpr/injectionTestResults#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix productVolume: <http://www.reportinghub.no/ep/transform/1.0/dpr/productVolume#> .
@prefix productVolumeReport: <http://www.reportinghub.no/ep/transform/1.0/dpr/productVolumeReport#> .
@prefix productionOperations: <http://www.reportinghub.no/ep/transform/1.0/dpr/productionOperations#> .
@prefix productionTestResults: <http://www.reportinghub.no/ep/transform/1.0/dpr/productionTestResults#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
......@@ -26,5 +28,5 @@
<http://www.reportinghub.no/ep/transform/1.0/dpr/collector>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/transform/1.0/dpr/dailyProductionActivity> , <http://www.reportinghub.no/ep/transform/1.0/dpr/productionOperations> , <http://www.reportinghub.no/ep/transform/1.0/dpr/wellTest> , <http://www.reportinghub.no/ep/transform/1.0/dpr/productVolume> , <http://www.reportinghub.no/ep/transform/1.0/dpr/productionTestResults> , <http://www.reportinghub.no/ep/transform/1.0/dpr/injectionTestData> , <http://www.reportinghub.no/ep/schema/1.0/production> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/transform/1.0/dpr/injectionTestResults> ;
owl:imports <http://www.reportinghub.no/ep/transform/1.0/dpr/dailyProductionReport> , <http://www.reportinghub.no/ep/transform/1.0/dpr/productionOperations> , <http://www.reportinghub.no/ep/transform/1.0/dpr/wellTest> , <http://www.reportinghub.no/ep/transform/1.0/dpr/productVolume> , <http://www.reportinghub.no/ep/transform/1.0/dpr/productVolumeReport> , <http://www.reportinghub.no/ep/transform/1.0/dpr/productionTestResults> , <http://www.reportinghub.no/ep/transform/1.0/dpr/injectionTestData> , <http://www.reportinghub.no/ep/schema/1.0/production> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/transform/1.0/dpr/injectionTestResults> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
......
# baseURI: http://www.reportinghub.no/ep/transform/1.0/dpr/dailyProductionReport
# imports: http://spinrdf.org/spin
# imports: http://www.reportinghub.no/ep/dpr/spin/1.1/lib
# imports: http://www.reportinghub.no/ep/schema/1.0/activity
# imports: http://www.reportinghub.no/ep/schema/1.0/production-core
# imports: http://www.reportinghub.no/ep/schema/1.0/production-well
# imports: http://www.witsml.org/schemas/131/addendum/combo
@prefix : <http://www.reportinghub.no/ep/transform/1.0/dpr/dailyProductionReport#> .
@prefix ep-dpr-spin-lib: <http://www.reportinghub.no/ep/dpr/spin/1.1/lib#> .
@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> .
@prefix fn: <http://www.w3.org/2005/xpath-functions#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix rhspin: <http://www.reportinghub.no/spin/rh#> .
@prefix sp: <http://spinrdf.org/sp#> .
@prefix spin: <http://spinrdf.org/spin#> .
@prefix spl: <http://spinrdf.org/spl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/ep/transform/1.0/dpr/dailyProductionReport>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/production-well> , <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/schema/1.0/production-core> , <http://www.witsml.org/schemas/131/addendum/combo> , <http://spinrdf.org/spin> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
<http://www.witsml.org/schemas/131/addendum/combo#A_Global-WITSMLComposite>
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 10001 Create the DailyProductionReport"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-report#DailyProductionReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "dailyProductionReport"^^xsd:string
]
] [ sp:object
[ sp:varName "docName"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject
[ sp:varName "dailyProductionReport"^^xsd:string
]
] [ sp:object
[ sp:varName "docDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-report#dateCoveredByReport> ;
sp:subject
[ sp:varName "dailyProductionReport"^^xsd:string
]
] [ sp:object
[ sp:varName "fileCreationDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#createdAt> ;
sp:subject
[ sp:varName "dailyProductionReport"^^xsd:string
]
] [ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "dailyProductionReport"^^xsd:string
]
]) ;
sp:where ([ sp:object
[ sp:varName "documentInfoRef"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#documentInfoRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "documentNameRef"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#documentNameRef> ;
sp:subject
[ sp:varName "documentInfoRef"^^xsd:string
]
] [ sp:object
[ sp:varName "documentName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "documentNameRef"^^xsd:string
]
] [ sp:object
[ sp:varName "documentDate"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#documentDate> ;
sp:subject
[ sp:varName "documentInfoRef"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "fileCreationInformationRef"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#fileCreationInformationRef> ;
sp:subject
[ sp:varName "documentInfoRe"^^xsd:string
]
] [ sp:object
[ sp:varName "fileCreationDate"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#fileCreationDate> ;
sp:subject
[ sp:varName "fileCreationInformationRef"^^xsd:string
]
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [ sp:varName "documentName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "normalizedDocumentName"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildDailyProductionReportURI ;
sp:arg1 [ sp:varName "normalizedDocumentName"^^xsd:string
] ;
sp:arg2 [ sp:varName "documentDate"^^xsd:string
]
] ;
sp:variable
[ sp:varName "dailyProductionReport"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 10003 Set the overall daily activity installation and its operator"^^xsd:string ;
sp:templates ([ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#productionOperator> ;
sp:subject
[ sp:varName "dailyProductionActivity"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/organization#Company> ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object <http://www.reportinghub.no/np/schema/npd#OperatingCompany> ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object
[ sp:varName "operatorName"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject _:b1
] [ sp:object _:b2 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#onProductionFacility> ;
sp:subject
[ sp:varName "dailyProductionActivity"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
sp:predicate rdf:type ;
sp:subject _:b2
] [ sp:object
[ sp:varName "productionInstallation"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b2
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionInstallation"^^xsd:string
]
] [ sp:object
[ sp:varName "productionInstallationType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionInstallation"^^xsd:string
]
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "dailyProductionReport"^^xsd:string
]
] [ sp:object
[ sp:varName "dailyProductionActivity"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
sp:subject
[ sp:varName "dailyProductionReport"^^xsd:string
]
] [ sp:object
[ sp:varName "productionOperationSetRef"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productionOperationSetRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "productionOperationRef"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productionOperationRef> ;
sp:subject
[ sp:varName "productionOperationSetRef"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "installationRef"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#installationRef> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "installationRef"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "installationKind"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ;
sp:subject
[ sp:varName "installationRef"^^xsd:string
]
])
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "operator"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#operatorRef> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "operatorName"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#name> ;
sp:subject
[ sp:varName "operator"^^xsd:string
]
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [ sp:varName "installationName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "normalizedInstallationName"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildProductionFacilityURI ;
sp:arg1 [ sp:varName "normalizedInstallationName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "productionInstallation"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:selectProductionFacilityType ;
sp:arg1 [ sp:varName "installationKind"^^xsd:string
]
] ;
sp:variable
[ sp:varName "productionInstallationType"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 10002a Create the DailyProductionActivity - start and end date-times
The DPR transform will fall in a heap unless productionOperation/installationRef is supplied. The XML schema says it is optional."""^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "dailyProductionActivity"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
sp:subject
[ sp:varName "dailyProductionReport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "dailyProductionActivity"^^xsd:string
]
] [ sp:object
[ sp:varName "startDateTime"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
sp:subject
[ sp:varName "dailyProductionActivity"^^xsd:string
]
] [ sp:object
[ sp:varName "endDateTime"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
[ sp:varName "dailyProductionActivity"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#AnnualProductionActivityToDate> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "annualProductionActivityToDate"^^xsd:string
]
] [ sp:object
[ sp:varName "endDateTime"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
[ sp:varName "annualProductionActivityToDate"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/activity#ProductionActivityToDate> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionActivityToDate"^^xsd:string
]
] [ sp:object
[ sp:varName "annualProductionActivityToDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "dailyProductionActivity"^^xsd:string
]
] [ sp:object
[ sp:varName "endDateTime"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
[ sp:varName "productionActivityToDate"^^xsd:string
]
] [ sp:object
[ sp:varName "productionActivityToDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "annualProductionActivityToDate"^^xsd:string
]
] [ sp:object
[ sp:varName "productionActivityToDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "dailyProductionActivity"^^xsd:string
]
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "dailyProductionReport"^^xsd:string
]
] [ sp:object
[ sp:varName "productionOperationSetRef"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productionOperationSetRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "productionOperationRef"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productionOperationRef> ;
sp:subject
[ sp:varName "productionOperationSetRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationRef"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#installationRef> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "installationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "startDateTime"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dTimStart> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "endDateTime"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dTimEnd> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [ sp:varName "installationName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "normalizedInstallationName"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildDailyProductionActivityURI ;
sp:arg1 [ sp:varName "normalizedInstallationName"^^xsd:string
] ;
sp:arg2 [ sp:varName "startDateTime"^^xsd:string
] ;
sp:arg3 [ sp:varName "endDateTime"^^xsd:string
]
] ;
sp:variable
[ sp:varName "dailyProductionActivity"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildAnnualProductionActivityToEndOfPeriodURI ;
sp:arg1 [ sp:varName "normalizedInstallationName"^^xsd:string
] ;
sp:arg2 [ sp:varName "endDateTime"^^xsd:string
]
] ;
sp:variable
[ sp:varName "annualProductionActivityToDate"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildProductionActivityToDateURI ;
sp:arg1 [ sp:varName "normalizedInstallationName"^^xsd:string
] ;
sp:arg2 [ sp:varName "endDateTime"^^xsd:string
]
] ;
sp:variable
[ sp:varName "productionActivityToDate"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 10002b Create the DailyProductionActivity - start and end dates
The DPR transform will fall in a heap unless productionOperation/installationRef is supplied. The XML schema says it is optional."""^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "dailyProductionActivity"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
sp:subject
[ sp:varName "dailyProductionReport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "dailyProductionActivity"^^xsd:string
]
] [ sp:object
[ sp:varName "startDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
sp:subject
[ sp:varName "dailyProductionActivity"^^xsd:string
]
] [ sp:object
[ sp:varName "endDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
[ sp:varName "dailyProductionActivity"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#AnnualProductionActivityToDate> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "annualProductionActivityToDate"^^xsd:string
]
] [ sp:object
[ sp:varName "endDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
[ sp:varName "annualProductionActivityToDate"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/activity#ProductionActivityToDate> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionActivityToDate"^^xsd:string
]
] [ sp:object
[ sp:varName "annualProductionActivityToDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "dailyProductionActivity"^^xsd:string
]
] [ sp:object
[ sp:varName "endDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
[ sp:varName "productionActivityToDate"^^xsd:string
]
] [ sp:object
[ sp:varName "productionActivityToDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "annualProductionActivityToDate"^^xsd:string
]
] [ sp:object
[ sp:varName "productionActivityToDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "dailyProductionActivity"^^xsd:string
]
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "dailyProductionReport"^^xsd:string
]
] [ sp:object
[ sp:varName "productionOperationSetRef"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productionOperationSetRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "productionOperationRef"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productionOperationRef> ;
sp:subject
[ sp:varName "productionOperationSetRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationRef"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#installationRef> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "installationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "startDate"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dateStart> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "endDate"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dateEnd> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [ sp:varName "installationName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "normalizedInstallationName"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildDailyProductionActivityURI ;
sp:arg1 [ sp:varName "normalizedInstallationName"^^xsd:string
] ;
sp:arg2 [ sp:varName "startDateTime"^^xsd:string
] ;
sp:arg3 [ sp:varName "endDate"^^xsd:string
]
] ;
sp:variable
[ sp:varName "dailyProductionActivity"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildAnnualProductionActivityToEndOfPeriodURI ;
sp:arg1 [ sp:varName "normalizedInstallationName"^^xsd:string
] ;
sp:arg2 [ sp:varName "endDate"^^xsd:string
]
] ;
sp:variable
[ sp:varName "annualProductionActivityToDate"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildProductionActivityToDateURI ;
sp:arg1 [ sp:varName "normalizedInstallationName"^^xsd:string
] ;
sp:arg2 [ sp:varName "endDate"^^xsd:string
]
] ;
sp:variable
[ sp:varName "productionActivityToDate"^^xsd:string
]
])
] .