David Leal

Function added to DPR-lib + minor updates elsewhere.

......@@ -34,7 +34,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#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> .
<http://www.reportinghub.no/ep/schema/activity#WeeklyProductionActivity>
rdf:type ep-prodact:ProductionOperationClassByDuration .
......@@ -49,7 +49,7 @@
rdfs:range <http://www.reportinghub.no/ep/schema/flow#Flow> .
ep-core:Mass
rdf:type rdfs:Class , ep-core:PropertySpace ;
rdf:type ep-core:PropertySpace , rdfs:Class ;
rdfs:label "mass"^^xsd:string ;
rdfs:subClassOf ep-core:MeasureOfAmountOfMaterial .
......@@ -90,13 +90,13 @@ ep-core:Mass
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> .
ep-prodact:AdministerFirstAid
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:AirTrafficOperation
rdf:type owl:Class , ep-prodact:ProductionActivityType ;
rdf:type ep-prodact:ProductionActivityType , owl:Class ;
rdfs:label "air traffic operation"^^xsd:string ;
rdfs:subClassOf ep-prodact:TransportationActivity , ep-prodact:PartOfProductionActivity .
rdfs:subClassOf ep-prodact:PartOfProductionActivity , ep-prodact:TransportationActivity .
ep-prodact:Alarm
rdf:type owl:Class ;
......@@ -115,49 +115,49 @@ ep-prodact:AmountOfSubstance
rdfs:subClassOf ep-core:PhysicalObject .
ep-prodact:AnnualProductionActivity
rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
ep-prodact:AnnualProductionActivityToEndOfReportingPeriod
rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
rdfs:subClassOf ep-prodact:AnnualProductionActivity .
ep-prodact:AnnualProductionOperationsActivityToEndOfReportingPeriod
rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
rdfs:subClassOf ep-prodact:AnnualProductionActivityToEndOfReportingPeriod , ep-prodact:ProductionOperationsActivity .
rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
rdfs:subClassOf ep-prodact:ProductionOperationsActivity , ep-prodact:AnnualProductionActivityToEndOfReportingPeriod .
ep-prodact:AnnualProductionVolumeActivityToEndOfReportingPeriod
rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
rdfs:subClassOf ep-prodact:AnnualProductionActivityToEndOfReportingPeriod , ep-prodact:ProductionVolumeActivity .
rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
rdfs:subClassOf ep-prodact:ProductionVolumeActivity , ep-prodact:AnnualProductionActivityToEndOfReportingPeriod .
ep-prodact:CargoShipOperation
rdf:type owl:Class ;
rdfs:subClassOf ep-prodact:TransportationActivity , ep-prodact:PartOfProductionActivity .
rdfs:subClassOf ep-prodact:PartOfProductionActivity , ep-prodact:TransportationActivity .
ep-prodact:ConstructionOperation
rdf:type owl:Class , ep-prodact:ProductionActivityType ;
rdf:type ep-prodact:ProductionActivityType , owl:Class ;
rdfs:label "construction operation"^^xsd:string ;
rdfs:subClassOf ep-prodact:PartOfProductionActivity .
ep-prodact:CumulativeProductionActivitySinceProductionBegan
rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
ep-prodact:DailyProductionOperationsActivity
rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity> , ep-prodact:ProductionOperationsActivity .
rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
rdfs:subClassOf ep-prodact:ProductionOperationsActivity , <http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity> .
ep-prodact:DailyProductionVolumeActivity
rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity> , ep-prodact:ProductionVolumeActivity .
rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
rdfs:subClassOf ep-prodact:ProductionVolumeActivity , <http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity> .
ep-prodact:Deviation
rdf:type owl:Class , ep-prodact:ProductionActivityType ;
rdf:type ep-prodact:ProductionActivityType , owl:Class ;
rdfs:label "deviation"^^xsd:string ;
rdfs:subClassOf ep-prodact:PartOfProductionActivity .
ep-prodact:DrillOrExcercise
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:Fire
......@@ -179,7 +179,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#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> .
ep-prodact:FusionOfHSEActivitiesOverPeriod
rdf:type owl:Class ;
......@@ -198,16 +198,21 @@ ep-prodact:Incident
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:InitialWellTest
rdf:type ep-prodact:WellTestReasonType , owl:Class ;
rdf:type owl:Class , ep-prodact:WellTestReasonType ;
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> .
ep-prodact:Injury
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:IssueWorkPermit
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:JobObservation
......@@ -227,20 +232,20 @@ ep-prodact:LostTimeIncident
rdfs:subClassOf ep-prodact:Incident .
ep-prodact:MaintenanceActivity
rdf:type owl:Class , ep-prodact:ProductionActivityType ;
rdf:type ep-prodact:ProductionActivityType , owl:Class ;
rdfs:label "maintenance activity"^^xsd:string ;
rdfs:subClassOf ep-prodact:PartOfProductionActivity .
ep-prodact:MarineOperation
rdf:type owl:Class ;
rdfs:subClassOf ep-prodact:TransportationActivity , ep-prodact:PartOfProductionActivity .
rdfs:subClassOf ep-prodact:PartOfProductionActivity , ep-prodact:TransportationActivity .
ep-prodact:MedicalTreatmentInjury
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdfs:subClassOf ep-prodact:Injury .
ep-prodact:MonthlyProductionActivityToEndOfReportingPeriod
rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#MonthlyProductionActivity> .
ep-prodact:NearMiss
......@@ -252,7 +257,7 @@ ep-prodact:NotablePartOfProductionActivity
rdfs:subClassOf ep-prodact:PartOfProductionActivity .
ep-prodact:OtherReasonWellTest
rdf:type ep-prodact:WellTestReasonType , owl:Class ;
rdf:type owl:Class , ep-prodact:WellTestReasonType ;
rdfs:label "other"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> .
......@@ -267,17 +272,17 @@ ep-prodact:Participation
rdfs:subPropertyOf ep-prodact:involvement .
ep-prodact:PeriodicWellTest
rdf:type ep-prodact:WellTestReasonType , owl:Class ;
rdf:type owl:Class , ep-prodact:WellTestReasonType ;
rdfs:label "periodic"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> .
ep-prodact:PowerStationFailure
rdf:type owl:Class , ep-prodact:ProductionActivityType ;
rdf:type ep-prodact:ProductionActivityType , owl:Class ;
rdfs:label "power station failure"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> .
ep-prodact:ProductionActivityLastingLessThanAYear
rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
ep-prodact:ProductionActivityType
......@@ -290,7 +295,7 @@ ep-prodact:ProductionOperationClassByDuration
rdfs:subClassOf owl:Class .
ep-prodact:ProductionOperationsActivity
rdf:type owl:Class , ep-prodact:ProductionActivityType ;
rdf:type ep-prodact:ProductionActivityType , owl:Class ;
rdfs:label "production operations activity"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
......@@ -303,7 +308,7 @@ ep-prodact:ReleasedToWater
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:ReportHazard
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:RestrictedWork
......@@ -311,11 +316,11 @@ ep-prodact:RestrictedWork
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:RestrictedWorkInjury
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdfs:subClassOf ep-prodact:Injury .
ep-prodact:RevisionWellTest
rdf:type ep-prodact:WellTestReasonType , owl:Class ;
rdf:type owl:Class , ep-prodact:WellTestReasonType ;
rdfs:label "revision"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> .
......@@ -324,7 +329,7 @@ ep-prodact:SafetyActivityType
rdfs:subClassOf owl:Class .
ep-prodact:SafetyMeeting
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:SampleAmountOfSubstance
......@@ -344,7 +349,7 @@ ep-prodact:SickOnBoard
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:SpillOrLeak
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:TransportationActivity
......@@ -352,7 +357,7 @@ ep-prodact:TransportationActivity
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> .
ep-prodact:UnknownReasonWellTest
rdf:type ep-prodact:WellTestReasonType , owl:Class ;
rdf:type owl:Class , ep-prodact:WellTestReasonType ;
rdfs:label "unknown"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> .
......@@ -362,7 +367,7 @@ ep-prodact:WaterCleaningOperation
ep-prodact:WaterSample
rdf:type owl:Class ;
rdfs:subClassOf ep-prodact:SampleAmountOfSubstance , <http://www.reportinghub.no/ep/schema/well#Water> .
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/well#Water> , ep-prodact:SampleAmountOfSubstance .
ep-prodact:WellTestReasonType
rdf:type rdfs:Class ;
......@@ -370,11 +375,11 @@ ep-prodact:WellTestReasonType
rdfs:subClassOf owl:Class .
ep-prodact:WorkingUnderPermit
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:WorkingUnderPermitWithSJA
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdfs:subClassOf ep-prodact:WorkingUnderPermit .
ep-prodact:ammoniumDensity
......@@ -426,7 +431,7 @@ ep-prodact:hasPredecessor
rdfs:range <http://www.reportinghub.no/ep/schema/activity#Activity> .
ep-prodact:hasShutInPressure
rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
rdfs:domain <http://www.reportinghub.no/ep/schema/activity#ProductionWellTest> ;
rdfs:label "has shut-in pressure"^^xsd:string ;
rdfs:range ep-core:Pressure .
......@@ -550,7 +555,7 @@ ep-prodact:standbyVessel
rdfs:subPropertyOf ep-prodact:involvedVessel .
ep-prodact:testedWellBoreInterval
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:domain <http://www.reportinghub.no/ep/schema/activity#WellTest> ;
rdfs:label "tested wellbore interval"^^xsd:string ;
rdfs:range ep-core:PhysicalObject .
......@@ -570,6 +575,12 @@ ep-prodact:waterSampleTaken
rdfs:domain ep-prodact:WaterCleaningOperation ;
rdfs:range ep-prodact:WaterSample .
ep-prodact:wellTestInjectedFluid
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:domain ep-prodact:InjectionWellTest ;
rdfs:label "well test injected fluid"^^xsd:string ;
rdfs:range <http://www.reportinghub.no/ep/schema/well#Fluid> .
ep-prodact:yearlyActivityToDate
rdf:type owl:ObjectProperty ;
rdfs:domain ep-prodact:ProductionActivityLastingLessThanAYear ;
......
......@@ -14,46 +14,123 @@
owl:imports <http://www.reportinghub.no/ep/schema/1.0/well> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
ep-prodwell:Air
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-well:FluidComponentType , owl:Class , ep-prodwell:InjectionFluidType ;
rdfs:label "brine"^^xsd:string ;
rdfs:subClassOf ep-well:Water .
ep-prodwell:Co2
rdf:type owl:Class , ep-prodwell:InjectionFluidType ;
rdfs:label "CO2"^^xsd:string ;
rdfs:subClassOf ep-prodwell:NonHcGas .
ep-prodwell:DryFluid
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-well:FluidComponentType , owl:Class , ep-prodwell:InjectionFluidType ;
rdfs:label "fresh water"^^xsd:string ;
rdfs:subClassOf ep-well:Water .
ep-prodwell:GasAndWater
rdf:type ep-well:FluidComponentType , owl:Class , ep-prodwell:InjectionFluidType ;
rdfs:label "gas and water"^^xsd:string ;
rdfs:subClassOf ep-well:Fluid .
ep-prodwell:InjectionFluidType
rdf:type rdfs:Class ;
rdfs:label "injection fluid type"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-prodwell:NaturalGasClass
rdf:type rdfs:Class ;
rdfs:label "natural gas class"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-prodwell:NonHcGas
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-prodwell:InjectionFluidType , owl:Class , ep-well:FluidComponentType ;
rdfs:label "oil and gas"^^xsd:string ;
rdfs:subClassOf ep-well:Fluid .
ep-prodwell:OilAndWater
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-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-well:FluidComponentType , owl:Class , ep-prodwell:InjectionFluidType ;
rdfs:label "steam"^^xsd:string ;
rdfs:subClassOf ep-prodwell:NonHcGas .
ep-prodwell:UnknownFluid
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: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:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:domain ep-well:WellBore ;
rdfs:label "potential oil production"^^xsd:string ;
rdfs:range ep-core:VolumetricFlowRate .
ep-well:Condensate
rdf:type ep-prodwell:InjectionFluidType .
ep-well:Gas
rdf:type ep-prodwell:InjectionFluidType .
ep-well:Oil
rdf:type ep-prodwell:InjectionFluidType .
ep-well:Water
rdf:type ep-prodwell:InjectionFluidType .
......
......@@ -20,7 +20,7 @@
<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> ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/production-core> , <http://www.witsml.org/schemas/131/addendum/combo> , <http://www.reportinghub.no/ep/schema/1.0/production> , <http://spinrdf.org/spin> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
ep-dpr-spin-lib:BuildDailyProductionReportURI
......@@ -1726,6 +1726,135 @@ ep-dpr-spin-lib:selectIlluminanceScale
])
] .
ep-dpr-spin-lib:selectInjectedFluidType
rdf:type spin:Function ;
rdfs:label "select DensityAtStandardTemperaturePressureType"^^xsd:string ;
rdfs:subClassOf ep-dpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables ([ sp:varName "injectedFluidType"^^xsd:string
]) ;
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#IF_oil>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/well#Oil> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#IF_gas>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/well#Gas> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#IF_nonHCgas>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/production-well#NonHcGas> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#IF_CO2>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/production-well#Co2> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#IF_water>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/well#Water> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#IF_brine>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/production-well#Brine> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#IF_freshwater>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/production-well#FreshWater> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#IF_oil-gas>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/production-well#OilAndGas> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#IF_oil-water>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/production-well#OilAndWater> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#IF_gas-water>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/production-well#GasAndWater> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#IF_condensate>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/well#Condensate> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#IF_steam>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/production-well#Steam> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#IF_air>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/production-well#Air> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#IF_dry>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/production-well#DryFluid> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#IF_unknown>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/production-well#UnknownFluid> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#IF_other>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/production-well#OtherInjectionFluid> ;
sp:arg3 <http://www.reportinghub.no/ep/schema/well#Fluid>
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
] ;
sp:variable
[ sp:varName "injectedFluidType"^^xsd:string
]
])
] .
ep-dpr-spin-lib:selectLengthPerLengthScale
rdf:type spin:Function ;
rdfs:label "select density scale"^^xsd:string ;
......@@ -4309,110 +4438,110 @@ ep-dpr-spin-lib:selectWellTestReasonType
])
] .
_:b1 sp:varName "uri"^^xsd:string .
_:b39
sp:varName "volumeScale"^^xsd:string .
_:b2 sp:varName "uri"^^xsd:string .
_:b38
sp:varName "volumeFlowRateScale"^^xsd:string .
_:b3 sp:varName "UUID"^^xsd:string .
_:b37
sp:varName "volumeFlowRateAtStdType"^^xsd:string .
_:b4 sp:varName "uri"^^xsd:string .
_:b36
sp:varName "volumeAtStdType"^^xsd:string .
_:b5 sp:varName "uri"^^xsd:string .
_:b35
sp:varName "prodActType"^^xsd:string .
_:b6 sp:varName "uri"^^xsd:string .
_:b34
sp:varName "temporalPartOfAFlowDurationType"^^xsd:string .
_:b7 sp:varName "uri"^^xsd:string .
_:b33
sp:varName "temperatureScale"^^xsd:string .
_:b8 sp:varName "uri"^^xsd:string .
_:b32
sp:varName "specificVolumeScale"^^xsd:string .
_:b9 sp:varName "uri"^^xsd:string .
_:b31
sp:varName "safetyActivityType"^^xsd:string .
_:b10
sp:varName "uri"^^xsd:string .
_:b30
sp:varName "relationshipToMeasure"^^xsd:string .
_:b11
sp:varName "uri"^^xsd:string .
_:b29
sp:varName "popType"^^xsd:string .
_:b12
sp:varName "uri"^^xsd:string .
_:b28
sp:varName "productionFlowPurposeType"^^xsd:string .
_:b13
sp:varName "uri"^^xsd:string .
_:b27
sp:varName "productionFlowDirectionRelationshipType"^^xsd:string .
_:b14
sp:varName "uri"^^xsd:string .
_:b26
sp:varName "productionFlowDirectionRelationshipType"^^xsd:string .
_:b15
sp:varName "uri"^^xsd:string .
_:b25
sp:varName "productionFlowDefinitionType"^^xsd:string .
_:b16
sp:varName "uri"^^xsd:string .
_:b24
sp:varName "productionFacilityType"^^xsd:string .
_:b17
sp:varName "uri"^^xsd:string .
_:b23
sp:varName "productType"^^xsd:string .
_:b18
sp:varName "uri"^^xsd:string .
_:b22
sp:varName "pressureScale"^^xsd:string .
_:b19
sp:varName "uri"^^xsd:string .
_:b21
sp:varName "durationScale"^^xsd:string .
_:b20
sp:varName "densityScale"^^xsd:string .
_:b21
sp:varName "durationScale"^^xsd:string .
_:b19
sp:varName "uri"^^xsd:string .
_:b22
sp:varName "pressureScale"^^xsd:string .
_:b18
sp:varName "uri"^^xsd:string .
_:b23
sp:varName "productType"^^xsd:string .
_:b17
sp:varName "uri"^^xsd:string .
_:b24
sp:varName "productionFacilityType"^^xsd:string .
_:b16
sp:varName "uri"^^xsd:string .
_:b25
sp:varName "productionFlowDefinitionType"^^xsd:string .
_:b15
sp:varName "uri"^^xsd:string .
_:b26
sp:varName "productionFlowDirectionRelationshipType"^^xsd:string .
_:b14
sp:varName "uri"^^xsd:string .
_:b27
sp:varName "productionFlowDirectionRelationshipType"^^xsd:string .
_:b13
sp:varName "uri"^^xsd:string .
_:b28
sp:varName "productionFlowPurposeType"^^xsd:string .
_:b12
sp:varName "uri"^^xsd:string .
_:b29
sp:varName "popType"^^xsd:string .
_:b11
sp:varName "uri"^^xsd:string .
_:b30
sp:varName "relationshipToMeasure"^^xsd:string .
_:b10
sp:varName "uri"^^xsd:string .
_:b31
sp:varName "safetyActivityType"^^xsd:string .
_:b9 sp:varName "uri"^^xsd:string .
_:b32
sp:varName "specificVolumeScale"^^xsd:string .
_:b8 sp:varName "uri"^^xsd:string .
_:b33
sp:varName "temperatureScale"^^xsd:string .
_:b7 sp:varName "uri"^^xsd:string .
_:b34
sp:varName "temporalPartOfAFlowDurationType"^^xsd:string .
_:b6 sp:varName "uri"^^xsd:string .
_:b35
sp:varName "prodActType"^^xsd:string .
_:b5 sp:varName "uri"^^xsd:string .
_:b36
sp:varName "volumeAtStdType"^^xsd:string .
_:b4 sp:varName "uri"^^xsd:string .
_:b37
sp:varName "volumeFlowRateAtStdType"^^xsd:string .
_:b3 sp:varName "UUID"^^xsd:string .
_:b38
sp:varName "volumeFlowRateScale"^^xsd:string .
_:b2 sp:varName "uri"^^xsd:string .
_:b39
sp:varName "volumeScale"^^xsd:string .
_:b1 sp:varName "uri"^^xsd:string .
......
......@@ -21,40 +21,74 @@
<http://www.reportinghub.no/ep/transform/1.0/dpr/injectionTestData>
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:imports <http://spinrdf.org/spin> , <http://www.witsml.org/schemas/131/addendum/combo> , <http://www.reportinghub.no/ep/schema/1.0/production-core> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.0/production-well> ;
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 30143c Set the cumulative fluid flow - water amount"^^xsd:string ;
sp:templates ([ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasMixedPart> ;
rdfs:comment "STEP 30141 Set the tested WellBoreSection"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-activity#InjectionWellTest> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionFlowToDate"^^xsd:string
[ sp:varName "wellTest"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#WaterFlow> ;
] [ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#testedWellBoreInterval> ;
sp:subject
[ sp:varName "wellTest"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#PhysicalObject> ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object _:b2 ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#totalAmountOfMaterial> ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b1
] [ sp:object <http://www.reportinghub.no/ep/schema/well#Water> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBoreSection> ;
sp:predicate rdf:type ;
sp:subject _:b2
] [ sp:object
[ sp:varName "wellBore"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#spatialPartOf> ;
sp:subject _:b2
] [ sp:object _:b3 ;
sp:predicate rdf:type ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#measuredDepthToTheTopOfAPartOfAWellBore> ;
sp:subject _:b2
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
sp:subject _:b3
] [ sp:object
[ sp:varName "realVolume"^^xsd:string
[ sp:varName "realMdTop"^^xsd:string
] ;
sp:predicate
[ sp:varName "volumeScale"^^xsd:string
[ sp:varName "lengthScaleMdTop"^^xsd:string
] ;
sp:subject _:b3
] [ sp:object _:b4 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#measuredDepthToTheBottomOfAPartOfAWellBore> ;
sp:subject _:b2
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
sp:subject _:b4
] [ sp:object
[ sp:varName "realMdBase"^^xsd:string
] ;
sp:predicate
[ sp:varName "lengthScaleMdBase"^^xsd:string
] ;
sp:subject _:b4
] [ sp:object _:b5 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasSpatialPart> ;
sp:subject _:b2
] [ sp:object <http://www.reportinghub.no/ep/schema/well#SurroundingRockFormation> ;
sp:predicate rdf:type ;
sp:subject _:b5
] [ sp:object
[ sp:varName "testedFormation"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject _:b5
]) ;
sp:where ([ sp:object
[ sp:varName "wellSetRef"^^xsd:string
......@@ -111,13 +145,6 @@
[ sp:varName "wellTest"^^xsd:string
]
] [ sp:object
[ sp:varName "testDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#nominallyAt> ;
sp:subject
[ sp:varName "wellTest"^^xsd:string
]
] [ sp:object
[ sp:varName "wellBore"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
......@@ -125,100 +152,115 @@
[ sp:varName "temporalPartOfAWellBore"^^xsd:string
]
] [ sp:object
[ sp:varName "wellBore"^^xsd:string
[ sp:varName "injectionTestRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#flowOutOf> ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#injectionTestRef> ;
sp:subject
[ sp:varName "productionFlow"^^xsd:string
[ sp:varName "wellTestRef"^^xsd:string
]
] [ sp:object
[ sp:varName "productionFlow"^^xsd:string
[ sp:varName "testIntervalRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#testIntervalRef> ;
sp:subject
[ sp:varName "productionFlowToDate"^^xsd:string
[ sp:varName "injectionTestRef"^^xsd:string
]
] [ sp:object
[ sp:varName "testDate"^^xsd:string
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "mdTopRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#mdTopRef> ;
sp:subject
[ sp:varName "productionFlowToDate"^^xsd:string
[ sp:varName "testIntervalRef"^^xsd:string
]
] [ sp:object
[ sp:varName "injectionTestRef"^^xsd:string
[ sp:varName "realMdTop"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#injectionTestRef> ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "wellTestRef"^^xsd:string
[ sp:varName "mdTopRef"^^xsd:string
]
] [ sp:object
[ sp:varName "wellTestCumulativeRef"^^xsd:string
[ sp:varName "uomMdTop"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#wellTestCumulativeRef> ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ;
sp:subject
[ sp:varName "injectionTestRef"^^xsd:string
[ sp:varName "mdTopRef"^^xsd:string
]
] [ sp:object
[ sp:varName "cumulativeWaterRef"^^xsd:string
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "mdBaseRef"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#cumulativeWaterRef> ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#mdBaseRef> ;
sp:subject
[ sp:varName "wellTestCumulativeRef"^^xsd:string
[ sp:varName "testIntervalRef"^^xsd:string
]
] [ sp:object
[ sp:varName "realVolume"^^xsd:string
[ sp:varName "realMdBase"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "cumulativeWaterRef"^^xsd:string
[ sp:varName "mdBaseRef"^^xsd:string
]
] [ sp:object
[ sp:varName "uomVolume"^^xsd:string
[ sp:varName "uomMdBase"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ;
sp:subject
[ sp:varName "cumulativeWaterRef"^^xsd:string
[ sp:varName "mdBaseRef"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "testedFormation"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#testedFormation> ;
sp:subject
[ sp:varName "testIntervalRef"^^xsd:string
]
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:selectLengthScale ;
sp:arg1 [ sp:varName "uomVolume"^^xsd:string
sp:arg1 [ sp:varName "uomMdTop"^^xsd:string
]
] ;
sp:variable
[ sp:varName "volumeScale"^^xsd:string
[ sp:varName "lengthScaleMdTop"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:selectLengthScale ;
sp:arg1 [ sp:varName "uomMdBase"^^xsd:string
]
] ;
sp:variable
[ sp:varName "lengthScaleMdBase"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 30143b Set the cumulative fluid flow - oil amount"^^xsd:string ;
sp:templates ([ sp:object _:b4 ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasMixedPart> ;
rdfs:comment "STEP 30140 Classify as an Injection test and set duration"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-activity#InjectionWellTest> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionFlowToDate"^^xsd:string
[ sp:varName "wellTest"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#OilFlow> ;
sp:predicate rdf:type ;
sp:subject _:b4
] [ sp:object _:b5 ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#totalAmountOfMaterial> ;
sp:subject _:b4
] [ sp:object <http://www.reportinghub.no/ep/schema/well#Oil> ;
sp:predicate rdf:type ;
sp:subject _:b5
] [ sp:object _:b6 ;
sp:predicate rdf:type ;
sp:subject _:b5
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ;
sp:subject
[ sp:varName "wellTest"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#TimeDuration> ;
sp:predicate rdf:type ;
sp:subject _:b6
] [ sp:object
[ sp:varName "realVolume"^^xsd:string
[ sp:varName "realDuration"^^xsd:string
] ;
sp:predicate
[ sp:varName "volumeScale"^^xsd:string
[ sp:varName "durationScale"^^xsd:string
] ;
sp:subject _:b6
]) ;
......@@ -270,123 +312,62 @@
[ sp:varName "wellTest"^^xsd:string
]
] [ sp:object
[ sp:varName "temporalPartOfAWellBore"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject
[ sp:varName "wellTest"^^xsd:string
]
] [ sp:object
[ sp:varName "testDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#nominallyAt> ;
sp:subject
[ sp:varName "wellTest"^^xsd:string
]
] [ sp:object
[ sp:varName "wellBore"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "temporalPartOfAWellBore"^^xsd:string
]
] [ sp:object
[ sp:varName "wellBore"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#flowOutOf> ;
sp:subject
[ sp:varName "productionFlow"^^xsd:string
]
] [ sp:object
[ sp:varName "productionFlow"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "productionFlowToDate"^^xsd:string
]
] [ sp:object
[ sp:varName "testDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
[ sp:varName "productionFlowToDate"^^xsd:string
]
] [ sp:object
[ sp:varName "injectionTestRef"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#injectionTestRef> ;
sp:subject
[ sp:varName "wellTestRef"^^xsd:string
]
] [ sp:object
[ sp:varName "wellTestCumulativeRef"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#wellTestCumulativeRef> ;
sp:subject
[ sp:varName "injectionTestRef"^^xsd:string
]
] [ sp:object
[ sp:varName "cumulativeOilRef"^^xsd:string
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "testDurationRef"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#cumulativeOilRef> ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#testDurationRef> ;
sp:subject
[ sp:varName "wellTestCumulativeRef"^^xsd:string
[ sp:varName "productionTestRef"^^xsd:string
]
] [ sp:object
[ sp:varName "realVolume"^^xsd:string
[ sp:varName "realDuration"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "cumulativeOilRef"^^xsd:string
[ sp:varName "testDurationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "uomVolume"^^xsd:string
[ sp:varName "uomDuration"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ;
sp:subject
[ sp:varName "cumulativeOilRef"^^xsd:string
[ sp:varName "testDurationRef"^^xsd:string
]
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:selectLengthScale ;
sp:arg1 [ sp:varName "uomVolume"^^xsd:string
[ rdf:type ep-dpr-spin-lib:selectDurationScale ;
sp:arg1 [ sp:varName "uomDuration"^^xsd:string
]
] ;
sp:variable
[ sp:varName "volumeScale"^^xsd:string
[ sp:varName "durationScale"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 30143a Set the cumulative fluid flow - gas amount"^^xsd:string ;
rdfs:comment "STEP 30142 Set the injected fluid"^^xsd:string ;
sp:templates ([ sp:object _:b7 ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasMixedPart> ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#wellTestInjectedFluid> ;
sp:subject
[ sp:varName "productionFlowToDate"^^xsd:string
[ sp:varName "wellTest"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#GasFlow> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/well#Fluid> ;
sp:predicate rdf:type ;
sp:subject _:b7
] [ sp:object _:b8 ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#totalAmountOfMaterial> ;
sp:subject _:b7
] [ sp:object <http://www.reportinghub.no/ep/schema/well#Gas> ;
sp:predicate rdf:type ;
sp:subject _:b8
] [ sp:object _:b9 ;
sp:predicate rdf:type ;
sp:subject _:b8
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ;
sp:predicate rdf:type ;
sp:subject _:b9
] [ sp:object
[ sp:varName "realVolume"^^xsd:string
] ;
sp:predicate
[ sp:varName "volumeScale"^^xsd:string
[ sp:varName "injectedFluidType"^^xsd:string
] ;
sp:subject _:b9
sp:predicate rdf:type ;
sp:subject _:b7
]) ;
sp:where ([ sp:object
[ sp:varName "wellSetRef"^^xsd:string
......@@ -443,13 +424,6 @@
[ sp:varName "wellTest"^^xsd:string
]
] [ sp:object
[ sp:varName "testDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#nominallyAt> ;
sp:subject
[ sp:varName "wellTest"^^xsd:string
]
] [ sp:object
[ sp:varName "wellBore"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
......@@ -457,27 +431,6 @@
[ sp:varName "temporalPartOfAWellBore"^^xsd:string
]
] [ sp:object
[ sp:varName "wellBore"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#flowOutOf> ;
sp:subject
[ sp:varName "productionFlow"^^xsd:string
]
] [ sp:object
[ sp:varName "productionFlow"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "productionFlowToDate"^^xsd:string
]
] [ sp:object
[ sp:varName "testDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
[ sp:varName "productionFlowToDate"^^xsd:string
]
] [ sp:object
[ sp:varName "injectionTestRef"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#injectionTestRef> ;
......@@ -485,41 +438,20 @@
[ sp:varName "wellTestRef"^^xsd:string
]
] [ sp:object
[ sp:varName "wellTestCumulativeRef"^^xsd:string
[ sp:varName "injectedFluidRef"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#wellTestCumulativeRef> ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#injectedFluidRef> ;
sp:subject
[ sp:varName "injectionTestRef"^^xsd:string
]
] [ sp:object
[ sp:varName "cumulativeGasRef"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#cumulativeGasRef> ;
sp:subject
[ sp:varName "wellTestCumulativeRef"^^xsd:string
]
] [ sp:object
[ sp:varName "realVolume"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "cumulativeGasRef"^^xsd:string
]
] [ sp:object
[ sp:varName "uomVolume"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ;
sp:subject
[ sp:varName "cumulativeGasRef"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:selectLengthScale ;
sp:arg1 [ sp:varName "uomVolume"^^xsd:string
[ rdf:type ep-dpr-spin-lib:selectInjectedFluidType ;
sp:arg1 [ sp:varName "injectedFluidRef"^^xsd:string
]
] ;
sp:variable
[ sp:varName "volumeScale"^^xsd:string
[ sp:varName "injectedFluidType"^^xsd:string
]
])
] ;
......@@ -528,26 +460,26 @@
rdfs:comment "STEP 30143 Set the cumulative fluid flow"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/well#Fluid> ;
sp:predicate rdf:type ;
sp:subject _:b10
sp:subject _:b8
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlow> ;
sp:predicate rdf:type ;
sp:subject _:b10
sp:subject _:b8
] [ sp:object
[ sp:varName "wellBore"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#flowOutOf> ;
sp:subject _:b10
sp:subject _:b8
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowToDate> ;
sp:predicate rdf:type ;
sp:subject _:b11
] [ sp:object _:b10 ;
sp:subject _:b9
] [ sp:object _:b8 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b11
sp:subject _:b9
] [ sp:object
[ sp:varName "testDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject _:b11
sp:subject _:b9
]) ;
sp:where ([ sp:object
[ sp:varName "wellSetRef"^^xsd:string
......@@ -635,19 +567,33 @@
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 30142 Set the injected fluid"^^xsd:string ;
sp:templates ([ sp:object _:b12 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#wellTestInjectedFluid> ;
rdfs:comment "STEP 30143a Set the cumulative fluid flow - gas amount"^^xsd:string ;
sp:templates ([ sp:object _:b10 ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasMixedPart> ;
sp:subject
[ sp:varName "wellTest"^^xsd:string
[ sp:varName "productionFlowToDate"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/well#Fluid> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#GasFlow> ;
sp:predicate rdf:type ;
sp:subject _:b10
] [ sp:object _:b11 ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#totalAmountOfMaterial> ;
sp:subject _:b10
] [ sp:object <http://www.reportinghub.no/ep/schema/well#Gas> ;
sp:predicate rdf:type ;
sp:subject _:b11
] [ sp:object _:b12 ;
sp:predicate rdf:type ;
sp:subject _:b11
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ;
sp:predicate rdf:type ;
sp:subject _:b12
] [ sp:object
[ sp:varName "injectedFluidType"^^xsd:string
[ sp:varName "realVolume"^^xsd:string
] ;
sp:predicate
[ sp:varName "volumeScale"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject _:b12
]) ;
sp:where ([ sp:object
......@@ -705,101 +651,116 @@
[ sp:varName "wellTest"^^xsd:string
]
] [ sp:object
[ sp:varName "wellBore"^^xsd:string
[ sp:varName "testDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#nominallyAt> ;
sp:subject
[ sp:varName "wellTest"^^xsd:string
]
] [ sp:object
[ sp:varName "wellBore"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "temporalPartOfAWellBore"^^xsd:string
]
] [ sp:object
[ sp:varName "wellBore"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#flowOutOf> ;
sp:subject
[ sp:varName "productionFlow"^^xsd:string
]
] [ sp:object
[ sp:varName "productionFlow"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "productionFlowToDate"^^xsd:string
]
] [ sp:object
[ sp:varName "testDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
[ sp:varName "productionFlowToDate"^^xsd:string
]
] [ sp:object
[ sp:varName "injectionTestRef"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#injectionTestRef> ;
sp:subject
[ sp:varName "wellTestRef"^^xsd:string
]
] [ sp:object
[ sp:varName "wellTestCumulativeRef"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#wellTestCumulativeRef> ;
sp:subject
[ sp:varName "injectionTestRef"^^xsd:string
]
] [ sp:object
[ sp:varName "cumulativeGasRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#cumulativeGasRef> ;
sp:subject
[ sp:varName "temporalPartOfAWellBore"^^xsd:string
[ sp:varName "wellTestCumulativeRef"^^xsd:string
]
] [ sp:object
[ sp:varName "injectionTestRef"^^xsd:string
[ sp:varName "realVolume"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#injectionTestRef> ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "wellTestRef"^^xsd:string
[ sp:varName "cumulativeGasRef"^^xsd:string
]
] [ sp:object
[ sp:varName "injectedFluidRef"^^xsd:string
[ sp:varName "uomVolume"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#injectedFluidRef> ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ;
sp:subject
[ sp:varName "injectionTestRef"^^xsd:string
[ sp:varName "cumulativeGasRef"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:selectInjectedFluidType ;
sp:arg1 [ sp:varName "injectedFluidRef"^^xsd:string
[ rdf:type ep-dpr-spin-lib:selectLengthScale ;
sp:arg1 [ sp:varName "uomVolume"^^xsd:string
]
] ;
sp:variable
[ sp:varName "injectedFluidType"^^xsd:string
[ sp:varName "volumeScale"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 30141 Set the tested WellBoreSection"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/activity#InjectionWellTest> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "wellTest"^^xsd:string
]
] [ sp:object _:b13 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#testedWellBoreInterval> ;
rdfs:comment "STEP 30143b Set the cumulative fluid flow - oil amount"^^xsd:string ;
sp:templates ([ sp:object _:b13 ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasMixedPart> ;
sp:subject
[ sp:varName "wellTest"^^xsd:string
[ sp:varName "productionFlowToDate"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#PhysicalObject> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#OilFlow> ;
sp:predicate rdf:type ;
sp:subject _:b13
] [ sp:object _:b14 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#totalAmountOfMaterial> ;
sp:subject _:b13
] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBoreSection> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/well#Oil> ;
sp:predicate rdf:type ;
sp:subject _:b14
] [ sp:object
[ sp:varName "wellBore"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#spatialPartOf> ;
sp:subject _:b14
] [ sp:object _:b15 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#measuredDepthToTheTopOfAPartOfAWellBore> ;
sp:predicate rdf:type ;
sp:subject _:b14
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ;
sp:predicate rdf:type ;
sp:subject _:b15
] [ sp:object
[ sp:varName "realMdTop"^^xsd:string
[ sp:varName "realVolume"^^xsd:string
] ;
sp:predicate
[ sp:varName "lengthScaleMdTop"^^xsd:string
[ sp:varName "volumeScale"^^xsd:string
] ;
sp:subject _:b15
] [ sp:object _:b16 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#measuredDepthToTheBottomOfAPartOfAWellBore> ;
sp:subject _:b14
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
sp:subject _:b16
] [ sp:object
[ sp:varName "realMdBase"^^xsd:string
] ;
sp:predicate
[ sp:varName "lengthScaleMdBase"^^xsd:string
] ;
sp:subject _:b16
] [ sp:object _:b17 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasSpatialPart> ;
sp:subject _:b14
] [ sp:object <http://www.reportinghub.no/ep/schema/well#SurroundingRockFormation> ;
sp:predicate rdf:type ;
sp:subject _:b17
] [ sp:object
[ sp:varName "testedFormation"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject _:b17
]) ;
sp:where ([ sp:object
[ sp:varName "wellSetRef"^^xsd:string
......@@ -856,6 +817,13 @@
[ sp:varName "wellTest"^^xsd:string
]
] [ sp:object
[ sp:varName "testDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#nominallyAt> ;
sp:subject
[ sp:varName "wellTest"^^xsd:string
]
] [ sp:object
[ sp:varName "wellBore"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
......@@ -863,115 +831,100 @@
[ sp:varName "temporalPartOfAWellBore"^^xsd:string
]
] [ sp:object
[ sp:varName "injectionTestRef"^^xsd:string
[ sp:varName "wellBore"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#injectionTestRef> ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#flowOutOf> ;
sp:subject
[ sp:varName "wellTestRef"^^xsd:string
[ sp:varName "productionFlow"^^xsd:string
]
] [ sp:object
[ sp:varName "testIntervalRef"^^xsd:string
[ sp:varName "productionFlow"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#testIntervalRef> ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "injectionTestRef"^^xsd:string
[ sp:varName "productionFlowToDate"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "mdTopRef"^^xsd:string
] [ sp:object
[ sp:varName "testDate"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#mdTopRef> ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
[ sp:varName "testIntervalRef"^^xsd:string
[ sp:varName "productionFlowToDate"^^xsd:string
]
] [ sp:object
[ sp:varName "realMdTop"^^xsd:string
[ sp:varName "injectionTestRef"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#injectionTestRef> ;
sp:subject
[ sp:varName "mdTopRef"^^xsd:string
[ sp:varName "wellTestRef"^^xsd:string
]
] [ sp:object
[ sp:varName "uomMdTop"^^xsd:string
[ sp:varName "wellTestCumulativeRef"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#wellTestCumulativeRef> ;
sp:subject
[ sp:varName "mdTopRef"^^xsd:string
[ sp:varName "injectionTestRef"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "mdBaseRef"^^xsd:string
] [ sp:object
[ sp:varName "cumulativeOilRef"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#mdBaseRef> ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#cumulativeOilRef> ;
sp:subject
[ sp:varName "testIntervalRef"^^xsd:string
[ sp:varName "wellTestCumulativeRef"^^xsd:string
]
] [ sp:object
[ sp:varName "realMdBase"^^xsd:string
[ sp:varName "realVolume"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "mdBaseRef"^^xsd:string
[ sp:varName "cumulativeOilRef"^^xsd:string
]
] [ sp:object
[ sp:varName "uomMdBase"^^xsd:string
[ sp:varName "uomVolume"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ;
sp:subject
[ sp:varName "mdBaseRef"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "testedFormation"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#testedFormation> ;
sp:subject
[ sp:varName "testIntervalRef"^^xsd:string
]
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:selectLengthScale ;
sp:arg1 [ sp:varName "uomMdTop"^^xsd:string
]
] ;
sp:variable
[ sp:varName "lengthScaleMdTop"^^xsd:string
[ sp:varName "cumulativeOilRef"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:selectLengthScale ;
sp:arg1 [ sp:varName "uomMdBase"^^xsd:string
sp:arg1 [ sp:varName "uomVolume"^^xsd:string
]
] ;
sp:variable
[ sp:varName "lengthScaleMdBase"^^xsd:string
[ sp:varName "volumeScale"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 30140 Classify as an Injection test and set duration"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/activity#InjectionWellTest> ;
sp:predicate rdf:type ;
rdfs:comment "STEP 30143c Set the cumulative fluid flow - water amount"^^xsd:string ;
sp:templates ([ sp:object _:b16 ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasMixedPart> ;
sp:subject
[ sp:varName "wellTest"^^xsd:string
[ sp:varName "productionFlowToDate"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#WaterFlow> ;
sp:predicate rdf:type ;
sp:subject _:b16
] [ sp:object _:b17 ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#totalAmountOfMaterial> ;
sp:subject _:b16
] [ sp:object <http://www.reportinghub.no/ep/schema/well#Water> ;
sp:predicate rdf:type ;
sp:subject _:b17
] [ sp:object _:b18 ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "wellTest"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#TimeDuration> ;
sp:subject _:b17
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ;
sp:predicate rdf:type ;
sp:subject _:b18
] [ sp:object
[ sp:varName "realDuration"^^xsd:string
[ sp:varName "realVolume"^^xsd:string
] ;
sp:predicate
[ sp:varName "durationScale"^^xsd:string
[ sp:varName "volumeScale"^^xsd:string
] ;
sp:subject _:b18
]) ;
......@@ -1023,43 +976,90 @@
[ sp:varName "wellTest"^^xsd:string
]
] [ sp:object
[ sp:varName "temporalPartOfAWellBore"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject
[ sp:varName "wellTest"^^xsd:string
]
] [ sp:object
[ sp:varName "testDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#nominallyAt> ;
sp:subject
[ sp:varName "wellTest"^^xsd:string
]
] [ sp:object
[ sp:varName "wellBore"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "temporalPartOfAWellBore"^^xsd:string
]
] [ sp:object
[ sp:varName "wellBore"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#flowOutOf> ;
sp:subject
[ sp:varName "productionFlow"^^xsd:string
]
] [ sp:object
[ sp:varName "productionFlow"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "productionFlowToDate"^^xsd:string
]
] [ sp:object
[ sp:varName "testDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
[ sp:varName "productionFlowToDate"^^xsd:string
]
] [ sp:object
[ sp:varName "injectionTestRef"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#injectionTestRef> ;
sp:subject
[ sp:varName "wellTestRef"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "testDurationRef"^^xsd:string
] [ sp:object
[ sp:varName "wellTestCumulativeRef"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#testDurationRef> ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#wellTestCumulativeRef> ;
sp:subject
[ sp:varName "productionTestRef"^^xsd:string
[ sp:varName "injectionTestRef"^^xsd:string
]
] [ sp:object
[ sp:varName "realDuration"^^xsd:string
[ sp:varName "cumulativeWaterRef"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#cumulativeWaterRef> ;
sp:subject
[ sp:varName "wellTestCumulativeRef"^^xsd:string
]
] [ sp:object
[ sp:varName "realVolume"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "testDurationRef"^^xsd:string
[ sp:varName "cumulativeWaterRef"^^xsd:string
]
] [ sp:object
[ sp:varName "uomDuration"^^xsd:string
[ sp:varName "uomVolume"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ;
sp:subject
[ sp:varName "testDurationRef"^^xsd:string
[ sp:varName "cumulativeWaterRef"^^xsd:string
]
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:selectDurationScale ;
sp:arg1 [ sp:varName "uomDuration"^^xsd:string
[ rdf:type ep-dpr-spin-lib:selectLengthScale ;
sp:arg1 [ sp:varName "uomVolume"^^xsd:string
]
] ;
sp:variable
[ sp:varName "durationScale"^^xsd:string
[ sp:varName "volumeScale"^^xsd:string
]
])
] .
......