David Leal

Removed duplicates from the schemas and fixed a bug in MPR fluid sample

......@@ -72,13 +72,13 @@ ep-eqt:ClassOfSupplyDefinedByAManufacturer
rdfs:subClassOf owl:Class .
ep-eqt:Compressor
rdf:type owl:Class , ep-fac:ProductionFacilityType ;
rdf:type owl:Class ;
rdfs:comment "equipment that is a compressor"^^xsd:string ;
rdfs:label "compressor"^^xsd:string ;
rdfs:subClassOf ep-eqt:Equipment .
ep-eqt:Controller-lift
rdf:type owl:Class , ep-fac:ProductionFacilityType ;
rdf:type owl:Class ;
rdfs:comment "deprecated - same as ep-prodeqt:Controller"^^xsd:string ;
rdfs:label "controller - lift"^^xsd:string ;
rdfs:subClassOf ep-eqt:Equipment .
......@@ -153,15 +153,20 @@ ep-eqt:Liner
rdfs:subClassOf ep-eqt:CasingLinerTubing ;
owl:disjointWith ep-eqt:Tubing , ep-eqt:Casing .
ep-eqt:Manifold
rdf:type owl:Class ;
rdfs:label "manifold"^^xsd:string ;
rdfs:subClassOf ep-eqt:Equipment .
ep-eqt:Manifold-injection
rdf:type owl:Class , ep-fac:ProductionFacilityType ;
rdf:type owl:Class ;
rdfs:label "manifold - injection"^^xsd:string ;
rdfs:subClassOf ep-eqt:Equipment .
rdfs:subClassOf ep-eqt:Manifold .
ep-eqt:Manifold-production
rdf:type owl:Class , ep-fac:ProductionFacilityType ;
rdf:type owl:Class ;
rdfs:label "manifold - production"^^xsd:string ;
rdfs:subClassOf ep-eqt:Equipment .
rdfs:subClassOf ep-eqt:Manifold .
ep-eqt:PipeOutsideDiameterAPI_5CTClass
rdf:type rdfs:Class ;
......@@ -180,7 +185,7 @@ ep-eqt:ProductionCasing
owl:disjointWith ep-eqt:TopCasing , ep-eqt:IntermediateCasing .
ep-eqt:Separator
rdf:type owl:Class , ep-fac:ProductionFacilityType ;
rdf:type owl:Class ;
rdfs:comment "equipment that is a separator"^^xsd:string ;
rdfs:label "separator"^^xsd:string ;
rdfs:subClassOf ep-eqt:Equipment .
......@@ -191,7 +196,7 @@ ep-eqt:SteelGradeAPI_5CTClass
rdfs:subClassOf owl:Class .
ep-eqt:Tank
rdf:type owl:Class , ep-fac:ProductionFacilityType ;
rdf:type owl:Class ;
rdfs:comment "equipment that is a tank"^^xsd:string ;
rdfs:label "tank"^^xsd:string ;
rdfs:subClassOf ep-eqt:Equipment .
......
......@@ -17,9 +17,9 @@
owl:versionInfo "0.1.0"^^xsd:string .
ep-fac:Completion
rdf:type ep-fac:ProductionFacilityType , owl:Class ;
rdf:type owl:Class ;
rdfs:label "completion"^^xsd:string ;
rdfs:subClassOf ep-fac:TemporalPartOfACompletion .
rdfs:subClassOf ep-fac:Facility .
ep-fac:Facility
rdf:type owl:Class ;
......@@ -27,16 +27,15 @@ ep-fac:Facility
rdfs:subClassOf ep-core:PhysicalObject .
ep-fac:Field
rdf:type ep-fac:ProductionFacilityType , owl:Class ;
rdf:type owl:Class ;
rdfs:comment "facility that is a field"^^xsd:string ;
rdfs:label "field"^^xsd:string ;
rdfs:subClassOf ep-fac:TemporalPartOfAField .
rdfs:label "field"^^xsd:string .
ep-fac:FixedFacility
rdf:type ep-fac:FixedOrMoveableFacilityType , owl:DeprecatedClass ;
rdf:type owl:DeprecatedClass , ep-fac:FixedOrMoveableFacilityType ;
rdfs:comment "facility that has been build and that is intended to remain in one place"^^xsd:string ;
rdfs:label "fixed facility"^^xsd:string ;
rdfs:subClassOf ep-fac:TemporalPartOfAFixedFacility .
rdfs:subClassOf ep-fac:Facility .
ep-fac:FixedOrMoveableFacilityType
rdf:type rdfs:Class ;
......@@ -49,43 +48,43 @@ ep-fac:FixedOrMoveableRigType
rdfs:subClassOf owl:Class .
ep-fac:FixedRig
rdf:type ep-fac:FixedOrMoveableRigType , owl:Class ;
rdf:type owl:Class , ep-fac:FixedOrMoveableRigType ;
rdfs:label "fixed rig"^^xsd:string ;
rdfs:subClassOf ep-fac:FixedFacility , ep-fac:Rig .
rdfs:subClassOf ep-fac:Rig , ep-fac:FixedFacility .
ep-fac:Flowline
rdf:type ep-fac:ProductionFacilityType , owl:Class ;
rdf:type owl:Class ;
rdfs:comment "facility that is a flowline"^^xsd:string ;
rdfs:label "flowline"^^xsd:string ;
rdfs:subClassOf ep-fac:TemporalPartOfAFlowline .
rdfs:subClassOf ep-fac:Facility .
ep-fac:Flowline-production
rdf:type ep-fac:ProductionFacilityType , owl:Class ;
rdf:type owl:Class ;
rdfs:label "flowline - production"^^xsd:string ;
rdfs:subClassOf ep-fac:Flowline .
ep-fac:Lease
rdf:type ep-fac:ProductionFacilityType , owl:Class ;
rdf:type owl:Class ;
rdfs:comment "facility that is defined by a lease"^^xsd:string ;
rdfs:label "lease"^^xsd:string ;
rdfs:subClassOf ep-fac:Facility .
ep-fac:MoveableFacility
rdf:type ep-fac:FixedOrMoveableFacilityType , owl:Class ;
rdf:type owl:Class , ep-fac:FixedOrMoveableFacilityType ;
rdfs:comment "facility that has been built and that is intended to be moved from place to place"^^xsd:string ;
rdfs:label "moveable facility"^^xsd:string ;
rdfs:subClassOf ep-fac:TemporalPartOfAMoveableFacility .
rdfs:subClassOf ep-fac:Facility .
ep-fac:MoveableRig
rdf:type ep-fac:FixedOrMoveableRigType , owl:Class ;
rdf:type owl:Class , ep-fac:FixedOrMoveableRigType ;
rdfs:label "moveable rig"^^xsd:string ;
rdfs:subClassOf ep-fac:MoveableFacility , ep-fac:Rig .
rdfs:subClassOf ep-fac:Rig , ep-fac:MoveableFacility .
ep-fac:Platform
rdf:type ep-fac:ProductionFacilityType , owl:Class ;
rdf:type owl:Class ;
rdfs:comment "facility that is a platform"^^xsd:string ;
rdfs:label "platform"^^xsd:string ;
rdfs:subClassOf ep-fac:TemporalPartOfAPlatform .
rdfs:subClassOf ep-fac:Facility .
ep-fac:ProductionFacility
rdf:type owl:Class ;
......@@ -93,16 +92,11 @@ ep-fac:ProductionFacility
rdfs:label "production facility"^^xsd:string ;
rdfs:subClassOf ep-fac:TemporalPartOfAProductionFacility .
ep-fac:ProductionFacilityType
rdf:type rdfs:Class ;
rdfs:label "production facility type"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-fac:Reservoir
rdf:type ep-fac:ProductionFacilityType , owl:Class ;
rdf:type owl:Class ;
rdfs:comment "facility that is a reservoir"^^xsd:string ;
rdfs:label "reservoir"^^xsd:string ;
rdfs:subClassOf ep-fac:TemporalPartOfAReservoir .
rdfs:subClassOf ep-fac:Facility .
ep-fac:Rig
rdf:type owl:Class ;
......@@ -130,66 +124,34 @@ ep-fac:SurroundingWater-meanSeaLevel
rdfs:subClassOf ep-fac:SurroundingWater .
ep-fac:Template
rdf:type ep-fac:ProductionFacilityType , owl:Class ;
rdf:type owl:Class ;
rdfs:comment "equipment that is an ocean bottom template"^^xsd:string ;
rdfs:label "template"^^xsd:string ;
rdfs:subClassOf ep-fac:TemporalPartOfATemplate .
ep-fac:TemporalPartOfACompletion
rdf:type owl:Class ;
rdfs:subClassOf ep-fac:Facility .
ep-fac:TemporalPartOfAField
rdf:type owl:Class ;
rdfs:subClassOf ep-fac:Facility .
ep-fac:TemporalPartOfAFixedFacility
rdf:type owl:Class ;
rdfs:subClassOf ep-fac:Facility .
ep-fac:TemporalPartOfAFlowline
rdf:type owl:Class ;
rdfs:subClassOf ep-fac:Facility .
ep-fac:TemporalPartOfAMoveableFacility
rdf:type owl:Class ;
rdfs:subClassOf ep-fac:Facility .
ep-fac:TemporalPartOfAPlatform
rdf:type owl:Class ;
rdfs:subClassOf ep-fac:Facility .
ep-fac:TemporalPartOfAProductionFacility
rdf:type owl:Class ;
rdfs:comment "facility that is a temporal part of a production facility"^^xsd:string ;
rdfs:label "temporal part of a production facility"^^xsd:string ;
rdfs:subClassOf ep-fac:Facility .
ep-fac:TemporalPartOfAReservoir
rdf:type owl:Class ;
rdfs:subClassOf ep-fac:Facility .
ep-fac:TemporalPartOfARig
rdf:type owl:Class ;
rdfs:label "(temporal part of a) rig"^^xsd:string ;
rdfs:subClassOf ep-fac:Facility .
ep-fac:TemporalPartOfATemplate
rdf:type owl:Class ;
rdfs:subClassOf ep-fac:Facility .
ep-fac:TemporalPartOfAZone
rdf:type owl:Class ;
rdfs:subClassOf ep-fac:Facility .
ep-fac:Zone
rdf:type ep-fac:ProductionFacilityType , owl:Class ;
rdf:type owl:Class ;
rdfs:comment "spatial part of a wellbore that is a zone"^^xsd:string ;
rdfs:label "zone"^^xsd:string ;
rdfs:subClassOf ep-fac:TemporalPartOfAZone .
rdfs:subClassOf ep-fac:Facility .
ep-fac:depthOfSurroundingWater
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-fac:SurroundingWater ;
rdfs:label "depth of surrounding water"^^xsd:string ;
rdfs:range ep-core:Length .
......
......@@ -37,22 +37,22 @@ ep-core:licenceBlockHasNpdPolygonPart
rdfs:subPropertyOf ep-core:hasPart .
ep-geo:AreaCoveredByBusinessArrangement
rdf:type ep-fac:ProductionFacilityType , owl:Class ;
rdf:type owl:Class ;
rdfs:label "A part of the earth recognised in a Business Arrangement"^^xsd:string ;
rdfs:subClassOf ep-geo:PartOfTheSurfaceOfTheEarth ;
owl:disjointWith ep-geo:LicenceBlock , ep-geo:State , ep-geo:County , ep-geo:PartOfSurfaceOfTheEarthSpecifiedAsPolygon , ep-geo:Country .
owl:disjointWith ep-geo:State , ep-geo:County , ep-geo:PartOfSurfaceOfTheEarthSpecifiedAsPolygon , ep-geo:Country , ep-geo:LicenceBlock .
ep-geo:Country
rdf:type owl:Class , ep-fac:ProductionFacilityType ;
rdf:type owl:Class ;
rdfs:label "country"^^xsd:string ;
rdfs:subClassOf ep-geo:PartOfTheSurfaceOfTheEarth ;
owl:disjointWith ep-geo:AreaCoveredByBusinessArrangement , ep-geo:LicenceBlock , ep-geo:County , ep-geo:PartOfSurfaceOfTheEarthSpecifiedAsPolygon , ep-geo:State .
owl:disjointWith ep-geo:State , ep-geo:AreaCoveredByBusinessArrangement , ep-geo:LicenceBlock , ep-geo:County , ep-geo:PartOfSurfaceOfTheEarthSpecifiedAsPolygon .
ep-geo:County
rdf:type owl:Class , ep-fac:ProductionFacilityType ;
rdf:type owl:Class ;
rdfs:label "county"^^xsd:string ;
rdfs:subClassOf ep-geo:PartOfTheSurfaceOfTheEarth ;
owl:disjointWith ep-geo:AreaCoveredByBusinessArrangement , ep-geo:LicenceBlock , ep-geo:State , ep-geo:PartOfSurfaceOfTheEarthSpecifiedAsPolygon , ep-geo:Country .
owl:disjointWith ep-geo:Country , ep-geo:AreaCoveredByBusinessArrangement , ep-geo:LicenceBlock , ep-geo:State , ep-geo:PartOfSurfaceOfTheEarthSpecifiedAsPolygon .
ep-geo:DestinationType
rdf:type rdfs:Class ;
......@@ -65,7 +65,7 @@ ep-geo:Harbour
rdfs:subClassOf ep-geo:PartOfTheSurfaceOfTheEarth .
ep-geo:LicenceBlock
rdf:type owl:Class , ep-fac:ProductionFacilityType ;
rdf:type owl:Class ;
rdfs:comment "See RDL RDS13025226"^^xsd:string ;
rdfs:label "Licence Block"^^xsd:string ;
rdfs:subClassOf ep-geo:PartOfTheSurfaceOfTheEarth ;
......@@ -87,10 +87,10 @@ ep-geo:PartOfTheSurfaceOfTheEarth
rdfs:subClassOf ep-core:PhysicalObject .
ep-geo:State
rdf:type owl:Class , ep-fac:ProductionFacilityType ;
rdf:type owl:Class ;
rdfs:label "state"^^xsd:string ;
rdfs:subClassOf ep-geo:PartOfTheSurfaceOfTheEarth ;
owl:disjointWith ep-geo:AreaCoveredByBusinessArrangement , ep-geo:LicenceBlock , ep-geo:County , ep-geo:PartOfSurfaceOfTheEarthSpecifiedAsPolygon , ep-geo:Country .
owl:disjointWith ep-geo:Country , ep-geo:AreaCoveredByBusinessArrangement , ep-geo:LicenceBlock , ep-geo:County , ep-geo:PartOfSurfaceOfTheEarthSpecifiedAsPolygon .
ep-geo:Terminal
rdf:type ep-geo:DestinationType , owl:Class ;
......
......@@ -12,7 +12,7 @@
<http://www.reportinghub.no/ep/schema/1.0/production-equipment>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/production-facility> ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/production-facility> , <http://www.reportinghub.no/ep/schema/1.0/equipment> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
<http://www.reportinghub.no/ep/schema/equipment#ChokeValve>
......@@ -21,9 +21,6 @@
<http://www.reportinghub.no/ep/schema/equipment#Controller-lift>
rdfs:subClassOf ep-prodeqt:Controller .
<http://www.reportinghub.no/ep/schema/equipment#Manifold>
rdfs:label "manifold"^^xsd:string .
ep-prodeqt:BlockValve
rdf:type owl:Class ;
rdfs:comment "valve that is a block valve"^^xsd:string ;
......@@ -31,7 +28,7 @@ ep-prodeqt:BlockValve
rdfs:subClassOf ep-prodeqt:Valve .
ep-prodeqt:Controller
rdf:type owl:Class , ep-prodfac:ProductionFacilityType ;
rdf:type owl:Class ;
rdfs:comment "equipment that is a single lift gas controller"^^xsd:string ;
rdfs:label "controller"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> .
......@@ -44,7 +41,7 @@ ep-prodeqt:DownHoleControlValve
ep-prodeqt:FlowLine
rdf:type owl:Class ;
rdfs:subClassOf ep-prodeqt:TemporalPartOfAFlowLine .
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> .
ep-prodeqt:FlowLine-Production
rdf:type owl:Class ;
......@@ -62,16 +59,7 @@ ep-prodeqt:GasLiftChoke
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> .
ep-prodeqt:Manifold
rdf:type owl:Class ;
rdfs:subClassOf ep-prodeqt:TemporalPartOfAManifold .
ep-prodeqt:Manifold-Injection
rdf:type owl:Class ;
rdfs:subClassOf ep-prodeqt:Manifold .
ep-prodeqt:Manifold-Production
rdf:type owl:Class ;
rdfs:subClassOf ep-prodeqt:Manifold .
rdf:type owl:Class .
ep-prodeqt:PressureMeter
rdf:type owl:Class ;
......@@ -85,42 +73,18 @@ ep-prodeqt:RegulatingValve
rdfs:label "regulating valve"^^xsd:string ;
rdfs:subClassOf ep-prodeqt:Valve .
ep-prodeqt:Separator
rdf:type owl:Class ;
rdfs:subClassOf ep-prodeqt:TemporalPartOfASeparator .
ep-prodeqt:SleeveValve
rdf:type owl:Class ;
rdfs:comment "valve that is a sleeve valve"^^xsd:string ;
rdfs:label "sleeve valve"^^xsd:string ;
rdfs:subClassOf ep-prodeqt:Valve .
ep-prodeqt:Tank
rdf:type owl:Class ;
rdfs:subClassOf ep-prodeqt:TemporalPartOfATank .
ep-prodeqt:TemperatureMeter
rdf:type owl:Class ;
rdfs:comment "equipment that is a temperature meter"^^xsd:string ;
rdfs:label "temperature meter"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> .
ep-prodeqt:TemporalPartOfAFlowLine
rdf:type owl:Class ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> .
ep-prodeqt:TemporalPartOfAManifold
rdf:type owl:Class ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> .
ep-prodeqt:TemporalPartOfASeparator
rdf:type owl:Class ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> .
ep-prodeqt:TemporalPartOfATank
rdf:type owl:Class ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> .
ep-prodeqt:Valve
rdf:type owl:Class ;
rdfs:comment "equipment item that is a valve"^^xsd:string ;
......@@ -128,17 +92,17 @@ ep-prodeqt:Valve
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> .
ep-prodeqt:hasCaptain
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:label "has captain"^^xsd:string ;
rdfs:range <http://www.reportinghub.no/ep/schema/organization#Person> .
ep-prodeqt:hasValvePosition
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 ep-prodeqt:Valve ;
rdfs:label "has valve position"^^xsd:string ;
rdfs:range ep-core:Ratio .
ep-prodfac:Pipeline
rdf:type ep-prodfac:ProductionFacilityType , owl:Class ;
rdf:type owl:Class ;
rdfs:label "pipeline"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/facility#Facility> .
......
......@@ -15,38 +15,41 @@
owl:imports <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/schema/1.0/organization> , <http://www.reportinghub.no/ep/schema/1.0/production-well> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
<http://www.reportinghub.no/ep/schema/equipment#ChokeValve>
rdf:type ep-prodfac:ProductionFacilityType .
<http://www.reportinghub.no/ep/schema/equipment#Compressor>
rdf:type ep-prodfac:ProductionFacilityType .
rdf:type ep-prodfac:ReportingFacilityType .
<http://www.reportinghub.no/ep/schema/equipment#Controller-lift>
rdf:type ep-prodfac:ProductionFacilityType .
rdf:type ep-prodfac:ReportingFacilityType .
<http://www.reportinghub.no/ep/schema/equipment#Manifold-injection>
rdf:type ep-prodfac:ReportingFacilityType .
<http://www.reportinghub.no/ep/schema/equipment#Manifold>
rdf:type ep-prodfac:ProductionFacilityType .
<http://www.reportinghub.no/ep/schema/equipment#Manifold-production>
rdf:type ep-prodfac:ReportingFacilityType .
<http://www.reportinghub.no/ep/schema/equipment#Separator>
rdf:type ep-prodfac:ProductionFacilityType .
rdf:type ep-prodfac:ReportingFacilityType .
<http://www.reportinghub.no/ep/schema/equipment#Tank>
rdf:type ep-prodfac:ProductionFacilityType .
rdf:type ep-prodfac:ReportingFacilityType .
<http://www.reportinghub.no/ep/schema/facility#Completion>
rdf:type ep-prodfac:ReportingFacilityType .
<http://www.reportinghub.no/ep/schema/facility#Field>
rdf:type ep-prodfac:ProductionFacilityType .
rdf:type ep-prodfac:ReportingFacilityType .
<http://www.reportinghub.no/ep/schema/facility#Flowline>
rdf:type ep-prodfac:ProductionFacilityType .
rdf:type ep-prodfac:ReportingFacilityType .
<http://www.reportinghub.no/ep/schema/facility#Flowline-production>
rdf:type ep-prodfac:ReportingFacilityType .
<http://www.reportinghub.no/ep/schema/facility#Lease>
rdf:type ep-prodfac:ProductionFacilityType .
rdf:type ep-prodfac:ReportingFacilityType .
<http://www.reportinghub.no/ep/schema/facility#Platform>
rdf:type ep-prodfac:ProductionFacilityType .
<http://www.reportinghub.no/ep/schema/facility#ProductionFacility>
rdf:type ep-prodfac:ProductionFacilityType .
rdf:type ep-prodfac:ReportingFacilityType .
<http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate>
rdf:type owl:Class ;
......@@ -55,10 +58,13 @@
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> .
<http://www.reportinghub.no/ep/schema/facility#Reservoir>
rdf:type ep-prodfac:ProductionFacilityType .
rdf:type ep-prodfac:ReportingFacilityType .
<http://www.reportinghub.no/ep/schema/facility#Template>
rdf:type ep-prodfac:ProductionFacilityType .
rdf:type ep-prodfac:ReportingFacilityType .
<http://www.reportinghub.no/ep/schema/facility#Zone>
rdf:type ep-prodfac:ReportingFacilityType .
<http://www.reportinghub.no/ep/schema/facility#facilityOperator>
rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
......@@ -67,63 +73,41 @@
rdfs:range <http://www.reportinghub.no/ep/schema/organization#Organization> .
<http://www.reportinghub.no/ep/schema/geography#Country>
rdf:type ep-prodfac:ProductionFacilityType .
<http://www.reportinghub.no/ep/schema/geography#State>
rdf:type ep-prodfac:ProductionFacilityType .
<http://www.reportinghub.no/ep/schema/geography#Terminal>
rdf:type ep-prodfac:ProductionFacilityType .
rdf:type ep-prodfac:ReportingFacilityType .
<http://www.reportinghub.no/ep/schema/organization#CommercialEntity>
rdf:type ep-prodfac:ProductionFacilityType .
<http://www.reportinghub.no/ep/schema/geography#County>
rdf:type ep-prodfac:ReportingFacilityType .
<http://www.reportinghub.no/ep/schema/organization#Company>
rdf:type ep-prodfac:ProductionFacilityType .
<http://www.reportinghub.no/ep/schema/production-equipment#BlockValve>
rdf:type ep-prodfac:ProductionFacilityType .
<http://www.reportinghub.no/ep/schema/geography#State>
rdf:type ep-prodfac:ReportingFacilityType .
<http://www.reportinghub.no/ep/schema/production-equipment#FlowMeter>
rdf:type ep-prodfac:ProductionFacilityType ;
rdfs:label "flow meter"^^xsd:string .
<http://www.reportinghub.no/ep/schema/production-equipment#PressureMeter>
rdf:type ep-prodfac:ProductionFacilityType .
<http://www.reportinghub.no/ep/schema/production-equipment#RegulatingValve>
rdf:type ep-prodfac:ProductionFacilityType .
<http://www.reportinghub.no/ep/schema/production-equipment#SleeveValve>
rdf:type ep-prodfac:ProductionFacilityType .
<http://www.reportinghub.no/ep/schema/production-equipment#TemperatureMeter>
rdf:type ep-prodfac:ProductionFacilityType .
ep-prodfac:Boat
rdf:type owl:Class ;
rdfs:subClassOf ep-prodfac:ShipOrBoat .
ep-prodfac:Field-area
rdf:type ep-prodfac:ProductionFacilityType , owl:Class ;
rdf:type owl:Class ;
rdfs:comment "area of ground that is above a field"^^xsd:string ;
rdfs:label "field - area"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/facility#Field> .
ep-prodfac:Field-group
rdf:type ep-prodfac:ProductionFacilityType , owl:Class ;
rdf:type owl:Class ;
rdfs:comment "facility that is a set of fields"^^xsd:string ;
rdfs:label "field - group"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/facility#Field> .
ep-prodfac:Field-part
rdf:type ep-prodfac:ProductionFacilityType , owl:Class ;
rdf:type owl:Class ;
rdfs:comment "facility that is part of a field"^^xsd:string ;
rdfs:label "field - part"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/facility#Field> .
ep-prodfac:Installation
rdf:type owl:Class , ep-prodfac:ProductionFacilityType ;
rdf:type owl:Class ;
rdfs:label "installation"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/facility#Facility> .
......@@ -136,23 +120,24 @@ ep-prodfac:Pipeline
rdfs:comment "facility that is a pipeline"^^xsd:string .
ep-prodfac:Plant
rdf:type ep-prodfac:ProductionFacilityType , owl:Class ;
rdf:type owl:Class ;
rdfs:label "plant"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/facility#Facility> .
ep-prodfac:Plant-processing
rdf:type ep-prodfac:ProductionFacilityType , owl:Class ;
rdf:type owl:Class ;
rdfs:label "plant - processing"^^xsd:string ;
rdfs:subClassOf ep-prodfac:Plant .
ep-prodfac:ProcessingFacility
rdf:type ep-prodfac:ProductionFacilityType , owl:Class ;
rdf:type owl:Class ;
rdfs:label "processing facility"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/facility#Facility> .
ep-prodfac:ProductionFacilityType
ep-prodfac:ReportingFacilityType
rdf:type rdfs:Class ;
rdfs:label "production facility type"^^xsd:string ;
rdfs:comment "The set of classes that are enumerated as reporting facilities in the DPR schema. The list is extended in the MPR."^^xsd:string ;
rdfs:label "reporting facility type"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-prodfac:Ship
......@@ -165,7 +150,7 @@ ep-prodfac:ShipOrBoat
rdfs:subClassOf ep-prodfac:TemporalPartOfAShipOrBoat .
ep-prodfac:StorageFacility
rdf:type ep-prodfac:ProductionFacilityType , owl:Class ;
rdf:type owl:Class ;
rdfs:label "storage facility"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/facility#Facility> .
......@@ -179,7 +164,7 @@ ep-prodfac:TemporalPartOfAShipOrBoat
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/facility#Facility> .
ep-prodfac:TrunkLine
rdf:type owl:Class , ep-prodfac:ProductionFacilityType ;
rdf:type owl:Class ;
rdfs:label "trunk line"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/facility#Facility> .
......@@ -229,27 +214,23 @@ ep-prodfac:operatingTime
rdfs:label "operating time"^^xsd:string ;
rdfs:range ep-core:TimeDuration .
<http://www.reportinghub.no/ep/schema/production-well#RockFormation>
rdf:type ep-prodfac:ProductionFacilityType .
<http://www.reportinghub.no/ep/schema/production-well#TubingHead>
rdf:type ep-prodfac:ProductionFacilityType .
<http://www.reportinghub.no/ep/schema/production-well#WellCompletion>
rdf:type ep-prodfac:ProductionFacilityType .
<http://www.reportinghub.no/ep/schema/well#Cluster>
rdf:type ep-prodfac:ReportingFacilityType .
<http://www.reportinghub.no/ep/schema/well#Well>
rdf:type ep-prodfac:ProductionFacilityType .
rdf:type ep-prodfac:ReportingFacilityType .
<http://www.reportinghub.no/ep/schema/well#WellBore>
rdf:type ep-prodfac:ProductionFacilityType .
rdf:type ep-prodfac:ReportingFacilityType .
<http://www.reportinghub.no/ep/schema/well#WellBoreBottom>
rdf:type ep-prodfac:ReportingFacilityType .
<http://www.reportinghub.no/ep/schema/well#WellGroup>
rdf:type ep-prodfac:ProductionFacilityType .
rdf:type ep-prodfac:ReportingFacilityType .
<http://www.reportinghub.no/ep/schema/well#WellHead>
rdf:type ep-prodfac:ProductionFacilityType .
rdf:type ep-prodfac:ReportingFacilityType .
<http://www.reportinghub.no/np/schema/npd#Licence>
rdf:type ep-prodfac:ProductionFacilityType ;
rdfs:label "licence"^^xsd:string .
......
......@@ -17,38 +17,355 @@
owl:imports <http://www.reportinghub.no/ep/schema/1.0/flow> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/ep/schema/1.0/material> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
ep-material:Air-gas
rdf:type ep-prodwell:InjectionFluidType .
ep-material:Brine
rdf:type ep-prodwell:InjectionFluidType .
ep-material:CO2-gas
rdf:type ep-prodwell:InjectionFluidType .
ep-material:DryFluid
rdf:type ep-prodwell:InjectionFluidType .
ep-material:FluidFraction
rdf:type ep-prodwell:FluidComponentKindType .
ep-material:FreshWater
rdf:type ep-prodwell:InjectionFluidType .
ep-material:Gas
rdf:type ep-prodwell:FluidPhaseType .
ep-material:GasAndWater
rdf:type ep-prodwell:InjectionFluidType .
rdf:type ep-prodwell:InjectionFluidType .
ep-material:Liquid
rdf:type ep-prodwell:FluidPhaseType .
ep-material:NonHcGas
rdf:type ep-prodwell:InjectionFluidType .
ep-material:OilAndGas
rdf:type ep-prodwell:InjectionFluidType .
rdf:type ep-prodwell:InjectionFluidType .
ep-material:OilAndWater
rdf:type ep-prodwell:InjectionFluidType .
rdf:type ep-prodwell:InjectionFluidType .
ep-material:OtherInjectionFluid
rdf:type ep-prodwell:InjectionFluidType .
ep-material:Pentane
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:PlusFraction
rdf:type ep-prodwell:FluidComponentKindType .
ep-material:Propane
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:PureFluid
rdf:type ep-prodwell:FluidComponentKindType .
ep-material:SplitFraction
rdf:type ep-prodwell:FluidComponentKindType .
ep-material:Steam
rdf:type ep-prodwell:InjectionFluidType .
ep-material:UnknownFluid
rdf:type ep-prodwell:InjectionFluidType .
ep-material:substance-11dmcyPentane
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-124tmBenzene
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-12dmBenzene
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-13dmBenzene
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-14dmBenzene
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-223tmButane
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-223tmPentane
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-22dmButane
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-22dmHexane
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-22dmPentane
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-22dmPropane
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-23dmButane
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-23dmPentane
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-24dmHexane
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-24dmPentane
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-25dmHexane
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-2mButane
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-2mHexane
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-2mPentane
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-2mPropane
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-33dmPentane
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-3etPentane
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-3mHexane
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-3mPentane
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-Ar
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-Benzene
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-Butane
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-C11F
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-C12F
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-C13F
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-C13dmcyPentane
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-C14F
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-C15F
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-C16F
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-C17F
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-C18F
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-C19F
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-C20F
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-C21F
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-C22F
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-C23F
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-C24F
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-C25F
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-C26F
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-C27F
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-C28F
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-C29F
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-C30F
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-C31F
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-C32F
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-C33F
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-C34F
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-C35F
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-C36F
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-C37F
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-C38F
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-C39F
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-C40F
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-C41F
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-C42F
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-C43F
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-C44F
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-C45F
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-C46F
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-C47F
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-C48F
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-C49F
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-CO2
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-Cyclohexane
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-Cyclopentane
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-Decanes
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-EtBenzene
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-EtcyPentane
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-Ethane
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-H2
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-H2O
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-H2S
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-Heptanes
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-Hexane
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-Hexanes
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-MBenzene
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-McyHexane
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-McyPentane
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-Methane
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-N2
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-Nonanes
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-O2
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-Octanes
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-T12dmcyPentane
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-material:substance-T13dmcyPentane
rdf:type ep-prodwell:FluidComponentMaterialType .
ep-prodwell:AbandonedWell
rdf:type ep-prodwell:WellStatusType , owl:Class ;
rdfs:label "abandoned well"^^xsd:string ;
rdfs:subClassOf ep-prodwell:TemporalPartOfAWellOrWellBore .
ep-prodwell:ClosedWell
rdf:type ep-prodwell:WellStatusType , owl:Class ;
rdfs:label "closed well"^^xsd:string ;
rdfs:subClassOf ep-prodwell:TemporalPartOfAWellOrWellBore .
ep-prodwell:FluidComponentKindType
rdf:type rdfs:Class ;
rdfs:label "fluid component kind type"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-prodwell:FluidComponentType
ep-prodwell:FluidComponentMaterialType
rdf:type rdfs:Class ;
rdfs:label "fluid component type"^^xsd:string ;
rdfs:comment "The set of classes that are enumerated for the base component of a fluid sample in the MPR schema."^^xsd:string ;
rdfs:label "fluid component material type"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-prodwell:FluidPhaseType
......@@ -71,12 +388,6 @@ ep-prodwell:JunkedWell
rdfs:label "junked well"^^xsd:string ;
rdfs:subClassOf ep-prodwell:TemporalPartOfAWellOrWellBore .
ep-material:Liquid
rdf:type ep-prodwell:FluidPhaseType .
ep-material:Gas
rdf:type ep-prodwell:FluidPhaseType .
ep-prodwell:NaturalGasClass
rdf:type rdfs:Class ;
rdfs:label "natural gas class"^^xsd:string ;
......@@ -112,7 +423,6 @@ ep-prodwell:RockFormation
rdfs:label "rock formation"^^xsd:string ;
rdfs:subClassOf ep-core:PhysicalObject .
ep-prodwell:SuspendedAtTdWell
rdf:type ep-prodwell:WellStatusType , owl:Class ;
rdfs:label "suspended at td well"^^xsd:string ;
......@@ -208,140 +518,6 @@ ep-well:TemporalPartOfAWell
ep-well:TemporalPartOfAWellBore
rdfs:subClassOf ep-prodwell:TemporalPartOfAWellOrWellBore .
ep-well:WellGroup
rdf:type owl:Class .
ep-material:Pentane rdf:type ep-prodwell:FluidComponentType .
ep-material:Propane rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-11dmcyPentane rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-124tmBenzene rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-12dmBenzene rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-13dmBenzene rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-14dmBenzene rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-223tmButane rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-223tmPentane rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-22dmButane rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-22dmHexane rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-22dmPentane rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-22dmPropane rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-23dmButane rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-23dmPentane rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-24dmHexane rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-24dmPentane rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-25dmHexane rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-2mButane rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-2mHexane rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-2mPentane rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-2mPropane rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-33dmPentane rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-3etPentane rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-3mHexane rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-3mPentane rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-Ar rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-Benzene rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-Butane rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-C11F rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-C12F rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-C13F rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-C13dmcyPentane rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-C14F rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-C15F rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-C16F rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-C17F rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-C18F rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-C19F rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-C20F rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-C21F rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-C22F rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-C23F rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-C24F rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-C25F rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-C26F rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-C27F rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-C28F rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-C29F rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-C30F rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-C31F rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-C32F rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-C33F rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-C34F rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-C35F rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-C36F rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-C37F rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-C38F rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-C39F rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-C40F rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-C41F rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-C42F rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-C43F rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-C44F rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-C45F rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-C46F rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-C47F rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-C48F rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-C49F rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-CO2 rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-Cyclohexane rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-Cyclopentane rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-Decanes rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-EtBenzene rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-EtcyPentane rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-Ethane rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-H2 rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-H2O rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-H2S rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-Heptanes rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-Hexane rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-Hexanes rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-MBenzene rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-McyHexane rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-McyPentane rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-Methane rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-N2 rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-Nonanes rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-O2 rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-Octanes rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-T12dmcyPentane rdf:type ep-prodwell:FluidComponentType .
ep-material:substance-T13dmcyPentane rdf:type ep-prodwell:FluidComponentType .
ep-material:Steam
rdf:type ep-prodwell:InjectionFluidType .
ep-material:Air-gas
rdf:type ep-prodwell:InjectionFluidType .
ep-material:Brine
rdf:type ep-prodwell:InjectionFluidType .
ep-material:CO2-gas
rdf:type ep-prodwell:InjectionFluidType .
ep-material:DryFluid
rdf:type ep-prodwell:InjectionFluidType .
ep-material:FreshWater
rdf:type ep-prodwell:InjectionFluidType .
ep-material:NonHcGas
rdf:type ep-prodwell:InjectionFluidType .
ep-material:OtherInjectionFluid
rdf:type ep-prodwell:InjectionFluidType .
ep-material:UnknownFluid
rdf:type ep-prodwell:InjectionFluidType .
ep-material:FluidFraction
rdf:type ep-prodwell:FluidComponentKindType .
ep-material:PlusFraction
rdf:type ep-prodwell:FluidComponentKindType .
ep-material:PureFluid
rdf:type ep-prodwell:FluidComponentKindType .
ep-material:SplitFraction
rdf:type ep-prodwell:FluidComponentKindType .
\ No newline at end of file
......
......@@ -17,8 +17,6 @@
owl:imports <http://www.reportinghub.no/ep/schema/1.0/material> , <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/core> ;
owl:versionInfo "0.1.0"^^xsd:string .
<http://www.reportinghub.no/ep/schema/material#Condensate>
rdf:type ep-well:FluidComponentType .
......@@ -50,12 +48,13 @@ ep-well:ClassOfWellBoreSectionBySize
rdfs:subClassOf owl:Class .
ep-well:Cluster
rdf:type owl:Class , ep-fac:ProductionFacilityType ;
rdf:type owl:Class ;
rdfs:label "cluster"^^xsd:string ;
rdfs:subClassOf ep-core:PhysicalObject .
ep-well:FluidComponentType
rdf:type rdfs:Class ;
rdfs:comment "The set of classes that are enumerated for the dominant component in a fluid sample in the DDR schema."^^xsd:string ;
rdfs:label "fluid component type"^^xsd:string ;
rdfs:subClassOf owl:Class .
......@@ -181,12 +180,12 @@ ep-well:Wash
owl:disjointWith ep-well:Spacer , ep-well:Slurry , ep-well:Mud .
ep-well:Well
rdf:type owl:Class , ep-fac:ProductionFacilityType ;
rdf:type owl:Class ;
rdfs:label "well (whole life)"^^xsd:string ;
rdfs:subClassOf ep-well:TemporalPartOfAWell .
ep-well:WellBore
rdf:type owl:Class , ep-fac:ProductionFacilityType ;
rdf:type owl:Class ;
rdfs:label "wellbore (whole life)"^^xsd:string ;
rdfs:subClassOf ep-well:TemporalPartOfAWellBore ;
rdfs:subClassOf
......@@ -196,7 +195,7 @@ ep-well:WellBore
] .
ep-well:WellBoreBottom
rdf:type owl:Class , ep-fac:ProductionFacilityType ;
rdf:type owl:Class ;
rdfs:label "wellbore bottom"^^xsd:string ;
rdfs:subClassOf ep-well:SpatialPartOfAWellBore .
......@@ -238,12 +237,12 @@ ep-well:WellBoreWithoutCirculation
owl:disjointWith ep-well:WellBoreWithCirculation .
ep-well:WellGroup
rdf:type owl:Class , ep-fac:ProductionFacilityType ;
rdf:type owl:Class ;
rdfs:label "well group"^^xsd:string ;
rdfs:subClassOf ep-core:PhysicalObject .
ep-well:WellHead
rdf:type owl:Class , ep-fac:ProductionFacilityType ;
rdf:type owl:Class ;
rdfs:label "well head"^^xsd:string ;
rdfs:subClassOf ep-well:SpatialPartOfAWell .
......
This diff could not be displayed because it is too large.
......@@ -20,15 +20,72 @@
<http://www.epim.no/schemas/mprml/1#FacilityIdentifierStruct>
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 00013 Record the Facility that has the flows - not in the NPD Fact Pages - not already in the file
Naming system supplied"""^^xsd:string ;
rdfs:comment """STEP 00010 Record the Facility that has the flows - kind is \"licence\"
Nothing is done with the namingSystem!"""^^xsd:string ;
sp:templates ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "licence"^^xsd:string
]
] [ sp:object
[ sp:varName "licenceLabel"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#hasDerivedText> ;
sp:subject spin:_this
]) ;
sp:where ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_licence> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "licenceName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject spin:_this
] [ rdf:type sp:NamedGraph ;
sp:elements ([ sp:object <http://www.reportinghub.no/np/schema/npd#Licence> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "licence"^^xsd:string
]
] [ sp:object
[ sp:varName "licenceName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
sp:subject
[ sp:varName "licence"^^xsd:string
]
] [ sp:object
[ sp:varName "licenceId"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/np/schema/npd#id> ;
sp:subject
[ sp:varName "livence"^^xsd:string
]
]) ;
sp:graphNameNode <http://www.reportinghub.no/np/data/npd>
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type fn:concat ;
sp:arg1 "licence-" ;
sp:arg2 [ sp:varName "licenceId"^^xsd:string
]
] ;
sp:variable
[ sp:varName "licenceLabel"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 00014 Record the Facility that has the flows - not in the NPD Fact Pages - not already in the file
Naming system not supplied"""^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#Facility> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "facility"^^xsd:string
]
] [ sp:object
[ sp:varName "productionFacilityType"^^xsd:string
[ sp:varName "reportingFacilityType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
......@@ -64,11 +121,13 @@ Naming system supplied"""^^xsd:string ;
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "namingSystem"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#namingSystem> ;
sp:subject spin:_this
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "namingSystem"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#namingSystem> ;
sp:subject spin:_this
])
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
......@@ -78,18 +137,17 @@ Naming system supplied"""^^xsd:string ;
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:selectProductionFacilityType ;
[ rdf:type ep-mpr-spin-lib:selectReportingFacilityType ;
sp:arg1 [ sp:varName "facilityKind"^^xsd:string
]
] ;
sp:variable
[ sp:varName "productionFacilityType"^^xsd:string
[ sp:varName "reportingFacilityType"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildSmallFacilityURI ;
sp:arg1 [ sp:varName "namingSystem"^^xsd:string
] ;
sp:arg1 "" ;
sp:arg2 [ sp:varName "facilityName"^^xsd:string
]
] ;
......@@ -100,7 +158,7 @@ Naming system supplied"""^^xsd:string ;
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 00003 Record the Facility that has the flows - kind is \"platform\" - assumed to be a SurfaceFixedFacility
rdfs:comment """STEP 00004 Record the Facility that has the flows - kind is \"platform\" - assumed to be a MoveableFacility
Nothing is done with the namingSystem!"""^^xsd:string ;
sp:templates ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
......@@ -122,7 +180,7 @@ Nothing is done with the namingSystem!"""^^xsd:string ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject spin:_this
] [ rdf:type sp:NamedGraph ;
sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/facility#SurfaceFixedFacility> ;
sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/facility#MoveableFacility> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "platform"^^xsd:string
......@@ -157,235 +215,177 @@ Nothing is done with the namingSystem!"""^^xsd:string ;
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 00010 Record the Facility that has the flows - kind is \"licence\"
rdfs:comment """STEP 00005 Record the Facility that has the flows - kind is \"well\"
Nothing is done with the namingSystem!"""^^xsd:string ;
sp:templates ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "licence"^^xsd:string
[ sp:varName "well"^^xsd:string
]
] [ sp:object
[ sp:varName "licenceLabel"^^xsd:string
[ sp:varName "wellLabel"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#hasDerivedText> ;
sp:subject spin:_this
]) ;
sp:where ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_licence> ;
sp:where ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_well> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "licenceName"^^xsd:string
[ sp:varName "wellName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject spin:_this
] [ rdf:type sp:NamedGraph ;
sp:elements ([ sp:object <http://www.reportinghub.no/np/schema/npd#Licence> ;
sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/well#Well> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "licence"^^xsd:string
[ sp:varName "well"^^xsd:string
]
] [ sp:object
[ sp:varName "licenceName"^^xsd:string
[ sp:varName "wellName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
sp:subject
[ sp:varName "licence"^^xsd:string
[ sp:varName "well"^^xsd:string
]
] [ sp:object
[ sp:varName "licenceId"^^xsd:string
[ sp:varName "wellId"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/np/schema/npd#id> ;
sp:subject
[ sp:varName "livence"^^xsd:string
[ sp:varName "well"^^xsd:string
]
]) ;
sp:graphNameNode <http://www.reportinghub.no/np/data/npd>
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type fn:concat ;
sp:arg1 "licence-" ;
sp:arg2 [ sp:varName "licenceId"^^xsd:string
sp:arg1 "well-" ;
sp:arg2 [ sp:varName "wellId"^^xsd:string
]
] ;
sp:variable
[ sp:varName "licenceLabel"^^xsd:string
[ sp:varName "wellLabel"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 00009 Record the Facility that has the flows - kind is \"company\" or \"commercial entity\" - assumed to be an ParentCompany
rdfs:comment """STEP 00007 Record the Facility that has the flows - kind is \"terminal\" - assumed to be a SurfaceFixedFacility
Nothing is done with the namingSystem!"""^^xsd:string ;
sp:templates ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "company"^^xsd:string
[ sp:varName "terminal"^^xsd:string
]
] [ sp:object
[ sp:varName "companyLabel"^^xsd:string
[ sp:varName "terminalLabel"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#hasDerivedText> ;
sp:subject spin:_this
]) ;
sp:where ([ rdf:type sp:Union ;
sp:elements (([ sp:object <http://www.epim.no/schemas/mprml/1#RF_company> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
]) ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_commercialentity> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
]))
sp:where ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_terminal> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "companyName"^^xsd:string
[ sp:varName "terminalName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject spin:_this
] [ rdf:type sp:NamedGraph ;
sp:elements ([ sp:object <http://www.reportinghub.no/np/schema/npd#ParentCompany> ;
sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/facility#SurfaceFixedFacility> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "company"^^xsd:string
[ sp:varName "terminal"^^xsd:string
]
] [ sp:object
[ sp:varName "companyName"^^xsd:string
[ sp:varName "terminalName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
sp:subject
[ sp:varName "company"^^xsd:string
[ sp:varName "terminal"^^xsd:string
]
] [ sp:object
[ sp:varName "companyId"^^xsd:string
[ sp:varName "terminalId"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/np/schema/npd#id> ;
sp:subject
[ sp:varName "company"^^xsd:string
[ sp:varName "terminal"^^xsd:string
]
]) ;
sp:graphNameNode <http://www.reportinghub.no/np/data/npd>
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type fn:concat ;
sp:arg1 "company-" ;
sp:arg2 [ sp:varName "companyId"^^xsd:string
]
] ;
sp:variable
[ sp:varName "companyLabel"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 00012 Record the Facility that has the flows - not in the NPD Fact Pages - not already in the file - a terminal
Nothing is done with the namingSystem!"""^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#Facility> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "terminal"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/geography#Terminal> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "terminal"^^xsd:string
]
] [ sp:object
[ sp:varName "facilityName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject
[ sp:varName "terminal"^^xsd:string
]
] [ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "terminal"^^xsd:string
]
] [ sp:object
[ sp:varName "facilityName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#hasDerivedText> ;
sp:subject spin:_this
]) ;
sp:where ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_terminal> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "facilityName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject spin:_this
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "something"^^xsd:string
]
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildTerminalURI ;
sp:arg1 [ sp:varName "facilityName"^^xsd:string
sp:arg1 "terminal-" ;
sp:arg2 [ sp:varName "terminalId"^^xsd:string
]
] ;
sp:variable
[ sp:varName "terminal"^^xsd:string
[ sp:varName "terminalLabel"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 00007 Record the Facility that has the flows - kind is \"terminal\" - assumed to be a SurfaceFixedFacility
rdfs:comment """STEP 00009 Record the Facility that has the flows - kind is \"company\" or \"commercial entity\" - assumed to be an ParentCompany
Nothing is done with the namingSystem!"""^^xsd:string ;
sp:templates ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "terminal"^^xsd:string
[ sp:varName "company"^^xsd:string
]
] [ sp:object
[ sp:varName "terminalLabel"^^xsd:string
[ sp:varName "companyLabel"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#hasDerivedText> ;
sp:subject spin:_this
]) ;
sp:where ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_terminal> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
sp:where ([ rdf:type sp:Union ;
sp:elements (([ sp:object <http://www.epim.no/schemas/mprml/1#RF_company> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
]) ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_commercialentity> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
]))
] [ sp:object
[ sp:varName "terminalName"^^xsd:string
[ sp:varName "companyName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject spin:_this
] [ rdf:type sp:NamedGraph ;
sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/facility#SurfaceFixedFacility> ;
sp:elements ([ sp:object <http://www.reportinghub.no/np/schema/npd#ParentCompany> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "terminal"^^xsd:string
[ sp:varName "company"^^xsd:string
]
] [ sp:object
[ sp:varName "terminalName"^^xsd:string
[ sp:varName "companyName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
sp:subject
[ sp:varName "terminal"^^xsd:string
[ sp:varName "company"^^xsd:string
]
] [ sp:object
[ sp:varName "terminalId"^^xsd:string
[ sp:varName "companyId"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/np/schema/npd#id> ;
sp:subject
[ sp:varName "terminal"^^xsd:string
[ sp:varName "company"^^xsd:string
]
]) ;
sp:graphNameNode <http://www.reportinghub.no/np/data/npd>
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type fn:concat ;
sp:arg1 "terminal-" ;
sp:arg2 [ sp:varName "terminalId"^^xsd:string
sp:arg1 "company-" ;
sp:arg2 [ sp:varName "companyId"^^xsd:string
]
] ;
sp:variable
[ sp:varName "terminalLabel"^^xsd:string
[ sp:varName "companyLabel"^^xsd:string
]
])
] ;
......@@ -474,74 +474,72 @@ Nothing is done with the namingSystem!"""^^xsd:string ;
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 00011 Record the Facility that has the flows - not in the NPD Fact Pages - already in the file
rdfs:comment """STEP 00002 Record the Facility that has the flows - kind is \"wellbore\"
Nothing is done with the namingSystem!"""^^xsd:string ;
sp:templates ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "facility"^^xsd:string
[ sp:varName "wellBore"^^xsd:string
]
]) ;
sp:where ([ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "facilityKind"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
])
] [ sp:object
[ sp:varName "facilityName"^^xsd:string
[ sp:varName "wellBoreLabel"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#hasDerivedText> ;
sp:subject spin:_this
]) ;
sp:where ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_wellbore> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "something"^^xsd:string
]
])
] [ sp:object
[ sp:varName "aFacilityIdentifierStructure"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "facility"^^xsd:string
]
] [ sp:object <http://www.epim.no/schemas/mprml/1#FacilityIdentifierStruct> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "aFacilityIdentifierStructure"^^xsd:string
]
] [ sp:object
[ sp:varName "productionFacilityType"^^xsd:string
[ sp:varName "wellBoreName"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "facility"^^xsd:string
]
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject spin:_this
] [ rdf:type sp:NamedGraph ;
sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "wellBore"^^xsd:string
]
] [ sp:object
[ sp:varName "wellBoreName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
sp:subject
[ sp:varName "wellBore"^^xsd:string
]
] [ sp:object
[ sp:varName "wellBoreId"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/np/schema/npd#id> ;
sp:subject
[ sp:varName "wellBore"^^xsd:string
]
]) ;
sp:graphNameNode <http://www.reportinghub.no/np/data/npd>
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:selectProductionFacilityType ;
sp:arg1 [ sp:varName "facilityKind"^^xsd:string
[ rdf:type fn:concat ;
sp:arg1 "wellbore-" ;
sp:arg2 [ sp:varName "wellBoreId"^^xsd:string
]
] ;
sp:variable
[ sp:varName "productionFacilityType"^^xsd:string
[ sp:varName "wellBoreLabel"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 00014 Record the Facility that has the flows - not in the NPD Fact Pages - not already in the file
Naming system not supplied"""^^xsd:string ;
rdfs:comment """STEP 00013 Record the Facility that has the flows - not in the NPD Fact Pages - not already in the file
Naming system supplied"""^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#Facility> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "facility"^^xsd:string
]
] [ sp:object
[ sp:varName "productionFacilityType"^^xsd:string
[ sp:varName "reportingFacilityType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
......@@ -577,13 +575,11 @@ Naming system not supplied"""^^xsd:string ;
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject spin:_this
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "namingSystem"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#namingSystem> ;
sp:subject spin:_this
])
] [ sp:object
[ sp:varName "namingSystem"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#namingSystem> ;
sp:subject spin:_this
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
......@@ -593,17 +589,18 @@ Naming system not supplied"""^^xsd:string ;
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:selectProductionFacilityType ;
[ rdf:type ep-mpr-spin-lib:selectReportingFacilityType ;
sp:arg1 [ sp:varName "facilityKind"^^xsd:string
]
] ;
sp:variable
[ sp:varName "productionFacilityType"^^xsd:string
[ sp:varName "reportingFacilityType"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildSmallFacilityURI ;
sp:arg1 "" ;
sp:arg1 [ sp:varName "namingSystem"^^xsd:string
] ;
sp:arg2 [ sp:varName "facilityName"^^xsd:string
]
] ;
......@@ -614,307 +611,310 @@ Naming system not supplied"""^^xsd:string ;
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 00002 Record the Facility that has the flows - kind is \"wellbore\"
rdfs:comment """STEP 00012 Record the Facility that has the flows - not in the NPD Fact Pages - not already in the file - a terminal
Nothing is done with the namingSystem!"""^^xsd:string ;
sp:templates ([ sp:object spin:_this ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#Facility> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "terminal"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/geography#Terminal> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "terminal"^^xsd:string
]
] [ sp:object
[ sp:varName "facilityName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject
[ sp:varName "terminal"^^xsd:string
]
] [ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "wellBore"^^xsd:string
[ sp:varName "terminal"^^xsd:string
]
] [ sp:object
[ sp:varName "wellBoreLabel"^^xsd:string
[ sp:varName "facilityName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#hasDerivedText> ;
sp:subject spin:_this
]) ;
sp:where ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_wellbore> ;
sp:where ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_terminal> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "wellBoreName"^^xsd:string
[ sp:varName "facilityName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject spin:_this
] [ rdf:type sp:NamedGraph ;
sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "wellBore"^^xsd:string
]
] [ sp:object
[ sp:varName "wellBoreName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
sp:subject
[ sp:varName "wellBore"^^xsd:string
]
] [ sp:object
[ sp:varName "wellBoreId"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/np/schema/npd#id> ;
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "wellBore"^^xsd:string
[ sp:varName "something"^^xsd:string
]
]) ;
sp:graphNameNode <http://www.reportinghub.no/np/data/npd>
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type fn:concat ;
sp:arg1 "wellbore-" ;
sp:arg2 [ sp:varName "wellBoreId"^^xsd:string
[ rdf:type ep-dpr-spin-lib:buildTerminalURI ;
sp:arg1 [ sp:varName "facilityName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "wellBoreLabel"^^xsd:string
[ sp:varName "terminal"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 00001 Record the Facility that has the flows - kind is \"field\", etc.
rdfs:comment """STEP 00008 Record the Facility that has the flows - kind is \"company\" or \"commercial entity\" - assumed to be an OperatingCompany
Nothing is done with the namingSystem!"""^^xsd:string ;
sp:templates ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "field"^^xsd:string
[ sp:varName "company"^^xsd:string
]
] [ sp:object
[ sp:varName "fieldLabel"^^xsd:string
[ sp:varName "companyLabel"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#hasDerivedText> ;
sp:subject spin:_this
]) ;
sp:where ([ rdf:type sp:Union ;
sp:elements (([ sp:object <http://www.epim.no/schemas/mprml/1#RF_field> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
]) ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_field-part> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
]) ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_field-group> ;
sp:elements (([ sp:object <http://www.epim.no/schemas/mprml/1#RF_company> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
]) ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_field-area> ;
]) ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_commercialentity> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
]))
] [ sp:object
[ sp:varName "fieldName"^^xsd:string
[ sp:varName "companyName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject spin:_this
] [ rdf:type sp:NamedGraph ;
sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/facility#Field> ;
sp:elements ([ sp:object <http://www.reportinghub.no/np/schema/npd#OperatingCompany> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "field"^^xsd:string
[ sp:varName "company"^^xsd:string
]
] [ sp:object
[ sp:varName "fieldName"^^xsd:string
[ sp:varName "companyName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
sp:subject
[ sp:varName "field"^^xsd:string
[ sp:varName "company"^^xsd:string
]
] [ sp:object
[ sp:varName "fieldId"^^xsd:string
[ sp:varName "companyId"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/np/schema/npd#id> ;
sp:subject
[ sp:varName "field"^^xsd:string
[ sp:varName "company"^^xsd:string
]
]) ;
sp:graphNameNode <http://www.reportinghub.no/np/data/npd>
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type fn:concat ;
sp:arg1 "field-" ;
sp:arg2 [ sp:varName "fieldId"^^xsd:string
sp:arg1 "company-" ;
sp:arg2 [ sp:varName "companyId"^^xsd:string
]
] ;
sp:variable
[ sp:varName "fieldLabel"^^xsd:string
[ sp:varName "companyLabel"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 00008 Record the Facility that has the flows - kind is \"company\" or \"commercial entity\" - assumed to be an OperatingCompany
rdfs:comment """STEP 00003 Record the Facility that has the flows - kind is \"platform\" - assumed to be a SurfaceFixedFacility
Nothing is done with the namingSystem!"""^^xsd:string ;
sp:templates ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "company"^^xsd:string
[ sp:varName "platform"^^xsd:string
]
] [ sp:object
[ sp:varName "companyLabel"^^xsd:string
[ sp:varName "platformLabel"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#hasDerivedText> ;
sp:subject spin:_this
]) ;
sp:where ([ rdf:type sp:Union ;
sp:elements (([ sp:object <http://www.epim.no/schemas/mprml/1#RF_company> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
]) ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_commercialentity> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
]))
sp:where ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_platform> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "companyName"^^xsd:string
[ sp:varName "platformName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject spin:_this
] [ rdf:type sp:NamedGraph ;
sp:elements ([ sp:object <http://www.reportinghub.no/np/schema/npd#OperatingCompany> ;
sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/facility#SurfaceFixedFacility> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "company"^^xsd:string
[ sp:varName "platform"^^xsd:string
]
] [ sp:object
[ sp:varName "companyName"^^xsd:string
[ sp:varName "platformName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
sp:subject
[ sp:varName "company"^^xsd:string
[ sp:varName "platform"^^xsd:string
]
] [ sp:object
[ sp:varName "companyId"^^xsd:string
[ sp:varName "platformId"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/np/schema/npd#id> ;
sp:subject
[ sp:varName "company"^^xsd:string
[ sp:varName "platform"^^xsd:string
]
]) ;
sp:graphNameNode <http://www.reportinghub.no/np/data/npd>
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type fn:concat ;
sp:arg1 "company-" ;
sp:arg2 [ sp:varName "companyId"^^xsd:string
sp:arg1 "platform-" ;
sp:arg2 [ sp:varName "platformId"^^xsd:string
]
] ;
sp:variable
[ sp:varName "companyLabel"^^xsd:string
[ sp:varName "platformLabel"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 00005 Record the Facility that has the flows - kind is \"well\"
rdfs:comment """STEP 00001 Record the Facility that has the flows - kind is \"field\", etc.
Nothing is done with the namingSystem!"""^^xsd:string ;
sp:templates ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "well"^^xsd:string
[ sp:varName "field"^^xsd:string
]
] [ sp:object
[ sp:varName "wellLabel"^^xsd:string
[ sp:varName "fieldLabel"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#hasDerivedText> ;
sp:subject spin:_this
]) ;
sp:where ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_well> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
sp:where ([ rdf:type sp:Union ;
sp:elements (([ sp:object <http://www.epim.no/schemas/mprml/1#RF_field> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
]) ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_field-part> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
]) ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_field-group> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
]) ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_field-area> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
]))
] [ sp:object
[ sp:varName "wellName"^^xsd:string
[ sp:varName "fieldName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject spin:_this
] [ rdf:type sp:NamedGraph ;
sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/well#Well> ;
sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/facility#Field> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "well"^^xsd:string
[ sp:varName "field"^^xsd:string
]
] [ sp:object
[ sp:varName "wellName"^^xsd:string
[ sp:varName "fieldName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
sp:subject
[ sp:varName "well"^^xsd:string
[ sp:varName "field"^^xsd:string
]
] [ sp:object
[ sp:varName "wellId"^^xsd:string
[ sp:varName "fieldId"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/np/schema/npd#id> ;
sp:subject
[ sp:varName "well"^^xsd:string
[ sp:varName "field"^^xsd:string
]
]) ;
sp:graphNameNode <http://www.reportinghub.no/np/data/npd>
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type fn:concat ;
sp:arg1 "well-" ;
sp:arg2 [ sp:varName "wellId"^^xsd:string
sp:arg1 "field-" ;
sp:arg2 [ sp:varName "fieldId"^^xsd:string
]
] ;
sp:variable
[ sp:varName "wellLabel"^^xsd:string
[ sp:varName "fieldLabel"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 00004 Record the Facility that has the flows - kind is \"platform\" - assumed to be a MoveableFacility
rdfs:comment """STEP 00011 Record the Facility that has the flows - not in the NPD Fact Pages - already in the file
Nothing is done with the namingSystem!"""^^xsd:string ;
sp:templates ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "platform"^^xsd:string
[ sp:varName "facility"^^xsd:string
]
] [ sp:object
[ sp:varName "platformLabel"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#hasDerivedText> ;
sp:subject spin:_this
]) ;
sp:where ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_platform> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
sp:where ([ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "facilityKind"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
])
] [ sp:object
[ sp:varName "platformName"^^xsd:string
[ sp:varName "facilityName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject spin:_this
] [ rdf:type sp:NamedGraph ;
sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/facility#MoveableFacility> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "platform"^^xsd:string
]
] [ sp:object
[ sp:varName "platformName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
sp:subject
[ sp:varName "platform"^^xsd:string
]
] [ sp:object
[ sp:varName "platformId"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/np/schema/npd#id> ;
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "platform"^^xsd:string
[ sp:varName "something"^^xsd:string
]
]) ;
sp:graphNameNode <http://www.reportinghub.no/np/data/npd>
])
] [ sp:object
[ sp:varName "aFacilityIdentifierStructure"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "facility"^^xsd:string
]
] [ sp:object <http://www.epim.no/schemas/mprml/1#FacilityIdentifierStruct> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "aFacilityIdentifierStructure"^^xsd:string
]
] [ sp:object
[ sp:varName "reportingFacilityType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "facility"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type fn:concat ;
sp:arg1 "platform-" ;
sp:arg2 [ sp:varName "platformId"^^xsd:string
[ rdf:type ep-mpr-spin-lib:selectReportingFacilityType ;
sp:arg1 [ sp:varName "facilityKind"^^xsd:string
]
] ;
sp:variable
[ sp:varName "platformLabel"^^xsd:string
[ sp:varName "reportingFacilityType"^^xsd:string
]
])
] .
<http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-facilityIdentifierStructure-v1.1.1>
rdf:type owl:Ontology ;
owl:imports <http://spinrdf.org/spin> , <http://www.epim.no/schemas/mprml/1> , <http://www.reportinghub.no/ep/mpr/spin/1.1/lib> , <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> , <http://www.reportinghub.no/ep/transform/transform-helper-schema> ;
owl:imports <http://www.reportinghub.no/ep/transform/transform-helper-schema> , <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> , <http://www.reportinghub.no/ep/mpr/spin/1.1/lib> , <http://www.epim.no/schemas/mprml/1> , <http://spinrdf.org/spin> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
......
......@@ -25,120 +25,102 @@
<http://www.epim.no/schemas/mprml/1#A_Global-Objects>
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40004 Specify the fluid analysis result."^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "nameFluidAnalysis"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject
[ sp:varName "fluidSamplingAndAnalysis"^^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/report#FluidSampleReport> ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object
[ sp:varName "fluidAnalysisResultRef"^^xsd:string
[ sp:varName "productionReport"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "sampledFluid"^^xsd:string
]
]) ;
sp:where ([ sp:object
[ sp:varName "fluidSampleRef"^^xsd:string
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject _:b1
] [ sp:object _:b2 ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
sp:subject _:b1
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#FluidSamplingAndAnalysis> ;
sp:predicate rdf:type ;
sp:subject _:b2
] [ sp:object
[ sp:varName "fluidSamplingType"^^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_fluidSample> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "fluidSampleRef"^^xsd:string
]
sp:subject _:b2
] [ sp:object
[ sp:varName "acquisitionDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#nominallyAt> ;
sp:subject _:b2
] [ sp:object
[ sp:varName "fluidSampleRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject _:b2
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "fluidSamplingAndAnalysis"^^xsd:string
[ sp:varName "productionReport"^^xsd:string
]
] [ sp:object
[ sp:varName "sampledFluid"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#sampledFluid> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "fluidSamplingAndAnalysis"^^xsd:string
[ sp:varName "productionReport"^^xsd:string
]
] [ sp:object
[ sp:varName "name"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#name> ;
sp:subject
[ sp:varName "fluidSampleRef"^^xsd:string
]
] [ 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:object <http://www.epim.no/schemas/mprml/1#Obj_fluidSample> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "fluidAnalysisResultRef"^^xsd:string
]
] [ sp:object
[ sp:varName "name"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#nameFluidSample> ;
sp:subject
[ sp:varName "fluidAnalysisResultRef"^^xsd:string
[ sp:varName "fluidSampleRef"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "nameFluidAnalysis"^^xsd:string
[ sp:varName "acquisitionDate"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#nameFluidAnalysis> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#acquisitionDate> ;
sp:subject
[ sp:varName "fluidAnalysisResultRef"^^xsd:string
[ sp:varName "fluidSampleRef"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "sampleTypeRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#sampleTypeRef> ;
sp:subject
[ sp:varName "fluidSampleRef"^^xsd:string
]
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:selectFluidSamplingType ;
sp:arg1 [ sp:varName "sampleTypeRef"^^xsd:string
]
] ;
sp:variable
[ sp:varName "fluidSamplingType"^^xsd:string
]
])
] ;
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 _:b1 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#samplingPerformedAt> ;
sp:subject
[ sp:varName "fluidSamplingAndAnalysis"^^xsd:string
]
] [ sp:object
[ sp:varName "facility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b1
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#Facility> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "facility"^^xsd:string
]
] [ sp:object
[ sp:varName "normalizedFacilityName"^^xsd:string
rdfs:comment "STEP 40004 Specify the fluid analysis result."^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "nameFluidAnalysis"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject
[ sp:varName "facility"^^xsd:string
]
] [ sp:object
[ sp:varName "facilityType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "facility"^^xsd:string
[ sp:varName "fluidSamplingAndAnalysis"^^xsd:string
]
] [ sp:object
[ sp:varName "normalizedFacilityName"^^xsd:string
[ sp:varName "fluidAnalysisResultRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#hasDerivedText> ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "facilityRef"^^xsd:string
[ sp:varName "sampledFluid"^^xsd:string
]
]) ;
sp:where ([ sp:object
......@@ -159,76 +141,45 @@ kind is not \"well\" and facilityParent1 is not supplied"""^^xsd:string ;
[ sp:varName "fluidSamplingAndAnalysis"^^xsd:string
]
] [ sp:object
[ sp:varName "facilityRef"^^xsd:string
[ sp:varName "sampledFluid"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#facilityRef> ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#sampledFluid> ;
sp:subject
[ sp:varName "fluidSampleRef"^^xsd:string
[ sp:varName "fluidSamplingAndAnalysis"^^xsd:string
]
] [ sp:object
[ sp:varName "facilityNameRef"^^xsd:string
[ sp:varName "name"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#name> ;
sp:subject
[ sp:varName "facilityRef"^^xsd:string
[ sp:varName "fluidSampleRef"^^xsd:string
]
] [ sp:object
[ sp:varName "facilityName"^^xsd:string
[ sp:varName "fluidAnalysisResultRef"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
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 "facilityNameRef"^^xsd:string
[ sp:varName "fluidAnalysisResultRef"^^xsd:string
]
] [ sp:object
[ sp:varName "facilityKind"^^xsd:string
[ sp:varName "name"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#nameFluidSample> ;
sp:subject
[ sp:varName "facilityNameRef"^^xsd:string
[ sp:varName "fluidAnalysisResultRef"^^xsd:string
]
] [ 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
[ sp:varName "facilityNameRef"^^xsd:string
]
])
] [ rdf:type sp:NotExists ;
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "facilityParent1Ref"^^xsd:string
[ sp:varName "nameFluidAnalysis"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#facilityParent1Ref> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#nameFluidAnalysis> ;
sp:subject
[ sp:varName "fluidSampleRef"^^xsd:string
[ sp:varName "fluidAnalysisResultRef"^^xsd:string
]
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [ sp:varName "facilityName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "normalizedFacilityName"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildProductionFacilityURI ;
sp:arg1 [ sp:varName "normalizedFacilityName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "facility"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:selectProductionFacilityType ;
sp:arg1 [ sp:varName "facilityKind"^^xsd:string
]
] ;
sp:variable
[ sp:varName "facilityType"^^xsd:string
]
])
] ;
spin:rule
......@@ -237,8 +188,8 @@ kind is not \"well\" and facilityParent1 is not supplied"""^^xsd:string ;
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/material#Fluid> ;
sp:predicate rdf:type ;
sp:subject _:b2
] [ sp:object _:b2 ;
sp:subject _:b3
] [ sp:object _:b3 ;
sp:predicate <http://www.reportinghub.no/ep/schema/material#hasNonPrimaryComponent> ;
sp:subject
[ sp:varName "sampledFluid"^^xsd:string
......@@ -247,49 +198,49 @@ The componentName element is used differently in the examples for the primary an
[ sp:varName "fluidComponentKindType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject _:b2
sp:subject _:b3
] [ sp:object
[ sp:varName "fluidSubstanceKindType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject _:b2
sp:subject _:b3
] [ sp:object <http://www.reportinghub.no/ep/schema/material#MaterialPartWholePair> ;
sp:predicate rdf:type ;
sp:subject _:b3
] [ sp:object _:b2 ;
sp:subject _:b4
] [ sp:object _:b3 ;
sp:predicate <http://www.reportinghub.no/ep/schema/material#partMaterialOfPair> ;
sp:subject _:b3
sp:subject _:b4
] [ sp:object
[ sp:varName "sampledFluid"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/material#wholeMaterialOfPair> ;
sp:subject _:b3
] [ sp:object _:b4 ;
sp:subject _:b4
] [ sp:object _:b5 ;
sp:predicate <http://www.reportinghub.no/ep/schema/material#massRatio> ;
sp:subject _:b3
sp:subject _:b4
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Ratio> ;
sp:predicate rdf:type ;
sp:subject _:b4
sp:subject _:b5
] [ sp:object
[ sp:varName "realWeightPercent"^^xsd:string
] ;
sp:predicate
[ sp:varName "weightPercentScale"^^xsd:string
] ;
sp:subject _:b4
] [ sp:object _:b5 ;
sp:subject _:b5
] [ sp:object _:b6 ;
sp:predicate <http://www.reportinghub.no/ep/schema/material#moleRatio> ;
sp:subject _:b3
sp:subject _:b4
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Ratio> ;
sp:predicate rdf:type ;
sp:subject _:b5
sp:subject _:b6
] [ sp:object
[ sp:varName "realMolePercent"^^xsd:string
] ;
sp:predicate
[ sp:varName "molePercentScale"^^xsd:string
] ;
sp:subject _:b5
sp:subject _:b6
]) ;
sp:where ([ sp:object
[ sp:varName "fluidAnalysisResultRef"^^xsd:string
......@@ -429,13 +380,13 @@ The componentName element is used differently in the examples for the primary an
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/material#Fluid> ;
sp:predicate rdf:type ;
sp:subject _:b6
sp:subject _:b7
] [ sp:object
[ sp:varName "name"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject _:b6
] [ sp:object _:b6 ;
sp:subject _:b7
] [ sp:object _:b7 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#sampledFluid> ;
sp:subject
[ sp:varName "fluidSamplingAndAnalysis"^^xsd:string
......@@ -469,372 +420,134 @@ The sample is anonymous. It is matched to its results via the sample name, which
] ;
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 _:b7 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#samplingPerformedAt> ;
sp:subject
[ sp:varName "fluidSamplingAndAnalysis"^^xsd:string
]
] [ sp:object
[ sp:varName "facility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b7
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#Facility> ;
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/material#Fluid> ;
sp:predicate rdf:type ;
sp:subject _:b8
] [ sp:object _:b8 ;
sp:predicate <http://www.reportinghub.no/ep/schema/material#hasPrimaryComponent> ;
sp:subject
[ sp:varName "facility"^^xsd:string
[ sp:varName "sampledFluid"^^xsd:string
]
] [ sp:object
[ sp:varName "normalizedFacilityName"^^xsd:string
[ sp:varName "fluidPhaseType"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject
[ sp:varName "facility"^^xsd:string
]
sp:predicate rdf:type ;
sp:subject _:b8
] [ sp:object
[ sp:varName "facilityType"^^xsd:string
[ sp:varName "fluidComponentKindType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "facility"^^xsd:string
]
sp:subject _:b8
] [ sp:object
[ sp:varName "normalizedFacilityName"^^xsd:string
[ sp:varName "fluidSubstanceKindType"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#hasDerivedText> ;
sp:subject
[ sp:varName "facilityRef"^^xsd:string
]
sp:predicate rdf:type ;
sp:subject _:b8
]) ;
sp:where ([ sp:object
[ sp:varName "fluidSampleRef"^^xsd:string
[ 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_fluidSample> ;
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_fluidAnalysisResult> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "fluidSampleRef"^^xsd:string
[ sp:varName "fluidAnalysisResultRef"^^xsd:string
]
] [ sp:object
[ sp:varName "fluidSampleRef"^^xsd:string
[ sp:varName "fluidAnalysisResultRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "fluidSamplingAndAnalysis"^^xsd:string
[ sp:varName "sampledFluid"^^xsd:string
]
] [ sp:object
[ sp:varName "facilityRef"^^xsd:string
[ sp:varName "fluidSampleCompositionRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#facilityRef> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#fluidSampleCompositionRef> ;
sp:subject
[ sp:varName "fluidSampleRef"^^xsd:string
[ sp:varName "fluidAnalysisResultRef"^^xsd:string
]
] [ sp:object
[ sp:varName "facilityNameRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ;
] [ sp:object "true"^^xsd:boolean ;
sp:predicate <http://www.epim.no/schemas/mprml/1#isPrimary> ;
sp:subject
[ sp:varName "facilityRef"^^xsd:string
[ sp:varName "fluidSampleCompositionRef"^^xsd:string
]
] [ sp:object
[ sp:varName "facilityChildName"^^xsd:string
[ sp:varName "name"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#componentName> ;
sp:subject
[ sp:varName "facilityNameRef"^^xsd:string
]
] [ sp:object
[ sp:varName "facilityKind"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject
[ sp:varName "facilityNameRef"^^xsd:string
[ sp:varName "fluidSampleCompositionRef"^^xsd:string
]
] [ 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> ;
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "componentBaseKindRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#componentBaseKindRef> ;
sp:subject
[ sp:varName "facilityNameRef"^^xsd:string
[ sp:varName "fluidSampleCompositionRef"^^xsd:string
]
] [ sp:object
[ sp:varName "componentBaseKindRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#materialClassMapsToMPREnumeration> ;
sp:subject
[ sp:varName "fluidSubstanceKindType"^^xsd:string
]
])
] [ sp:object
[ sp:varName "facilityParent1Ref"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#facilityParent1Ref> ;
sp:subject
[ sp:varName "fluidSampleRef"^^xsd:string
]
] [ sp:object
[ sp:varName "facilityParent1Name"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "facilityParent1Ref"^^xsd:string
]
] [ sp:object
[ sp:varName "facilityParent2Ref"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#facilityParent2Ref> ;
sp:subject
[ sp:varName "fluidSampleRef"^^xsd:string
]
] [ sp:object
[ sp:varName "facilityParent2Name"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "facilityParent2Ref"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [ sp:varName "facilityChildName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "normalizedFacilityChildName"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [ sp:varName "facilityParent1Name"^^xsd:string
]
] ;
sp:variable
[ sp:varName "normalizedFacilityParent1Name"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [ sp:varName "facilityParent2Name"^^xsd:string
]
] ;
sp:variable
[ sp:varName "normalizedFacilityParent2Name"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type fn:concat ;
sp:arg1 [ sp:varName "normalizedFacilityParent1Name"^^xsd:string
] ;
sp:arg2 "$" ;
sp:arg3 [ sp:varName "normalizedFacilityParent1Name"^^xsd:string
] ;
sp:arg4 "$" ;
sp:arg5 [ sp:varName "normalizedFacilityChildName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "normalizedFacilityName"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildProductionFacilityURI ;
sp:arg1 [ sp:varName "normalizedFacilityName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "facility"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:selectProductionFacilityType ;
sp:arg1 [ sp:varName "facilityKind"^^xsd:string
]
] ;
sp:variable
[ sp:varName "facilityType"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40001 Create the FluidSampleReport, FluidSampling activity and FluidSample object ."^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/report#FluidSampleReport> ;
sp:predicate rdf:type ;
sp:subject _:b8
] [ sp:object _:b9 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject _:b8
] [ sp:object _:b10 ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
sp:subject _:b8
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#FluidSamplingAndAnalysis> ;
sp:predicate rdf:type ;
sp:subject _:b10
] [ sp:object _:b11 ;
sp:predicate rdf:type ;
sp:subject _:b10
] [ sp:object _:b12 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#nominallyAt> ;
sp:subject _:b10
] [ sp:object _:b13 ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject _:b10
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject _:b9
] [ sp:object _:b13 ;
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 _:b13
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b12 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#acquisitionDate> ;
sp:subject _:b13
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b14 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#sampleTypeRef> ;
sp:subject _:b13
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:selectFluidSamplingType ;
sp:arg1 _:b14
] ;
sp:variable _:b11
])
] ;
spin:rule
[ 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 _:b15 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#samplingPerformedAt> ;
sp:subject
[ sp:varName "fluidSamplingAndAnalysis"^^xsd:string
]
] [ sp:object
[ sp:varName "facility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b15
] [ sp:object
[ sp:varName "normalizedFacilityAlias"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#hasDerivedText> ;
sp:subject
[ sp:varName "facilityRef"^^xsd:string
]
]) ;
sp:where ([ sp:object
[ sp:varName "fluidSampleRef"^^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_fluidSample> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "fluidSampleRef"^^xsd:string
]
] [ sp:object
[ sp:varName "fluidSampleRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "fluidSamplingAndAnalysis"^^xsd:string
]
] [ sp:object
[ sp:varName "facilityRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#facilityRef> ;
sp:subject
[ sp:varName "fluidSampleRef"^^xsd:string
]
] [ sp:object
[ sp:varName "facilityNameRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ;
sp:subject
[ sp:varName "facilityRef"^^xsd:string
]
] [ sp:object <http://www.epim.no/schemas/mprml/1#RF_well> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject
[ sp:varName "facilityNameRef"^^xsd:string
]
] [ sp:object
[ sp:varName "facilityAliasRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#facilityAliasRef> ;
sp:subject
[ sp:varName "fluidSampleRef"^^xsd:string
]
] [ sp:object
[ sp:varName "facilityAlias"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "facilityAliasRef"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [ sp:varName "facilityAlias"^^xsd:string
[ rdf:type ep-mpr-spin-lib:selectFluidPhaseType ;
sp:arg1 [ sp:varName "name"^^xsd:string
]
] ;
sp:variable
[ sp:varName "normalizedFacilityAlias"^^xsd:string
[ sp:varName "fluidPhaseType"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type rhspin:wellByName ;
arg:wellName
[ sp:varName "facilityAlias"^^xsd:string
[ rdf:type ep-mpr-spin-lib:selectFluidComponentKindType ;
sp:arg1 [ sp:varName "componentKindRef"^^xsd:string
]
] ;
sp:variable
[ sp:varName "facility"^^xsd:string
[ 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 _:b16 ;
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."^^xsd:string ;
sp:templates ([ sp:object _:b9 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#samplingPerformedAt> ;
sp:subject
[ sp:varName "fluidSamplingAndAnalysis"^^xsd:string
]
] [ sp:object
[ sp:varName "facility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b16
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#Facility> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "facility"^^xsd:string
]
sp:subject _:b9
] [ sp:object
[ sp:varName "normalizedFacilityName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject
[ sp:varName "facility"^^xsd:string
]
] [ sp:object
[ sp:varName "facilityType"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b9
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "facility"^^xsd:string
]
] [ sp:object
[ sp:varName "normalizedFacilityName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#hasDerivedText> ;
sp:subject
[ sp:varName "facilityRef"^^xsd:string
]
]) ;
sp:where ([ sp:object
[ sp:varName "fluidSampleRef"^^xsd:string
......@@ -853,220 +566,24 @@ kind is not \"well\" and facilityParent1 is not supplied"""^^xsd:string ;
sp:subject
[ sp:varName "fluidSamplingAndAnalysis"^^xsd:string
]
] [ sp:object
[ sp:varName "facilityRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#facilityRef> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#FluidSamplingAndAnalysis> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "fluidSampleRef"^^xsd:string
[ sp:varName "fluidSamplingAndAnalysis"^^xsd:string
]
] [ sp:object
[ sp:varName "facilityNameRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ;
sp:subject
[ sp:varName "facilityRef"^^xsd:string
]
] [ sp:object
[ sp:varName "facilityChildName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "facilityNameRef"^^xsd:string
]
] [ sp:object
[ sp:varName "facilityKind"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject
[ sp:varName "facilityNameRef"^^xsd:string
]
] [ 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
[ sp:varName "facilityNameRef"^^xsd:string
]
])
] [ sp:object
[ sp:varName "facilityParent1Ref"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#facilityParent1Ref> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#facilityRef> ;
sp:subject
[ sp:varName "fluidSampleRef"^^xsd:string
]
] [ sp:object
[ sp:varName "facilityParent1Name"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "facilityParent1Ref"^^xsd:string
]
] [ 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
[ sp:varName "fluidSampleRef"^^xsd:string
]
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [ sp:varName "facilityChildName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "normalizedFacilityChildName"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [ sp:varName "facilityParent1Name"^^xsd:string
]
] ;
sp:variable
[ sp:varName "normalizedFacilityParent1Name"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type fn:concat ;
sp:arg1 [ sp:varName "normalizedFacilityParent1Name"^^xsd:string
] ;
sp:arg2 "$" ;
sp:arg3 [ sp:varName "normalizedFacilityChildName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "normalizedFacilityName"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildProductionFacilityURI ;
sp:arg1 [ sp:varName "normalizedFacilityName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "facility"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:selectProductionFacilityType ;
sp:arg1 [ sp:varName "facilityKind"^^xsd:string
]
] ;
sp:variable
[ sp:varName "facilityType"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
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/material#Fluid> ;
sp:predicate rdf:type ;
sp:subject _:b17
] [ sp:object _:b17 ;
sp:predicate <http://www.reportinghub.no/ep/schema/material#hasPrimaryComponent> ;
sp:subject
[ sp:varName "sampledFluid"^^xsd:string
]
] [ sp:object
[ sp:varName "fluidPhaseType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject _:b17
] [ sp:object
[ sp:varName "fluidComponentKindType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject _:b17
] [ sp:object
[ sp:varName "fluidSubstanceKindType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject _:b17
]) ;
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:varName "facilityRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#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 "true"^^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
]
] [ rdf:type sp:Optional ;
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/transform/transform-helper-schema#materialClassMapsToMPREnumeration> ;
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:selectFluidPhaseType ;
sp:arg1 [ sp:varName "name"^^xsd:string
]
] ;
sp:variable
[ sp:varName "fluidPhaseType"^^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
[ sp:varName "facility"^^xsd:string
]
])
] .
......@@ -1075,17 +592,3 @@ The componentName element is used differently in the examples for the primary an
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/material-class-maps-to-mpr-enumeration> , <http://www.reportinghub.no/ep/mpr/spin/1.1/lib> , <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> , <http://spinrdf.org/spin> , <http://www.epim.no/schemas/mprml/1> , <http://www.reportinghub.no/ep/schema/1.0/production-activity> , <http://www.reportinghub.no/ep/transform/transform-helper-schema> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
_:b9 sp:varName "productionReport"^^xsd:string .
_:b11
sp:varName "fluidSamplingType"^^xsd:string .
_:b12
sp:varName "acquisitionDate"^^xsd:string .
_:b13
sp:varName "fluidSampleRef"^^xsd:string .
_:b14
sp:varName "sampleTypeRef"^^xsd:string .
......
This diff could not be displayed because it is too large.