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 .
......
# baseURI: http://www.reportinghub.no/ep/schema/1.0/substance
# imports: http://www.epim.no/schemas/mprml/1
# imports: http://www.reportinghub.no/ep/schema/1.0/production-activity
# imports: http://www.reportinghub.no/ep/schema/1.0/production-well
@prefix ep-prodact: <http://www.reportinghub.no/ep/schema/production-activity#> .
@prefix ep-prodcore: <http://www.reportinghub.no/ep/schema/production-core#> .
@prefix ep-prodwell: <http://www.reportinghub.no/ep/schema/production-well#> .
@prefix ep-substance: <http://www.reportinghub.no/ep/schema/1.0/substance#> .
@prefix mpr: <http://www.epim.no/schemas/mprml/1#> .
@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 xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/ep/schema/1.0/substance>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/production-well> , <http://www.reportinghub.no/ep/schema/1.0/production-activity> , <http://www.epim.no/schemas/mprml/1> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
<http://www.reportinghub.no/ep/schema/1.0/substance#11dmcyPentane>
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "11dmcy pentane"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_11dmcypentane .
<http://www.reportinghub.no/ep/schema/1.0/substance#124tmBenzene>
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "124tm benzene"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_124tmbenzene .
<http://www.reportinghub.no/ep/schema/1.0/substance#12dmBenzene>
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "12dm benzene"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_12dmbenzene .
<http://www.reportinghub.no/ep/schema/1.0/substance#13dmBenzene>
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "13dm benzene"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_13dmbenzene .
<http://www.reportinghub.no/ep/schema/1.0/substance#14dmBenzene>
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "14dm benzene"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_14dmbenzene .
<http://www.reportinghub.no/ep/schema/1.0/substance#223tmButane>
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "223tm butane"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_223tmbutane .
<http://www.reportinghub.no/ep/schema/1.0/substance#223tmPentane>
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "223tm pentane"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_223tmpentane .
<http://www.reportinghub.no/ep/schema/1.0/substance#22dmButane>
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "22dm butane"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_22dmbutane .
<http://www.reportinghub.no/ep/schema/1.0/substance#22dmHexane>
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "22dm hexane"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_22dmhexane .
<http://www.reportinghub.no/ep/schema/1.0/substance#22dmPentane>
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "22dm pentane"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_22dmpentane .
<http://www.reportinghub.no/ep/schema/1.0/substance#22dmPropane>
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "22dm propane"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_22dmpropane .
<http://www.reportinghub.no/ep/schema/1.0/substance#23dmButane>
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "23dm butane"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_23dmbutane .
<http://www.reportinghub.no/ep/schema/1.0/substance#23dmPentane>
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "23dm pentane"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_23dmpentane .
<http://www.reportinghub.no/ep/schema/1.0/substance#24dmHexane>
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "24dm hexane"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_24dmhexane .
<http://www.reportinghub.no/ep/schema/1.0/substance#24dmPentane>
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "24dm pentane"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_24dmpentane .
<http://www.reportinghub.no/ep/schema/1.0/substance#25dmHexane>
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "25dm hexane"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_25dmhexane .
<http://www.reportinghub.no/ep/schema/1.0/substance#2mButane>
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "2m butane"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_2mbutane .
<http://www.reportinghub.no/ep/schema/1.0/substance#2mHexane>
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "2m hexane"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_2mhexane .
<http://www.reportinghub.no/ep/schema/1.0/substance#2mPentane>
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "2m pentane"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_2mpentane .
<http://www.reportinghub.no/ep/schema/1.0/substance#2mPropane>
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "2m propane"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_2mpropane .
<http://www.reportinghub.no/ep/schema/1.0/substance#33dmPentane>
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "33dm pentane"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_33dmpentane .
<http://www.reportinghub.no/ep/schema/1.0/substance#3etPentane>
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "3et pentane"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_3etpentane .
<http://www.reportinghub.no/ep/schema/1.0/substance#3mHexane>
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "3m hexane"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_3mhexane .
<http://www.reportinghub.no/ep/schema/1.0/substance#3mPentane>
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "3m pentane"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_3mpentane .
ep-substance:Ar
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "Ar"^^xsd:string , "Argon"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_Ar .
ep-substance:Benzene
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "benzene"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_benzene .
ep-substance:Butane
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "butane"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_butane .
ep-substance:C11F
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "C11F"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_C11F .
ep-substance:C12F
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "C12F"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_C12F .
ep-substance:C13F
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "C13F"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_C13F .
ep-substance:C13dmcyPentane
rdf:type owl:Class , ep-prodact:SubstanceType , ep-prodwell:FluidComponentType ;
rdfs:label "c13dmcy pentane"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_c13dmcypentane .
ep-substance:C14F
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "C14F"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_C14F .
ep-substance:C15F
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "C15F"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_C15F .
ep-substance:C16F
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "C16F"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_C16F .
ep-substance:C17F
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "C17F"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_C17F .
ep-substance:C18F
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "C18F"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_C18F .
ep-substance:C19F
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "C19F"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_C19F .
ep-substance:C20F
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "C20F"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_C20F .
ep-substance:C21F
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "C21F"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_C21F .
ep-substance:C22F
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "C22F"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_C22F .
ep-substance:C23F
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "C23F"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_C23F .
ep-substance:C24F
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "C24F"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_C24F .
ep-substance:C25F
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "C25F"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_C25F .
ep-substance:C26F
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "C26F"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_C26F .
ep-substance:C27F
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "C27F"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_C27F .
ep-substance:C28F
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "C28F"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_C28F .
ep-substance:C29F
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "C29F"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_C29F .
ep-substance:C30F
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "C30F"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_C30F .
ep-substance:C31F
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "C31F"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_C31F .
ep-substance:C32F
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "C32F"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_C32F .
ep-substance:C33F
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "C33F"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_C33F .
ep-substance:C34F
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "C34F"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_C34F .
ep-substance:C35F
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "C35F"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_C35F .
ep-substance:C36F
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "C36F"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_C36F .
ep-substance:C37F
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "C37F"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_C37F .
ep-substance:C38F
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "C38F"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_C38F .
ep-substance:C39F
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "C39F"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_C39F .
ep-substance:C40F
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "C40F"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_C40F .
ep-substance:C41F
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "C41F"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_C41F .
ep-substance:C42F
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "C42F"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_C42F .
ep-substance:C43F
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "C43F"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_C43F .
ep-substance:C44F
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "C44F"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_C44F .
ep-substance:C45F
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "C45F"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_C45F .
ep-substance:C46F
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "C46F"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_C46F .
ep-substance:C47F
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "C47F"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_C47F .
ep-substance:C48F
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "C48F"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_C48F .
ep-substance:C49F
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "C49F"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_C49F .
ep-substance:CO2
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "CO2"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_CO2 .
ep-substance:Cyclohexane
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "cyclohexane"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_cyclohexane .
ep-substance:Cyclopentane
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "cyclopentane"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_cyclopentane .
ep-substance:Decanes
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "decanes"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_decanes .
ep-substance:EtBenzene
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "et benzene"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_etbenzene .
ep-substance:EtcyPentane
rdf:type owl:Class , ep-prodact:SubstanceType , ep-prodwell:FluidComponentType ;
rdfs:label "etcy pentane"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_etcypentane .
ep-substance:Ethane
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "ethane"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_ethane .
ep-substance:H2
rdf:type ep-prodact:SubstanceType , ep-prodwell:FluidComponentType , owl:Class ;
rdfs:label "H2"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_H2 .
ep-substance:H2O
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "H2O"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_H2O .
ep-substance:H2S
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "H2S"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_H2S .
ep-substance:Heptanes
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "heptanes"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_heptanes .
ep-substance:Hexane
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "hexane"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_hexane .
ep-substance:Hexanes
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "hexanes"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_hexanes .
ep-substance:MBenzene
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "m benzene"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_mbenzene .
ep-substance:McyHexane
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "mcy hexane"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_mcyhexane .
ep-substance:McyPentane
rdf:type owl:Class , ep-prodact:SubstanceType , ep-prodwell:FluidComponentType ;
rdfs:label "mcy pentane"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_mcypentane .
ep-substance:Methane
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "methane"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_methane .
ep-substance:N2
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "N2"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_N2 .
ep-substance:Nonanes
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "nonanes"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_nonanes .
ep-substance:O2
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "O2"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_O2 .
ep-substance:Octanes
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "octanes"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_octanes .
ep-substance:Pentane
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "pentane"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_pentane .
ep-substance:Propane
rdf:type ep-prodwell:FluidComponentType , ep-prodact:SubstanceType , owl:Class ;
rdfs:label "propane"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_propane .
ep-substance:T12dmcyPentane
rdf:type owl:Class , ep-prodact:SubstanceType , ep-prodwell:FluidComponentType ;
rdfs:label "t12dmcy pentane"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_t12dmcypentane .
ep-substance:T13dmcyPentane
rdf:type owl:Class , ep-prodact:SubstanceType , ep-prodwell:FluidComponentType ;
rdfs:label "t13dmcy pentane"^^xsd:string ;
rdfs:subClassOf ep-prodact:AmountOfSubstance ;
ep-prodcore:mapsTo mpr:FC_t13dmcypentane .
# 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#> .
......
# Saved by TopBraid on Tue Dec 20 19:13:18 GMT 2011
# baseURI: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-fluidSample-v1.0
# imports: http://www.reportinghub.no/ep/dpr/spin/1.1/lib
# imports: http://www.epim.no/schemas/mprml/1
# imports: http://www.reportinghub.no/ep/schema/1.0/production-activity
# imports: http://spinrdf.org/spin
# imports: http://www.epim.no/schemas/mprml/1
# imports: http://www.reportinghub.no/ep/dpr/spin/1.1/lib
# imports: http://www.reportinghub.no/ep/mpr/spin/1.1/lib
# imports: http://www.reportinghub.no/ep/schema/1.0/production-activity
# imports: http://www.reportinghub.no/ep/schema/1.0/substance
@prefix : <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-fluidSample-v1.0#> .
@prefix arg: <http://spinrdf.org/arg#> .
......@@ -24,154 +24,197 @@
<http://www.epim.no/schemas/mprml/1#A_Global-Objects>
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40005 Specify the fluid component."^^xsd:string ;
sp:templates ([ sp:object _:b1 ;
sp:predicate _:b2 ;
sp:subject _:b3
] [ sp:object <http://www.reportinghub.no/ep/schema/well#Fluid> ;
rdfs:comment """STEP 40005a Specify the fluid component - primary component.
The componentName element is used differently in the examples for the primary and non-primary components.
"""^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/well#Fluid> ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object <http://www.reportinghub.no/ep/schema/production-well#FluidWholeComponentPair> ;
] [ sp:object
[ sp:varName "fluidPhaseType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject _:b4
] [ sp:object _:b3 ;
sp:subject _:b1
] [ sp:object
[ sp:varName "fluidComponentKindType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object
[ sp:varName "fluidSubstanceKindType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object <http://www.reportinghub.no/ep/schema/production-well#FluidWholePrimaryComponentPair> ;
sp:predicate rdf:type ;
sp:subject _:b2
] [ sp:object
[ sp:varName "sampledFluid"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-well#wholeFluid> ;
sp:subject _:b4
sp:subject _:b2
] [ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-well#componentFluid> ;
sp:subject _:b4
] [ sp:object _:b5 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-well#weightRatio> ;
sp:subject _:b4
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Ratio> ;
sp:predicate rdf:type ;
sp:subject _:b5
] [ sp:object _:b6 ;
sp:predicate _:b7 ;
sp:subject _:b5
sp:subject _:b2
]) ;
sp:where ([ sp:object _:b8 ;
sp:where ([ sp:object
[ sp:varName "fluidAnalysisResultRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_fluidAnalysisResult> ;
sp:predicate rdf:type ;
sp:subject _:b8
] [ sp:object _:b8 ;
sp:subject
[ sp:varName "fluidAnalysisResultRef"^^xsd:string
]
] [ sp:object
[ sp:varName "fluidAnalysisResultRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject _:b3
] [ sp:object _:b9 ;
sp:subject
[ sp:varName "sampledFluid"^^xsd:string
]
] [ sp:object
[ sp:varName "fluidSampleCompositionRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#fluidSampleCompositionRef> ;
sp:subject _:b8
] [ sp:object _:b10 ;
sp:subject
[ sp:varName "fluidAnalysisResultRef"^^xsd:string
]
] [ sp:object "true"^^xsd:boolean ;
sp:predicate <http://www.epim.no/schemas/mprml/1#isPrimary> ;
sp:subject _:b9
sp:subject
[ sp:varName "fluidSampleCompositionRef"^^xsd:string
]
] [ sp:object
[ sp:varName "name"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#componentName> ;
sp:subject _:b9
sp:subject
[ sp:varName "fluidSampleCompositionRef"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b11 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#weightPercentRef> ;
sp:subject _:b9
] [ sp:object _:b6 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b11
] [ sp:object _:b12 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ;
sp:subject _:b11
sp:elements ([ sp:object
[ sp:varName "componentBaseKindRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#componentBaseKindRef> ;
sp:subject
[ sp:varName "fluidSampleCompositionRef"^^xsd:string
]
] [ sp:object
[ sp:varName "componentBaseKindRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#mapsTo> ;
sp:subject
[ sp:varName "fluidSubstanceKindType"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "componentKindRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#componentKindRef> ;
sp:subject
[ sp:varName "fluidSampleCompositionRef"^^xsd:string
]
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:selectFluidComponentType ;
sp:arg1 _:b10
[ rdf:type ep-mpr-spin-lib:selectFluidPhaseType ;
sp:arg1 [ sp:varName "name"^^xsd:string
]
] ;
sp:variable _:b2
sp:variable
[ sp:varName "fluidPhaseType"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:selectRatioScale ;
sp:arg1 _:b12
[ rdf:type ep-mpr-spin-lib:selectFluidComponentKindType ;
sp:arg1 [ sp:varName "componentKindRef"^^xsd:string
]
] ;
sp:variable _:b7
sp:variable
[ sp:varName "fluidComponentKindType"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 40002d Create the Facility where the sampling takes place - the same approach to identification of the facility is used as for product volume.
kind is not \"well\" and facilityParent1 is not supplied"""^^xsd:string ;
sp:templates ([ sp:object _:b13 ;
sp:templates ([ sp:object _:b3 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#samplingPerformedAt> ;
sp:subject _:b14
] [ sp:object _:b15 ;
sp:subject _:b4
] [ sp:object _:b5 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b13
sp:subject _:b3
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#Facility> ;
sp:predicate rdf:type ;
sp:subject _:b15
] [ sp:object _:b16 ;
sp:subject _:b5
] [ sp:object _:b6 ;
sp:predicate rdfs:label ;
sp:subject _:b15
] [ sp:object _:b17 ;
sp:subject _:b5
] [ sp:object _:b7 ;
sp:predicate rdf:type ;
sp:subject _:b15
] [ sp:object _:b16 ;
sp:subject _:b5
] [ sp:object _:b6 ;
sp:predicate rdfs:label ;
sp:subject _:b18
sp:subject _:b8
]) ;
sp:where ([ sp:object _:b19 ;
sp:where ([ sp:object _:b9 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_fluidSample> ;
sp:predicate rdf:type ;
sp:subject _:b19
] [ sp:object _:b19 ;
sp:subject _:b9
] [ sp:object _:b9 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject _:b14
] [ sp:object _:b18 ;
sp:subject _:b4
] [ sp:object _:b8 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#facilityRef> ;
sp:subject _:b19
] [ sp:object _:b20 ;
sp:subject _:b9
] [ sp:object _:b10 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ;
sp:subject _:b18
] [ sp:object _:b21 ;
sp:subject _:b8
] [ sp:object _:b11 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b20
] [ sp:object _:b22 ;
sp:subject _:b10
] [ sp:object _:b12 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject _:b20
sp:subject _:b10
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_well> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject _:b20
sp:subject _:b10
])
] [ sp:object _:b23 ;
] [ sp:object _:b13 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#facilityParent1Ref> ;
sp:subject _:b19
] [ sp:object _:b24 ;
sp:subject _:b9
] [ sp:object _:b14 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b23
] [ sp:object _:b25 ;
sp:subject _:b13
] [ sp:object _:b15 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#facilityParent2Ref> ;
sp:subject _:b19
] [ sp:object _:b26 ;
sp:subject _:b9
] [ sp:object _:b16 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b25
sp:subject _:b15
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b21
sp:arg1 _:b11
] ;
sp:variable _:b27
sp:variable _:b17
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b24
sp:arg1 _:b14
] ;
sp:variable _:b28
sp:variable _:b18
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b26
sp:arg1 _:b16
] ;
sp:variable
[ sp:varName "normalizedFacilityParent2Name"^^xsd:string
......@@ -179,101 +222,101 @@ kind is not \"well\" and facilityParent1 is not supplied"""^^xsd:string ;
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type fn:concat ;
sp:arg1 _:b28 ;
sp:arg1 _:b18 ;
sp:arg2 "$" ;
sp:arg3 _:b28 ;
sp:arg3 _:b18 ;
sp:arg4 "$" ;
sp:arg5 _:b27
sp:arg5 _:b17
] ;
sp:variable _:b16
sp:variable _:b6
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildProductionFacilityURI ;
sp:arg1 _:b16
sp:arg1 _:b6
] ;
sp:variable _:b15
sp:variable _:b5
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:selectProductionFacilityType ;
sp:arg1 _:b22
sp:arg1 _:b12
] ;
sp:variable _:b17
sp:variable _:b7
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 40002b Create the Facility where the sampling takes place - the same approach to identification of the facility is used as for product volume.
kind is not \"well\" and facilityParent1 is not supplied"""^^xsd:string ;
sp:templates ([ sp:object _:b29 ;
sp:templates ([ sp:object _:b19 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#samplingPerformedAt> ;
sp:subject _:b30
] [ sp:object _:b31 ;
sp:subject _:b20
] [ sp:object _:b21 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b29
sp:subject _:b19
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#Facility> ;
sp:predicate rdf:type ;
sp:subject _:b31
] [ sp:object _:b32 ;
sp:subject _:b21
] [ sp:object _:b22 ;
sp:predicate rdfs:label ;
sp:subject _:b31
] [ sp:object _:b33 ;
sp:subject _:b21
] [ sp:object _:b23 ;
sp:predicate rdf:type ;
sp:subject _:b31
] [ sp:object _:b32 ;
sp:subject _:b21
] [ sp:object _:b22 ;
sp:predicate rdfs:label ;
sp:subject _:b34
sp:subject _:b24
]) ;
sp:where ([ sp:object _:b35 ;
sp:where ([ sp:object _:b25 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_fluidSample> ;
sp:predicate rdf:type ;
sp:subject _:b35
] [ sp:object _:b35 ;
sp:subject _:b25
] [ sp:object _:b25 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject _:b30
] [ sp:object _:b34 ;
sp:subject _:b20
] [ sp:object _:b24 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#facilityRef> ;
sp:subject _:b35
] [ sp:object _:b36 ;
sp:subject _:b25
] [ sp:object _:b26 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ;
sp:subject _:b34
] [ sp:object _:b37 ;
sp:subject _:b24
] [ sp:object _:b27 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b36
] [ sp:object _:b38 ;
sp:subject _:b26
] [ sp:object _:b28 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject _:b36
sp:subject _:b26
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_well> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject _:b36
sp:subject _:b26
])
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "facilityParent1Ref"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#facilityParent1Ref> ;
sp:subject _:b35
sp:subject _:b25
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b37
sp:arg1 _:b27
] ;
sp:variable _:b32
sp:variable _:b22
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildProductionFacilityURI ;
sp:arg1 _:b32
sp:arg1 _:b22
] ;
sp:variable _:b31
sp:variable _:b21
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:selectProductionFacilityType ;
sp:arg1 _:b38
sp:arg1 _:b28
] ;
sp:variable _:b33
sp:variable _:b23
])
] ;
spin:rule
......@@ -281,51 +324,51 @@ kind is not \"well\" and facilityParent1 is not supplied"""^^xsd:string ;
rdfs:comment "STEP 40001 Create the FluidSampleReport, FluidSampling activity and FluidSample object ."^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-report#FluidSampleReport> ;
sp:predicate rdf:type ;
sp:subject _:b39
] [ sp:object _:b40 ;
sp:subject _:b29
] [ sp:object _:b30 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject _:b39
] [ sp:object _:b41 ;
sp:subject _:b29
] [ sp:object _:b31 ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
sp:subject _:b39
sp:subject _:b29
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#FluidSamplingAndAnalysis> ;
sp:predicate rdf:type ;
sp:subject _:b41
] [ sp:object _:b42 ;
sp:subject _:b31
] [ sp:object _:b32 ;
sp:predicate rdf:type ;
sp:subject _:b41
] [ sp:object _:b43 ;
sp:subject _:b31
] [ sp:object _:b33 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#nominallyAt> ;
sp:subject _:b41
] [ sp:object _:b44 ;
sp:subject _:b31
] [ sp:object _:b34 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject _:b41
sp:subject _:b31
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject _:b40
] [ sp:object _:b44 ;
sp:subject _:b30
] [ sp:object _:b34 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_fluidSample> ;
sp:predicate rdf:type ;
sp:subject _:b44
sp:subject _:b34
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b43 ;
sp:elements ([ sp:object _:b33 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#acquisitionDate> ;
sp:subject _:b44
sp:subject _:b34
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b45 ;
sp:elements ([ sp:object _:b35 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#sampleTypeRef> ;
sp:subject _:b44
sp:subject _:b34
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:selectFluidSamplingType ;
sp:arg1 _:b45
sp:arg1 _:b35
] ;
sp:variable _:b42
sp:variable _:b32
])
] ;
spin:rule
......@@ -334,66 +377,66 @@ kind is not \"well\" and facilityParent1 is not supplied"""^^xsd:string ;
The sample is anonymous. It is matched to its results via the sample name, which is assumed to be unique within the file."""^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/well#Fluid> ;
sp:predicate rdf:type ;
sp:subject _:b46
] [ sp:object _:b47 ;
sp:subject _:b36
] [ sp:object _:b37 ;
sp:predicate rdfs:label ;
sp:subject _:b46
] [ sp:object _:b46 ;
sp:subject _:b36
] [ sp:object _:b36 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#sampledFluid> ;
sp:subject _:b48
sp:subject _:b38
]) ;
sp:where ([ sp:object _:b49 ;
sp:where ([ sp:object _:b39 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_fluidSample> ;
sp:predicate rdf:type ;
sp:subject _:b49
] [ sp:object _:b49 ;
sp:subject _:b39
] [ sp:object _:b39 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject _:b48
] [ sp:object _:b47 ;
sp:subject _:b38
] [ sp:object _:b37 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#name> ;
sp:subject _:b49
sp:subject _:b39
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40004 Specify the fluid analysis result."^^xsd:string ;
sp:templates ([ sp:object _:b50 ;
sp:templates ([ sp:object _:b40 ;
sp:predicate rdfs:label ;
sp:subject _:b51
] [ sp:object _:b52 ;
sp:subject _:b41
] [ sp:object _:b42 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject _:b53
sp:subject _:b43
]) ;
sp:where ([ sp:object _:b54 ;
sp:where ([ sp:object _:b44 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_fluidSample> ;
sp:predicate rdf:type ;
sp:subject _:b54
] [ sp:object _:b54 ;
sp:subject _:b44
] [ sp:object _:b44 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject _:b51
] [ sp:object _:b53 ;
sp:subject _:b41
] [ sp:object _:b43 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#sampledFluid> ;
sp:subject _:b51
] [ sp:object _:b55 ;
sp:subject _:b41
] [ sp:object _:b45 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#name> ;
sp:subject _:b54
] [ sp:object _:b52 ;
sp:subject _:b44
] [ sp:object _:b42 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_fluidAnalysisResult> ;
sp:predicate rdf:type ;
sp:subject _:b52
] [ sp:object _:b55 ;
sp:subject _:b42
] [ sp:object _:b45 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#nameFluidSample> ;
sp:subject _:b52
sp:subject _:b42
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b50 ;
sp:elements ([ sp:object _:b40 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#nameFluidAnalysis> ;
sp:subject _:b52
sp:subject _:b42
])
])
] ;
......@@ -401,350 +444,517 @@ The sample is anonymous. It is matched to its results via the sample name, which
[ rdf:type sp:Construct ;
rdfs:comment """STEP 40002a Create the Facility where the sampling takes place - the same approach to identification of the facility is used as for product volume.
kind is \"well\" and facilityAlias is supplied"""^^xsd:string ;
sp:templates ([ sp:object _:b56 ;
sp:templates ([ sp:object _:b46 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#samplingPerformedAt> ;
sp:subject _:b57
] [ sp:object _:b58 ;
sp:subject _:b47
] [ sp:object _:b48 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b56
] [ sp:object _:b59 ;
sp:subject _:b46
] [ sp:object _:b49 ;
sp:predicate rdfs:label ;
sp:subject _:b60
sp:subject _:b50
]) ;
sp:where ([ sp:object _:b61 ;
sp:where ([ sp:object _:b51 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_fluidSample> ;
sp:predicate rdf:type ;
sp:subject _:b61
] [ sp:object _:b61 ;
sp:subject _:b51
] [ sp:object _:b51 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject _:b57
] [ sp:object _:b60 ;
sp:subject _:b47
] [ sp:object _:b50 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#facilityRef> ;
sp:subject _:b61
] [ sp:object _:b62 ;
sp:subject _:b51
] [ sp:object _:b52 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ;
sp:subject _:b60
sp:subject _:b50
] [ sp:object <http://www.epim.no/schemas/mprml/1#RF_well> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject _:b62
] [ sp:object _:b63 ;
sp:subject _:b52
] [ sp:object _:b53 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#facilityAliasRef> ;
sp:subject _:b61
] [ sp:object _:b64 ;
sp:subject _:b51
] [ sp:object _:b54 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b63
sp:subject _:b53
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b64
sp:arg1 _:b54
] ;
sp:variable _:b59
sp:variable _:b49
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type rhspin:wellByName ;
arg:wellName _:b64
arg:wellName _:b54
] ;
sp:variable _:b58
sp:variable _:b48
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 40002c Create the Facility where the sampling takes place - the same approach to identification of the facility is used as for product volume.
kind is not \"well\" and facilityParent1 is not supplied"""^^xsd:string ;
sp:templates ([ sp:object _:b65 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#samplingPerformedAt> ;
sp:subject _:b66
] [ sp:object _:b67 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b65
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#Facility> ;
rdfs:comment """STEP 40005b Specify the fluid component - non-primary component.
The componentName element is used differently in the examples for the primary and non-primary components."""^^xsd:string ;
sp:templates ([ sp:object _:b55 ;
sp:predicate
[ sp:varName "fluidComponentType"^^xsd:string
] ;
sp:subject
[ sp:varName "sampledFluid"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/well#Fluid> ;
sp:predicate rdf:type ;
sp:subject _:b67
] [ sp:object _:b68 ;
sp:predicate rdfs:label ;
sp:subject _:b67
] [ sp:object _:b69 ;
sp:subject _:b55
] [ sp:object
[ sp:varName "fluidComponentKindType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject _:b67
] [ sp:object _:b68 ;
sp:predicate rdfs:label ;
sp:subject _:b70
]) ;
sp:where ([ sp:object _:b71 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_fluidSample> ;
sp:subject _:b55
] [ sp:object
[ sp:varName "fluidSubstanceKindType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject _:b71
] [ sp:object _:b71 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject _:b66
] [ sp:object _:b70 ;
sp:subject _:b55
] [ sp:object <http://www.reportinghub.no/ep/schema/production-well#FluidWholeNonPrimaryComponentPair> ;
sp:predicate rdf:type ;
sp:subject _:b56
] [ sp:object
[ sp:varName "sampledFluid"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-well#wholeFluid> ;
sp:subject _:b56
] [ sp:object _:b55 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-well#componentFluid> ;
sp:subject _:b56
] [ sp:object _:b57 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-well#weightRatio> ;
sp:subject _:b56
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Ratio> ;
sp:predicate rdf:type ;
sp:subject _:b57
] [ sp:object
[ sp:varName "realWeightPercent"^^xsd:string
] ;
sp:predicate
[ sp:varName "weightPercentScale"^^xsd:string
] ;
sp:subject _:b57
] [ sp:object _:b58 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-well#moleRatio> ;
sp:subject _:b56
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Ratio> ;
sp:predicate rdf:type ;
sp:subject _:b58
] [ sp:object
[ sp:varName "realMolePercent"^^xsd:string
] ;
sp:predicate
[ sp:varName "molePercentScale"^^xsd:string
] ;
sp:subject _:b58
]) ;
sp:where ([ sp:object
[ sp:varName "fluidAnalysisResultRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_fluidAnalysisResult> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "fluidAnalysisResultRef"^^xsd:string
]
] [ sp:object
[ sp:varName "fluidAnalysisResultRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "sampledFluid"^^xsd:string
]
] [ sp:object
[ sp:varName "fluidSampleCompositionRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#fluidSampleCompositionRef> ;
sp:subject
[ sp:varName "fluidAnalysisResultRef"^^xsd:string
]
] [ sp:object "false"^^xsd:boolean ;
sp:predicate <http://www.epim.no/schemas/mprml/1#isPrimary> ;
sp:subject
[ sp:varName "fluidSampleCompositionRef"^^xsd:string
]
] [ sp:object
[ sp:varName "name"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#componentName> ;
sp:subject
[ sp:varName "fluidSampleCompositionRef"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#SubstanceType> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "fluidSubstanceKindType"^^xsd:string
]
] [ sp:object
[ sp:varName "name"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject
[ sp:varName "fluidSubstanceKindType"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "componentKindRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#componentKindRef> ;
sp:subject
[ sp:varName "fluidSampleCompositionRef"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "weightPercentRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#weightPercentRef> ;
sp:subject
[ sp:varName "fluidSampleCompositionRef"^^xsd:string
]
] [ sp:object
[ sp:varName "realWeightPercent"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "weightPercentRef"^^xsd:string
]
] [ sp:object
[ sp:varName "uomWeightPercent"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ;
sp:subject
[ sp:varName "weightPercentRef"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "molePercentRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#molePercentRef> ;
sp:subject
[ sp:varName "fluidSampleCompositionRef"^^xsd:string
]
] [ sp:object
[ sp:varName "realMolePercent"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "molePercentRef"^^xsd:string
]
] [ sp:object
[ sp:varName "uomMolePercent"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ;
sp:subject
[ sp:varName "molePercentRef"^^xsd:string
]
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:selectRatioScale ;
sp:arg1 [ sp:varName "uomWeightPercent"^^xsd:string
]
] ;
sp:variable
[ sp:varName "weightPercentScale"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:selectRatioScale ;
sp:arg1 [ sp:varName "uomMolePercent"^^xsd:string
]
] ;
sp:variable
[ sp:varName "molePercentScale"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:selectFluidComponentKindType ;
sp:arg1 [ sp:varName "componentKindRef"^^xsd:string
]
] ;
sp:variable
[ sp:varName "fluidComponentKindType"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 40002c Create the Facility where the sampling takes place - the same approach to identification of the facility is used as for product volume.
kind is not \"well\" and facilityParent1 is not supplied"""^^xsd:string ;
sp:templates ([ sp:object _:b59 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#samplingPerformedAt> ;
sp:subject _:b60
] [ sp:object _:b61 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b59
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#Facility> ;
sp:predicate rdf:type ;
sp:subject _:b61
] [ sp:object _:b62 ;
sp:predicate rdfs:label ;
sp:subject _:b61
] [ sp:object _:b63 ;
sp:predicate rdf:type ;
sp:subject _:b61
] [ sp:object _:b62 ;
sp:predicate rdfs:label ;
sp:subject _:b64
]) ;
sp:where ([ sp:object _:b65 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_fluidSample> ;
sp:predicate rdf:type ;
sp:subject _:b65
] [ sp:object _:b65 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject _:b60
] [ sp:object _:b64 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#facilityRef> ;
sp:subject _:b71
] [ sp:object _:b72 ;
sp:subject _:b65
] [ sp:object _:b66 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ;
sp:subject _:b70
] [ sp:object _:b73 ;
sp:subject _:b64
] [ sp:object _:b67 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b72
] [ sp:object _:b74 ;
sp:subject _:b66
] [ sp:object _:b68 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject _:b72
sp:subject _:b66
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_well> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject _:b72
sp:subject _:b66
])
] [ sp:object _:b75 ;
] [ sp:object _:b69 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#facilityParent1Ref> ;
sp:subject _:b71
] [ sp:object _:b76 ;
sp:subject _:b65
] [ sp:object _:b70 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b75
sp:subject _:b69
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "facilityParent2Ref"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#facilityParent2Ref> ;
sp:subject _:b71
sp:subject _:b65
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b73
sp:arg1 _:b67
] ;
sp:variable _:b77
sp:variable _:b71
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b76
sp:arg1 _:b70
] ;
sp:variable _:b78
sp:variable _:b72
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type fn:concat ;
sp:arg1 _:b78 ;
sp:arg1 _:b72 ;
sp:arg2 "$" ;
sp:arg3 _:b77
sp:arg3 _:b71
] ;
sp:variable _:b68
sp:variable _:b62
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildProductionFacilityURI ;
sp:arg1 _:b68
sp:arg1 _:b62
] ;
sp:variable _:b67
sp:variable _:b61
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:selectProductionFacilityType ;
sp:arg1 _:b74
sp:arg1 _:b68
] ;
sp:variable _:b69
sp:variable _:b63
])
] .
<http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-fluidSample-v1.0>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/production-activity> , <http://www.epim.no/schemas/mprml/1> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> , <http://www.reportinghub.no/ep/mpr/spin/1.1/lib> ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/substance> , <http://www.reportinghub.no/ep/schema/1.0/production-activity> , <http://www.epim.no/schemas/mprml/1> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> , <http://www.reportinghub.no/ep/mpr/spin/1.1/lib> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
_:b61
sp:varName "fluidSampleRef"^^xsd:string .
_:b57
_:b47
sp:varName "fluidSamplingAndAnalysis"^^xsd:string .
_:b60
sp:varName "facilityRef"^^xsd:string .
_:b62
sp:varName "facilityNameRef"^^xsd:string .
_:b63
sp:varName "facilityAliasRef"^^xsd:string .
_:b64
sp:varName "facilityAlias"^^xsd:string .
_:b48
sp:varName "facility"^^xsd:string .
_:b59
_:b49
sp:varName "normalizedFacilityAlias"^^xsd:string .
_:b58
sp:varName "facility"^^xsd:string .
_:b50
sp:varName "facilityRef"^^xsd:string .
_:b35
_:b51
sp:varName "fluidSampleRef"^^xsd:string .
_:b30
sp:varName "fluidSamplingAndAnalysis"^^xsd:string .
_:b34
sp:varName "facilityRef"^^xsd:string .
_:b36
_:b52
sp:varName "facilityNameRef"^^xsd:string .
_:b37
sp:varName "facilityName"^^xsd:string .
_:b38
sp:varName "facilityKind"^^xsd:string .
_:b32
sp:varName "normalizedFacilityName"^^xsd:string .
_:b31
sp:varName "facility"^^xsd:string .
_:b53
sp:varName "facilityAliasRef"^^xsd:string .
_:b33
sp:varName "facilityType"^^xsd:string .
_:b54
sp:varName "facilityAlias"^^xsd:string .
_:b71
sp:varName "fluidSampleRef"^^xsd:string .
_:b40
sp:varName "nameFluidAnalysis"^^xsd:string .
_:b66
_:b41
sp:varName "fluidSamplingAndAnalysis"^^xsd:string .
_:b70
sp:varName "facilityRef"^^xsd:string .
_:b72
sp:varName "facilityNameRef"^^xsd:string .
_:b42
sp:varName "fluidAnalysisResultRef"^^xsd:string .
_:b73
sp:varName "facilityChildName"^^xsd:string .
_:b43
sp:varName "sampledFluid"^^xsd:string .
_:b74
sp:varName "facilityKind"^^xsd:string .
_:b44
sp:varName "fluidSampleRef"^^xsd:string .
_:b75
sp:varName "facilityParent1Ref"^^xsd:string .
_:b45
sp:varName "name"^^xsd:string .
_:b76
sp:varName "facilityParent1Name"^^xsd:string .
_:b37
sp:varName "name"^^xsd:string .
_:b77
sp:varName "normalizedFacilityChildName"^^xsd:string .
_:b38
sp:varName "fluidSamplingAndAnalysis"^^xsd:string .
_:b78
sp:varName "normalizedFacilityParent1Name"^^xsd:string .
_:b39
sp:varName "fluidSampleRef"^^xsd:string .
_:b68
sp:varName "normalizedFacilityName"^^xsd:string .
_:b30
sp:varName "productionReport"^^xsd:string .
_:b67
sp:varName "facility"^^xsd:string .
_:b32
sp:varName "fluidSamplingType"^^xsd:string .
_:b69
sp:varName "facilityType"^^xsd:string .
_:b33
sp:varName "acquisitionDate"^^xsd:string .
_:b19
_:b34
sp:varName "fluidSampleRef"^^xsd:string .
_:b14
sp:varName "fluidSamplingAndAnalysis"^^xsd:string .
_:b18
sp:varName "facilityRef"^^xsd:string .
_:b35
sp:varName "sampleTypeRef"^^xsd:string .
_:b20
sp:varName "facilityNameRef"^^xsd:string .
sp:varName "fluidSamplingAndAnalysis"^^xsd:string .
_:b21
sp:varName "facilityChildName"^^xsd:string .
sp:varName "facility"^^xsd:string .
_:b22
sp:varName "facilityKind"^^xsd:string .
sp:varName "normalizedFacilityName"^^xsd:string .
_:b23
sp:varName "facilityParent1Ref"^^xsd:string .
sp:varName "facilityType"^^xsd:string .
_:b24
sp:varName "facilityParent1Name"^^xsd:string .
sp:varName "facilityRef"^^xsd:string .
_:b25
sp:varName "facilityParent2Ref"^^xsd:string .
sp:varName "fluidSampleRef"^^xsd:string .
_:b26
sp:varName "facilityParent2Name"^^xsd:string .
sp:varName "facilityNameRef"^^xsd:string .
_:b27
sp:varName "normalizedFacilityChildName"^^xsd:string .
sp:varName "facilityName"^^xsd:string .
_:b28
sp:varName "normalizedFacilityParent1Name"^^xsd:string .
sp:varName "facilityKind"^^xsd:string .
_:b16
sp:varName "normalizedFacilityName"^^xsd:string .
_:b4 sp:varName "fluidSamplingAndAnalysis"^^xsd:string .
_:b15
sp:varName "facility"^^xsd:string .
_:b5 sp:varName "facility"^^xsd:string .
_:b17
sp:varName "facilityType"^^xsd:string .
_:b6 sp:varName "normalizedFacilityName"^^xsd:string .
_:b8 sp:varName "fluidAnalysisResultRef"^^xsd:string .
_:b7 sp:varName "facilityType"^^xsd:string .
_:b3 sp:varName "sampledFluid"^^xsd:string .
_:b8 sp:varName "facilityRef"^^xsd:string .
_:b9 sp:varName "fluidSampleCompositionRef"^^xsd:string .
_:b9 sp:varName "fluidSampleRef"^^xsd:string .
_:b10
sp:varName "isPrimary"^^xsd:string .
sp:varName "facilityNameRef"^^xsd:string .
_:b11
sp:varName "weightPercentRef"^^xsd:string .
_:b6 sp:varName "realWeightPercent"^^xsd:string .
sp:varName "facilityChildName"^^xsd:string .
_:b12
sp:varName "uomWeightPercent"^^xsd:string .
sp:varName "facilityKind"^^xsd:string .
_:b2 sp:varName "fluidComponentType"^^xsd:string .
_:b13
sp:varName "facilityParent1Ref"^^xsd:string .
_:b7 sp:varName "weightPercentScale"^^xsd:string .
_:b14
sp:varName "facilityParent1Name"^^xsd:string .
_:b49
sp:varName "fluidSampleRef"^^xsd:string .
_:b15
sp:varName "facilityParent2Ref"^^xsd:string .
_:b48
sp:varName "fluidSamplingAndAnalysis"^^xsd:string .
_:b16
sp:varName "facilityParent2Name"^^xsd:string .
_:b47
sp:varName "name"^^xsd:string .
_:b17
sp:varName "normalizedFacilityChildName"^^xsd:string .
_:b54
sp:varName "fluidSampleRef"^^xsd:string .
_:b18
sp:varName "normalizedFacilityParent1Name"^^xsd:string .
_:b51
_:b60
sp:varName "fluidSamplingAndAnalysis"^^xsd:string .
_:b53
sp:varName "sampledFluid"^^xsd:string .
_:b55
sp:varName "name"^^xsd:string .
_:b61
sp:varName "facility"^^xsd:string .
_:b52
sp:varName "fluidAnalysisResultRef"^^xsd:string .
_:b62
sp:varName "normalizedFacilityName"^^xsd:string .
_:b50
sp:varName "nameFluidAnalysis"^^xsd:string .
_:b63
sp:varName "facilityType"^^xsd:string .
_:b40
sp:varName "productionReport"^^xsd:string .
_:b64
sp:varName "facilityRef"^^xsd:string .
_:b44
_:b65
sp:varName "fluidSampleRef"^^xsd:string .
_:b43
sp:varName "acquisitionDate"^^xsd:string .
_:b66
sp:varName "facilityNameRef"^^xsd:string .
_:b45
sp:varName "sampleTypeRef"^^xsd:string .
_:b67
sp:varName "facilityChildName"^^xsd:string .
_:b42
sp:varName "fluidSamplingType"^^xsd:string .
_:b68
sp:varName "facilityKind"^^xsd:string .
_:b69
sp:varName "facilityParent1Ref"^^xsd:string .
_:b70
sp:varName "facilityParent1Name"^^xsd:string .
_:b71
sp:varName "normalizedFacilityChildName"^^xsd:string .
_:b72
sp:varName "normalizedFacilityParent1Name"^^xsd:string .
......