David Leal

Mostly completed the MPR fluid sample data

# Saved by TopBraid on Tue Dec 20 16:32:44 GMT 2011
# baseURI: http://www.reportinghub.no/ep/schema/1.0/production-activity
# imports: http://www.reportinghub.no/ep/schema/1.0/production-equipment
# imports: http://www.reportinghub.no/ep/schema/1.0/production-organization
# imports: http://www.reportinghub.no/ep/schema/1.0/production-facility
# imports: http://www.reportinghub.no/ep/schema/1.0/well
# imports: http://www.reportinghub.no/ep/schema/1.0/equipment
# imports: http://www.reportinghub.no/ep/schema/1.0/activity-purpose
# imports: http://www.reportinghub.no/ep/schema/1.0/activity
# imports: http://www.reportinghub.no/ep/schema/1.0/activity-purpose
# imports: http://www.reportinghub.no/ep/schema/1.0/equipment
# imports: http://www.reportinghub.no/ep/schema/1.0/facility
# imports: http://www.reportinghub.no/ep/schema/1.0/production-core
# imports: http://www.reportinghub.no/ep/schema/1.0/flow
# imports: http://www.reportinghub.no/ep/schema/1.0/production-core
# imports: http://www.reportinghub.no/ep/schema/1.0/production-equipment
# imports: http://www.reportinghub.no/ep/schema/1.0/production-facility
# imports: http://www.reportinghub.no/ep/schema/1.0/production-organization
# imports: http://www.reportinghub.no/ep/schema/1.0/well
@prefix ep-core: <http://www.reportinghub.no/ep/schema/core#> .
@prefix ep-prodact: <http://www.reportinghub.no/ep/schema/production-activity#> .
......@@ -105,14 +104,6 @@ ep-prodact:Alarm
rdf:type owl:Class ;
rdfs:subClassOf ep-prodact:PartOfProductionActivity .
ep-prodact:AmountOfCrudeOil
rdf:type owl:Class ;
rdfs:subClassOf ep-prodact:AmountOfSubstance .
ep-prodact:AmountOfNaturalGas
rdf:type owl:Class ;
rdfs:subClassOf ep-prodact:AmountOfSubstance .
ep-prodact:AmountOfSubstance
rdf:type owl:Class ;
rdfs:subClassOf ep-core:PhysicalObject .
......@@ -142,6 +133,10 @@ ep-prodact:ConstructionOperation
rdfs:label "construction operation"^^xsd:string ;
rdfs:subClassOf ep-prodact:PartOfProductionActivity .
ep-prodact:CrudeOil
rdf:type owl:Class ;
rdfs:subClassOf ep-prodact:AmountOfSubstance .
ep-prodact:CumulativeProductionActivitySinceProductionBegan
rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
......@@ -311,6 +306,10 @@ ep-prodact:MonthlyProductionActivityToEndOfReportingPeriod
rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#MonthlyProductionActivity> .
ep-prodact:NaturalGas
rdf:type owl:Class ;
rdfs:subClassOf ep-prodact:AmountOfSubstance .
ep-prodact:NearMiss
rdf:type owl:Class ;
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
......@@ -402,7 +401,7 @@ ep-prodact:SafetyMeeting
ep-prodact:SampleAmountOfSubstance
rdf:type owl:Class ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/well#Fluid> .
rdfs:subClassOf ep-prodact:AmountOfSubstance .
ep-prodact:SentAshore
rdf:type owl:Class ;
......@@ -420,6 +419,11 @@ ep-prodact:SpillOrLeak
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:SubstanceType
rdf:type rdfs:Class ;
rdfs:label "substance type"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-prodact:TransportationActivity
rdf:type owl:Class ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> .
......
......@@ -34,6 +34,41 @@ ep-prodwell:DryFluid
rdfs:label "dry fluid"^^xsd:string ;
rdfs:subClassOf ep-well:Fluid .
ep-prodwell:FluidComponentKindType
rdf:type rdfs:Class ;
rdfs:label "fluid component kind type"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-prodwell:FluidComponentType
rdf:type rdfs:Class ;
rdfs:label "fluid component type"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-prodwell:FluidFraction
rdf:type owl:Class , ep-prodwell:FluidComponentKindType ;
rdfs:label "fluid fraction"^^xsd:string ;
rdfs:subClassOf ep-well:Fluid .
ep-prodwell:FluidPhaseType
rdf:type rdfs:Class ;
rdfs:label "fluid phase type"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-prodwell:FluidWholeComponentPair
rdf:type owl:Class ;
rdfs:label "fluid whole-component pair"^^xsd:string ;
rdfs:subClassOf owl:Thing .
ep-prodwell:FluidWholeNonPrimaryComponentPair
rdf:type owl:Class ;
rdfs:label "fluid whole-non-primary component pair"^^xsd:string ;
rdfs:subClassOf ep-prodwell:FluidWholeComponentPair .
ep-prodwell:FluidWholePrimaryComponentPair
rdf:type owl:Class ;
rdfs:label "fluid whole-primary component pair"^^xsd:string ;
rdfs:subClassOf ep-prodwell:FluidWholeComponentPair .
ep-prodwell:FreshWater
rdf:type ep-well:FluidComponentType , owl:Class , ep-prodwell:InjectionFluidType ;
rdfs:label "fresh water"^^xsd:string ;
......@@ -49,6 +84,11 @@ ep-prodwell:InjectionFluidType
rdfs:label "injection fluid type"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-prodwell:Liquid
rdf:type owl:Class , ep-prodwell:FluidPhaseType ;
rdfs:label "liquid"^^xsd:string ;
rdfs:subClassOf ep-well:Fluid .
ep-prodwell:NaturalGasClass
rdf:type rdfs:Class ;
rdfs:label "natural gas class"^^xsd:string ;
......@@ -74,11 +114,26 @@ ep-prodwell:OtherInjectionFluid
rdfs:label "other injection fluid"^^xsd:string ;
rdfs:subClassOf ep-well:Fluid .
ep-prodwell:PlusFraction
rdf:type ep-prodwell:FluidComponentKindType , owl:Class ;
rdfs:label "plus fraction"^^xsd:string ;
rdfs:subClassOf ep-well:Fluid .
ep-prodwell:PureFluid
rdf:type owl:Class , ep-prodwell:FluidComponentKindType ;
rdfs:label "pure fluid"^^xsd:string ;
rdfs:subClassOf ep-well:Fluid .
ep-prodwell:Sand
rdf:type owl:Class , ep-well:FluidComponentType ;
rdfs:label "sand"^^xsd:string ;
rdfs:subClassOf ep-well:Fluid .
ep-prodwell:SplitFraction
rdf:type ep-prodwell:FluidComponentKindType , owl:Class ;
rdfs:label "split fraction"^^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 ;
......@@ -94,6 +149,12 @@ ep-prodwell:basicSedimentAndWater
rdfs:label "basic sediment and water"^^xsd:string ;
rdfs:range ep-core:SpecificVolume .
ep-prodwell:componentFluid
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:domain ep-prodwell:FluidWholeComponentPair ;
rdfs:label "component fluid"^^xsd:string ;
rdfs:range ep-well:Fluid .
ep-prodwell:condensateYield
rdf:type owl:FunctionalProperty , owl:ObjectProperty , ep-core:Class_of_indirect_property ;
rdfs:label "condensate yield"^^xsd:string ;
......@@ -111,6 +172,12 @@ ep-prodwell:depthOfFluidSurfaceFromTopOfWell
rdfs:label "depth of fluid surface from top of well"^^xsd:string ;
rdfs:range ep-core:Length .
ep-prodwell:moleRatio
rdf:type owl:FunctionalProperty , ep-core:Class_of_indirect_property , owl:ObjectProperty ;
rdfs:domain ep-prodwell:FluidWholeComponentPair ;
rdfs:label "mole ratio"^^xsd:string ;
rdfs:range ep-core:Ratio .
ep-prodwell:oilWaterRatioByMass
rdf:type ep-core:Class_of_indirect_property , owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:domain ep-well:Fluid ;
......@@ -129,11 +196,23 @@ ep-prodwell:potentialOilProduction
rdfs:label "potential gas production"^^xsd:string ;
rdfs:range ep-core:VolumetricFlowRate .
ep-prodwell:weightRatio
rdf:type owl:FunctionalProperty , ep-core:Class_of_indirect_property , owl:ObjectProperty ;
rdfs:domain ep-prodwell:FluidWholeComponentPair ;
rdfs:label "weight ratio"^^xsd:string ;
rdfs:range ep-core:Ratio .
ep-prodwell:wholeFluid
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:domain ep-prodwell:FluidWholeComponentPair ;
rdfs:label "whole fluid"^^xsd:string ;
rdfs:range ep-well:Fluid .
ep-well:Condensate
rdf:type ep-prodwell:InjectionFluidType .
ep-well:Gas
rdf:type ep-prodwell:InjectionFluidType .
rdf:type ep-prodwell:InjectionFluidType , ep-prodwell:FluidPhaseType .
ep-well:Oil
rdf:type ep-prodwell:InjectionFluidType .
......
This diff is collapsed. Click to expand it.
# Saved by TopBraid on Tue Dec 20 18:27:09 GMT 2011
# baseURI: http://www.reportinghub.no/ep/mpr/spin/1.1/lib
# imports: http://www.reportinghub.no/ep/schema/1.0/production-equipment
# imports: http://www.reportinghub.no/ep/spin/1.1/lib
# imports: http://spinrdf.org/spin
# imports: http://www.epim.no/schemas/mprml/1
# imports: http://www.reportinghub.no/ep/schema/1.0/production
# imports: http://www.reportinghub.no/ep/schema/1.0/production-core
# imports: http://www.reportinghub.no/ep/schema/1.0/production-activity
# imports: http://spinrdf.org/spin
# imports: http://www.reportinghub.no/ep/schema/1.0/production-core
# imports: http://www.reportinghub.no/ep/schema/1.0/production-equipment
# imports: http://www.reportinghub.no/ep/schema/1.0/production-report
# imports: http://www.reportinghub.no/ep/spin/1.1/lib
@prefix ep-mpr-spin-lib: <http://www.reportinghub.no/ep/mpr/spin/1.1/lib#> .
@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> .
......@@ -828,6 +827,89 @@ ep-mpr-spin-lib:selectEnergyPerVolumeScale
])
] .
ep-mpr-spin-lib:selectFluidComponentKindType
rdf:type spin:Function ;
rdfs:label "select FluidComponentKindType"^^xsd:string ;
rdfs:subClassOf ep-mpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables ([ sp:varName "fluidComponentKindType"^^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.epim.no/schemas/mprml/1#FCK_frac>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/production-well#FluidFraction> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.epim.no/schemas/mprml/1#FCK_pure>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/production-well#PureFluid> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.epim.no/schemas/mprml/1#FCK_pure>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/production-well#PureFluid> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.epim.no/schemas/mprml/1#FCK_split>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/production-well#SplitFraction> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.epim.no/schemas/mprml/1#FCK_plus>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/production-well#PlusFraction> ;
sp:arg3 <http://www.reportinghub.no/ep/schema/well#Fluid>
]
]
]
]
] ;
sp:variable
[ sp:varName "fluidComponentKindType"^^xsd:string
]
])
] .
ep-mpr-spin-lib:selectFluidPhaseType
rdf:type spin:Function ;
rdfs:label "select FluidPhaseType"^^xsd:string ;
rdfs:subClassOf ep-mpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables ([ sp:varName "fluidPhaseType"^^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 "liquid"^^xsd:string
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/production-well#Liquid> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 "gas"^^xsd:string
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/well#Gas> ;
sp:arg3 <http://www.reportinghub.no/ep/schema/well#Fluid>
]
] ;
sp:variable
[ sp:varName "fluidPhaseType"^^xsd:string
]
])
] .
ep-mpr-spin-lib:selectFluidSamplingType
rdf:type spin:Function ;
rdfs:label "select ProductType"^^xsd:string ;
......@@ -3828,6 +3910,29 @@ ep-mpr-spin-lib:selectProductionFlowPurposeType
])
] .
ep-mpr-spin-lib:selectRatioScale
rdf:type spin:Function ;
rdfs:subClassOf ep-mpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables ([ sp:varName "myVar"^^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.epim.no/schemas/mprml/1#PU_>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#percent> ;
sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
] ;
sp:variable
[ sp:varName "myVar"^^xsd:string
]
])
] .
ep-mpr-spin-lib:selectRelationshipToMeasure
rdf:type spin:Function ;
rdfs:label "select RelationshipToMeasure"^^xsd:string ;
......
# Saved by TopBraid on Tue Dec 20 18:27:09 GMT 2011
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......