David Leal

More work on MPR transforms

......@@ -10,101 +10,101 @@
<http://www.reportinghub.no/ep/schema/1.0/flow>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/schema/1.0/core> ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/facility> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
ep-flow:AllocatedFlow
rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
rdfs:label "allocated flow"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:AqueousFlow
rdf:type owl:Class , ep-flow:ProductType ;
rdf:type ep-flow:ProductType , owl:Class ;
rdfs:label "aqueous flow"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:BudgetFlow
rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
rdfs:label "budget flow"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:CarbonDioxideGasFlow
rdf:type owl:Class , ep-flow:ProductType ;
rdf:type ep-flow:ProductType , owl:Class ;
rdfs:label "carbon dioxide gas flow"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:CarbonMonoxideGasFlow
rdf:type owl:Class , ep-flow:ProductType ;
rdf:type ep-flow:ProductType , owl:Class ;
rdfs:label "carbon monoxide gas flow"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:ChemicalFlow
rdf:type owl:Class , ep-flow:ProductType ;
rdf:type ep-flow:ProductType , owl:Class ;
rdfs:label "chemical flow"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:CondensateFlow
rdf:type owl:Class , ep-flow:ProductType ;
rdf:type ep-flow:ProductType , owl:Class ;
rdfs:label "condensate flow"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:ConstraintFlow
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
rdfs:label "constraint flow"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:Consume
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdfs:label "consume"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:Consume-HPflare
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdfs:label "consume - HP flare"^^xsd:string ;
rdfs:subClassOf ep-flow:Consume-flare .
ep-flow:Consume-LPflare
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdfs:label "consume - LP flare"^^xsd:string ;
rdfs:subClassOf ep-flow:Consume-flare .
ep-flow:Consume-blackstart
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdfs:label "consume - blackstart"^^xsd:string ;
rdfs:subClassOf ep-flow:Consume .
ep-flow:Consume-compressor
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdfs:label "consume - compressor"^^xsd:string ;
rdfs:subClassOf ep-flow:Consume .
ep-flow:Consume-emitted
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdfs:label "consume - emitted"^^xsd:string ;
rdfs:subClassOf ep-flow:Consume .
ep-flow:Consume-flare
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdfs:label "consume - flare"^^xsd:string ;
rdfs:subClassOf ep-flow:Consume .
ep-flow:Consume-fuel
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdfs:label "consume - fuel"^^xsd:string ;
rdfs:subClassOf ep-flow:Consume .
ep-flow:Consume-noncompressor
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdfs:label "consume - non-compressor"^^xsd:string ;
rdfs:subClassOf ep-flow:Consume .
ep-flow:Consume-venting
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdfs:label "consume - venting"^^xsd:string ;
rdfs:subClassOf ep-flow:Consume .
ep-flow:CuttingsFlow
rdf:type ep-flow:ProductType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductType ;
rdfs:label "cuttings flow"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
......@@ -114,42 +114,42 @@ ep-flow:DailyProductionFlow
rdfs:subClassOf ep-flow:TemporalPartOfAProductionFlow .
ep-flow:DerivedFlow
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
rdfs:label "derived flow"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:DieselFlow
rdf:type owl:Class , ep-flow:ProductType ;
rdf:type ep-flow:ProductType , owl:Class ;
rdfs:label "diesel flow"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:EstimatedFlow
rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
rdfs:label "estimated flow"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:Ethane-componentFlow
rdf:type owl:Class , ep-flow:ProductType ;
rdf:type ep-flow:ProductType , owl:Class ;
rdfs:label "ethane - component flow"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:Export
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdfs:label "export"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:Export-nominated
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdfs:label "export nominated"^^xsd:string ;
rdfs:subClassOf ep-flow:Export .
ep-flow:Export-requested
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdfs:label "export requested"^^xsd:string ;
rdfs:subClassOf ep-flow:Export .
ep-flow:Export-shortfall
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdfs:label "export shortfall"^^xsd:string ;
rdfs:subClassOf ep-flow:Export .
......@@ -159,32 +159,32 @@ ep-flow:Flow
rdfs:subClassOf ep-flow:TemporalPartOfAFlow .
ep-flow:FlowDuringDay
rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ;
rdf:type owl:Class , ep-flow:TemporalPartOfAFlowDurationType ;
rdfs:label "flow during day"^^xsd:string ;
rdfs:subClassOf ep-flow:TemporalPartOfAFlow .
ep-flow:FlowDuringMonth
rdf:type owl:Class , ep-flow:TemporalPartOfAFlowDurationType ;
rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ;
rdfs:label "flow during month"^^xsd:string ;
rdfs:subClassOf ep-flow:TemporalPartOfAFlow .
ep-flow:FlowDuringMonthToDate
rdf:type owl:Class , ep-flow:TemporalPartOfAFlowDurationType ;
rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ;
rdfs:label "flow during month to date"^^xsd:string ;
rdfs:subClassOf ep-flow:TemporalPartOfAFlow .
ep-flow:FlowDuringWeek
rdf:type owl:Class , ep-flow:TemporalPartOfAFlowDurationType ;
rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ;
rdfs:label "flow during week"^^xsd:string ;
rdfs:subClassOf ep-flow:TemporalPartOfAFlow .
ep-flow:FlowDuringYear
rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ;
rdf:type owl:Class , ep-flow:TemporalPartOfAFlowDurationType ;
rdfs:label "flow during year"^^xsd:string ;
rdfs:subClassOf ep-flow:TemporalPartOfAFlow .
ep-flow:FlowDuringYearToDate
rdf:type owl:Class , ep-flow:TemporalPartOfAFlowDurationType ;
rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ;
rdfs:label "flow during year to date"^^xsd:string ;
rdfs:subClassOf ep-flow:TemporalPartOfAFlow .
......@@ -204,97 +204,102 @@ ep-flow:FlowOfMaterial
rdfs:subClassOf ep-flow:Flow .
ep-flow:Gas-componentInOilFlow
rdf:type owl:Class , ep-flow:ProductType ;
rdf:type ep-flow:ProductType , owl:Class ;
rdfs:label "gas - component in oil flow"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:Gas-richFlow
rdf:type owl:Class , ep-flow:ProductType ;
rdf:type ep-flow:ProductType , owl:Class ;
rdfs:label "gas - rich flow"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:GasFlow
rdf:type owl:Class , ep-flow:ProductType ;
rdf:type ep-flow:ProductType , owl:Class ;
rdfs:label "gas flow"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:Gaslift
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdfs:label "gas lift"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:HydrocarbonAccounting
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdfs:label "hydrocarbon accounting"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:I-butane-componentFlow
rdf:type owl:Class , ep-flow:ProductType ;
rdf:type ep-flow:ProductType , owl:Class ;
rdfs:label "i-butane - component flow"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:Import
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdfs:label "import"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:Injection
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdfs:label "injection"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:Inventory
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdfs:label "inventory"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:MeasuredFlow
rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
rdfs:label "measured flow"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:N-butane-componentFlow
rdf:type owl:Class , ep-flow:ProductType ;
rdf:type ep-flow:ProductType , owl:Class ;
rdfs:label "n-butane - component flow"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:NGL-componentInGasFlow
rdf:type owl:Class , ep-flow:ProductType ;
rdf:type ep-flow:ProductType , owl:Class ;
rdfs:label "NGL - component in gas flow"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:NaturalGasLiquidFlow
rdf:type owl:Class , ep-flow:ProductType ;
rdf:type ep-flow:ProductType , owl:Class ;
rdfs:label "natural gas liquid flow"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:NitrogenOxideGasFlow
rdf:type owl:Class , ep-flow:ProductType ;
rdf:type ep-flow:ProductType , owl:Class ;
rdfs:label "nitrogen oxide gas flow"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:Oil-componentInWaterFlow
rdf:type owl:Class , ep-flow:ProductType ;
rdf:type ep-flow:ProductType , owl:Class ;
rdfs:label "oil - component in water flow"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:Oil-netFlow
rdf:type owl:Class , ep-flow:ProductType ;
rdf:type ep-flow:ProductType , owl:Class ;
rdfs:label "oil - net flow"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:OilAndGasFlow
rdf:type owl:Class , ep-flow:ProductType ;
rdf:type ep-flow:ProductType , owl:Class ;
rdfs:label "oil and gas flow"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:OilFlow
rdf:type ep-flow:ProductType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductType ;
rdfs:label "oil flow"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:OleicFlow
rdf:type owl:Class , ep-flow:ProductType ;
rdf:type ep-flow:ProductType , owl:Class ;
rdfs:label "oleic flow"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:Overboard
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdfs:label "overboard"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
......@@ -314,7 +319,7 @@ ep-flow:ProductType
rdfs:subClassOf owl:Class .
ep-flow:Production
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdfs:label "production"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
......@@ -354,25 +359,35 @@ ep-flow:ProductionTestWellHeadFlow
rdfs:subClassOf ep-flow:Flow .
ep-flow:Propane-componentFlow
rdf:type owl:Class , ep-flow:ProductType ;
rdf:type ep-flow:ProductType , owl:Class ;
rdfs:label "propane - component flow"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:QuotaFlow
rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
rdfs:label "quota flow"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:Sale
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdfs:label "sale"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:SandFlow
rdf:type owl:Class , ep-flow:ProductType ;
rdf:type ep-flow:ProductType , owl:Class ;
rdfs:label "sand flow"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:SimulatedFlow
rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
rdfs:label "simulated flow"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:Storage
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdfs:label "storage"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:TemporalPartOfAFlow
rdf:type owl:Class ;
rdfs:label "temporal part of a flow"^^xsd:string ;
......@@ -394,27 +409,27 @@ ep-flow:TemporalPartOfAProductionFlow
rdfs:subClassOf ep-flow:TemporalPartOfAFlow .
ep-flow:VapourFlow
rdf:type owl:Class , ep-flow:ProductType ;
rdf:type ep-flow:ProductType , owl:Class ;
rdfs:label "vapour flow"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:Water-dischargeFlow
rdf:type owl:Class , ep-flow:ProductType ;
rdf:type ep-flow:ProductType , owl:Class ;
rdfs:label "water - discharge flow"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:Water-processedFlow
rdf:type owl:Class , ep-flow:ProductType ;
rdf:type ep-flow:ProductType , owl:Class ;
rdfs:label "water - processed flow"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:WaterFlow
rdf:type owl:Class , ep-flow:ProductType ;
rdf:type ep-flow:ProductType , owl:Class ;
rdfs:label "water flow"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:dailyAverageAmountOfMaterial
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:label "daily average amount of material"^^xsd:string ;
rdfs:range <http://www.reportinghub.no/ep/schema/core#MeasureOfAmountOfMaterial> .
......@@ -459,6 +474,6 @@ ep-flow:hasNetworkPart
rdfs:subPropertyOf <http://www.reportinghub.no/ep/schema/core#hasPart> .
ep-flow:totalAmountOfMaterial
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:label "total amount of material"^^xsd:string ;
rdfs:range <http://www.reportinghub.no/ep/schema/core#MeasureOfAmountOfMaterial> .
......
......@@ -10,10 +10,14 @@
<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-organization> ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/production-organization> , <http://www.reportinghub.no/ep/schema/1.0/equipment> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
ep-prodeqt:FlowMeter
rdf:type owl:Class ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> .
ep-prodeqt:hasCaptain
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:label "has captain"^^xsd:string ;
rdfs:range <http://www.reportinghub.no/ep/schema/production-organization#Person> .
......
This diff could not be displayed because it is too large.
......@@ -31,349 +31,197 @@
<http://www.witsml.org/schemas/131/addendum/combo#Co_productVolume>
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 20103b record the related facility - only its kind is specified"^^xsd:string ;
sp:templates ([ sp:object _:b1 ;
sp:predicate _:b2 ;
sp:subject _:b3
] [ sp:object _:b4 ;
sp:predicate rdf:type ;
sp:subject _:b1
]) ;
sp:where ([ sp:object _:b5 ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#facilityRef> ;
sp:subject spin:_this
] [ sp:object _:b6 ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#flowRef> ;
sp:subject _:b5
] [ sp:object _:b7 ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#name> ;
sp:subject _:b6
] [ sp:object _:b8 ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#directionRef> ;
sp:subject _:b6
] [ sp:object _:b9 ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#relatedFacilityRef> ;
sp:subject _:b6
] [ sp:object _:b10 ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ;
sp:subject _:b9
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b7
] ;
sp:variable _:b11
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildProductionFlowURI ;
sp:arg1 _:b11
] ;
sp:variable _:b3
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:selectProductionFacilityType ;
sp:arg1 _:b10
rdfs:comment "STEP 20103a record the flows"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "productionFacility"^^xsd:string
] ;
sp:variable _:b4
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:selectProductionFlowDirectionInverseRelationshipType ;
sp:arg1 _:b8
sp:predicate
[ sp:varName "productionFlowDirectionRelationshipType"^^xsd:string
] ;
sp:variable _:b2
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 20103a record the flows"^^xsd:string ;
sp:templates ([ sp:object _:b12 ;
sp:predicate _:b13 ;
sp:subject _:b14
sp:subject
[ sp:varName "productionFlow"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlow> ;
sp:predicate rdf:type ;
sp:subject _:b14
] [ sp:object _:b15 ;
sp:subject
[ sp:varName "productionFlow"^^xsd:string
]
] [ sp:object
[ sp:varName "productionFlowPurposeType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject _:b14
] [ sp:object _:b16 ;
sp:subject
[ sp:varName "productionFlow"^^xsd:string
]
] [ sp:object
[ sp:varName "productionFlowDefinitionType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject _:b14
] [ sp:object _:b17 ;
sp:subject
[ sp:varName "productionFlow"^^xsd:string
]
] [ sp:object
[ sp:varName "flowName"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject _:b14
] [ sp:object _:b14 ;
sp:subject
[ sp:varName "productionFlow"^^xsd:string
]
] [ sp:object
[ sp:varName "productionFlow"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b18
sp:subject _:b1
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowToDate> ;
sp:predicate rdf:type ;
sp:subject _:b18
] [ sp:object _:b18 ;
sp:subject _:b1
] [ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasNetworkPart> ;
sp:subject _:b19
] [ sp:object _:b20 ;
sp:subject
[ sp:varName "productionFlowsToDate"^^xsd:string
]
] [ sp:object
[ sp:varName "flowRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject _:b18
sp:subject _:b1
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject _:b19
] [ sp:object _:b21 ;
sp:subject
[ sp:varName "dailyProductionFlows"^^xsd:string
]
] [ sp:object
[ sp:varName "productionFlowsToDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "dailyProductionFlows"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowToDate> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionFlowsToDate"^^xsd:string
]
] [ sp:object
[ sp:varName "facilityRef"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#facilityRef> ;
sp:subject spin:_this
] [ sp:object _:b22 ;
] [ sp:object
[ sp:varName "facilityNameRef"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#nameRef> ;
sp:subject _:b21
] [ sp:object _:b23 ;
sp:subject
[ sp:varName "facilityRef"^^xsd:string
]
] [ sp:object
[ sp:varName "facilityName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b22
] [ sp:object _:b20 ;
sp:subject
[ sp:varName "facilityNameRef"^^xsd:string
]
] [ sp:object
[ sp:varName "flowRef"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#flowRef> ;
sp:subject _:b21
] [ sp:object _:b17 ;
sp:subject
[ sp:varName "facilityRef"^^xsd:string
]
] [ sp:object
[ sp:varName "flowName"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#name> ;
sp:subject _:b20
] [ sp:object _:b24 ;
sp:subject
[ sp:varName "flowRef"^^xsd:string
]
] [ sp:object
[ sp:varName "flowKind"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ;
sp:subject _:b20
] [ sp:object _:b25 ;
sp:subject
[ sp:varName "flowRef"^^xsd:string
]
] [ sp:object
[ sp:varName "flowDirection"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#directionRef> ;
sp:subject _:b20
sp:subject
[ sp:varName "flowRef"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b26 ;
sp:elements ([ sp:object
[ sp:varName "flowQualifier"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#qualifierRef> ;
sp:subject _:b20
sp:subject
[ sp:varName "flowRef"^^xsd:string
]
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b23
sp:arg1 [ sp:varName "facilityName"^^xsd:string
]
] ;
sp:variable _:b27
sp:variable
[ sp:varName "normalizedFacilityName"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildProductionFacilityURI ;
sp:arg1 _:b27
sp:arg1 [ sp:varName "normalizedFacilityName"^^xsd:string
]
] ;
sp:variable _:b12
sp:variable
[ sp:varName "productionFacility"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b17
sp:arg1 [ sp:varName "flowName"^^xsd:string
]
] ;
sp:variable _:b28
sp:variable
[ sp:varName "normalizedFlowName"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildProductionFlowURI ;
sp:arg1 _:b28
sp:arg1 [ sp:varName "normalizedFlowName"^^xsd:string
]
] ;
sp:variable _:b14
sp:variable
[ sp:varName "productionFlow"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:selectProductionFlowPurposeType ;
sp:arg1 _:b24
sp:arg1 [ sp:varName "flowKind"^^xsd:string
]
] ;
sp:variable _:b15
sp:variable
[ sp:varName "productionFlowPurposeType"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:selectProductionFlowDefinitionType ;
sp:arg1 _:b26
sp:arg1 [ sp:varName "flowQualifier"^^xsd:string
]
] ;
sp:variable _:b16
sp:variable
[ sp:varName "productionFlowDefinitionType"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:selectProductionFlowDirectionRelationshipType ;
sp:arg1 _:b25
] ;
sp:variable _:b13
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 20103b record the related facility
nothing is done with the facilityParent1 or facilityParent2 of the related facility"""^^xsd:string ;
sp:templates ([ sp:object _:b29 ;
sp:predicate _:b30 ;
sp:subject _:b31
] [ sp:object _:b32 ;
sp:predicate rdf:type ;
sp:subject _:b29
]) ;
sp:where ([ sp:object _:b33 ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#facilityRef> ;
sp:subject spin:_this
] [ sp:object _:b34 ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#flowRef> ;
sp:subject _:b33
] [ sp:object _:b35 ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#name> ;
sp:subject _:b34
] [ sp:object _:b36 ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#directionRef> ;
sp:subject _:b34
] [ sp:object _:b37 ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#relatedFacilityRef> ;
sp:subject _:b34
] [ sp:object _:b38 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b37
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b39 ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ;
sp:subject _:b37
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b35
] ;
sp:variable _:b40
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildProductionFlowURI ;
sp:arg1 _:b40
] ;
sp:variable _:b31
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b38
] ;
sp:variable _:b41
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildProductionFacilityURI ;
sp:arg1 _:b41
] ;
sp:variable _:b29
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:selectProductionFacilityType ;
sp:arg1 _:b39
] ;
sp:variable _:b32
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:selectProductionFlowDirectionInverseRelationshipType ;
sp:arg1 _:b36
] ;
sp:variable _:b30
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 20105 record the temporal parts of product flows"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/flow#TemporalPartOfAProductFlow> ;
sp:predicate rdf:type ;
sp:subject _:b42
] [ sp:object _:b43 ;
sp:predicate rdf:type ;
sp:subject _:b42
] [ sp:object _:b44 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b42
] [ sp:object _:b45 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject _:b42
] [ sp:object _:b46 ;
sp:predicate _:b47 ;
sp:subject _:b42
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ;
sp:predicate rdf:type ;
sp:subject _:b46
] [ sp:object _:b48 ;
sp:predicate _:b49 ;
sp:subject _:b46
] [ sp:object _:b50 ;
sp:predicate _:b47 ;
sp:subject _:b42
] [ sp:object _:b51 ;
sp:predicate rdf:type ;
sp:subject _:b50
] [ sp:object _:b52 ;
sp:predicate _:b53 ;
sp:subject _:b50
]) ;
sp:where ([ sp:object _:b54 ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#standardTempPresRef> ;
sp:subject spin:_this
] [ sp:object _:b55 ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#facilityRef> ;
sp:subject spin:_this
] [ sp:object _:b56 ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#flowRef> ;
sp:subject _:b55
] [ sp:object _:b57 ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productRef> ;
sp:subject _:b56
] [ sp:object _:b57 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject _:b44
] [ sp:object
[ sp:varName "productKind"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ;
sp:subject _:b57
] [ sp:object _:b58 ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#periodRef> ;
sp:subject _:b57
] [ sp:object _:b59 ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ;
sp:subject _:b58
] [ sp:object _:b45 ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dTimEnd> ;
sp:subject _:b58
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b60 ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#volumeRef> ;
sp:subject _:b58
] [ sp:object _:b48 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b60
] [ sp:object _:b61 ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ;
sp:subject _:b60
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b62 ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#volumeStdRef> ;
sp:subject _:b58
] [ sp:object _:b52 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b62
] [ sp:object _:b63 ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ;
sp:subject _:b62
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:selectRelationshipToMeasure ;
sp:arg1 _:b59
] ;
sp:variable _:b47
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:selectTemporalPartOfAFlowDurationType ;
sp:arg1 _:b59
] ;
sp:variable _:b43
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:selectVolumeAtStandardTemperaturePressureType ;
sp:arg1 _:b54
] ;
sp:variable _:b51
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:selectVolumeScale ;
sp:arg1 _:b61
] ;
sp:variable _:b49
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:selectVolumeScale ;
sp:arg1 _:b63
sp:arg1 [ sp:varName "flowDirection"^^xsd:string
]
] ;
sp:variable _:b53
sp:variable
[ sp:varName "productionFlowDirectionRelationshipType"^^xsd:string
]
])
] ;
spin:rule
......@@ -410,11 +258,11 @@ namingSystem not processed"""^^xsd:string ;
[ sp:varName "productFlow"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b64
sp:subject _:b2
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductFlowToDate> ;
sp:predicate rdf:type ;
sp:subject _:b64
] [ sp:object _:b64 ;
sp:subject _:b2
] [ sp:object _:b2 ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasMixedPart> ;
sp:subject
[ sp:varName "productionFlowToDate"^^xsd:string
......@@ -423,7 +271,7 @@ namingSystem not processed"""^^xsd:string ;
[ sp:varName "productRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject _:b64
sp:subject _:b2
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
......@@ -478,69 +326,258 @@ namingSystem not processed"""^^xsd:string ;
[ sp:varName "productRef"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "productNameRef"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#nameRef> ;
sp:subject
[ sp:varName "productRef"^^xsd:string
]
] [ sp:object
[ sp:varName "productFlowName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "productNameRef"^^xsd:string
]
sp:elements ([ sp:object
[ sp:varName "productNameRef"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#nameRef> ;
sp:subject
[ sp:varName "productRef"^^xsd:string
]
] [ sp:object
[ sp:varName "productFlowName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "productNameRef"^^xsd:string
]
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [ sp:varName "flowName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "normalizedFlowName"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:selectProductType ;
sp:arg1 [ sp:varName "productKind"^^xsd:string
]
] ;
sp:variable
[ sp:varName "productType"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type spl:object ;
sp:arg1 [ sp:varName "productType"^^xsd:string
] ;
sp:arg2 rdfs:label
] ;
sp:variable
[ sp:varName "productTypeName"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [ sp:varName "productTypeName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "normalizedProductTypeName"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildProductFlowURI ;
sp:arg1 [ sp:varName "normalizedFlowName"^^xsd:string
] ;
sp:arg2 [ sp:varName "normalizedProductTypeName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "productFlow"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 20105 record the temporal parts of product flows"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/flow#TemporalPartOfAProductFlow> ;
sp:predicate rdf:type ;
sp:subject _:b3
] [ sp:object _:b4 ;
sp:predicate rdf:type ;
sp:subject _:b3
] [ sp:object _:b5 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b3
] [ sp:object _:b6 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject _:b3
] [ sp:object _:b7 ;
sp:predicate _:b8 ;
sp:subject _:b3
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ;
sp:predicate rdf:type ;
sp:subject _:b7
] [ sp:object _:b9 ;
sp:predicate _:b10 ;
sp:subject _:b7
] [ sp:object _:b11 ;
sp:predicate _:b8 ;
sp:subject _:b3
] [ sp:object _:b12 ;
sp:predicate rdf:type ;
sp:subject _:b11
] [ sp:object _:b13 ;
sp:predicate _:b14 ;
sp:subject _:b11
]) ;
sp:where ([ sp:object _:b15 ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#standardTempPresRef> ;
sp:subject spin:_this
] [ sp:object _:b16 ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#facilityRef> ;
sp:subject spin:_this
] [ sp:object _:b17 ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#flowRef> ;
sp:subject _:b16
] [ sp:object _:b18 ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productRef> ;
sp:subject _:b17
] [ sp:object _:b18 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject _:b5
] [ sp:object
[ sp:varName "productKind"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ;
sp:subject _:b18
] [ sp:object _:b19 ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#periodRef> ;
sp:subject _:b18
] [ sp:object _:b20 ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ;
sp:subject _:b19
] [ sp:object _:b6 ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dTimEnd> ;
sp:subject _:b19
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b21 ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#volumeRef> ;
sp:subject _:b19
] [ sp:object _:b9 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b21
] [ sp:object _:b22 ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ;
sp:subject _:b21
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b23 ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#volumeStdRef> ;
sp:subject _:b19
] [ sp:object _:b13 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b23
] [ sp:object _:b24 ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ;
sp:subject _:b23
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:selectRelationshipToMeasure ;
sp:arg1 _:b20
] ;
sp:variable _:b8
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:selectTemporalPartOfAFlowDurationType ;
sp:arg1 _:b20
] ;
sp:variable _:b4
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:selectVolumeAtStandardTemperaturePressureType ;
sp:arg1 _:b15
] ;
sp:variable _:b12
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:selectVolumeScale ;
sp:arg1 _:b22
] ;
sp:variable _:b10
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:selectVolumeScale ;
sp:arg1 _:b24
] ;
sp:variable _:b14
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 20103b record the related facility
nothing is done with the facilityParent1 or facilityParent2 of the related facility"""^^xsd:string ;
sp:templates ([ sp:object _:b25 ;
sp:predicate _:b26 ;
sp:subject _:b27
] [ sp:object _:b28 ;
sp:predicate rdf:type ;
sp:subject _:b25
]) ;
sp:where ([ sp:object _:b29 ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#facilityRef> ;
sp:subject spin:_this
] [ sp:object _:b30 ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#flowRef> ;
sp:subject _:b29
] [ sp:object _:b31 ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#name> ;
sp:subject _:b30
] [ sp:object _:b32 ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#directionRef> ;
sp:subject _:b30
] [ sp:object _:b33 ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#relatedFacilityRef> ;
sp:subject _:b30
] [ sp:object _:b34 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b33
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b35 ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ;
sp:subject _:b33
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [ sp:varName "flowName"^^xsd:string
]
sp:arg1 _:b31
] ;
sp:variable
[ sp:varName "normalizedFlowName"^^xsd:string
]
sp:variable _:b36
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:selectProductType ;
sp:arg1 [ sp:varName "productKind"^^xsd:string
]
[ rdf:type ep-dpr-spin-lib:buildProductionFlowURI ;
sp:arg1 _:b36
] ;
sp:variable
[ sp:varName "productType"^^xsd:string
]
sp:variable _:b27
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type spl:object ;
sp:arg1 [ sp:varName "productType"^^xsd:string
] ;
sp:arg2 rdfs:label
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b34
] ;
sp:variable
[ sp:varName "productTypeName"^^xsd:string
]
sp:variable _:b37
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [ sp:varName "productTypeName"^^xsd:string
]
[ rdf:type ep-dpr-spin-lib:buildProductionFacilityURI ;
sp:arg1 _:b37
] ;
sp:variable
[ sp:varName "normalizedProductTypeName"^^xsd:string
]
sp:variable _:b25
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildProductFlowURI ;
sp:arg1 [ sp:varName "normalizedFlowName"^^xsd:string
] ;
sp:arg2 [ sp:varName "normalizedProductTypeName"^^xsd:string
]
[ rdf:type ep-dpr-spin-lib:selectProductionFacilityType ;
sp:arg1 _:b35
] ;
sp:variable
[ sp:varName "productFlow"^^xsd:string
]
sp:variable _:b28
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:selectProductionFlowDirectionInverseRelationshipType ;
sp:arg1 _:b32
] ;
sp:variable _:b26
])
] ;
spin:rule
......@@ -549,236 +586,245 @@ namingSystem not processed"""^^xsd:string ;
Nothing is done with the namingSystem!"""^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ;
sp:predicate rdf:type ;
sp:subject _:b65
] [ sp:object _:b66 ;
sp:subject _:b38
] [ sp:object _:b39 ;
sp:predicate rdf:type ;
sp:subject _:b65
sp:subject _:b38
]) ;
sp:where ([ sp:object _:b67 ;
sp:where ([ sp:object _:b40 ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#facilityRef> ;
sp:subject spin:_this
] [ sp:object _:b68 ;
] [ sp:object _:b41 ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#nameRef> ;
sp:subject _:b67
] [ sp:object _:b69 ;
sp:subject _:b40
] [ sp:object _:b42 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b68
sp:subject _:b41
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "facilityNamingSystem"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#namingSystem> ;
sp:subject _:b68
sp:subject _:b41
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b70 ;
sp:elements ([ sp:object _:b43 ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ;
sp:subject _:b68
sp:subject _:b41
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b69
sp:arg1 _:b42
] ;
sp:variable _:b71
sp:variable _:b44
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildProductionFacilityURI ;
sp:arg1 _:b71
sp:arg1 _:b44
] ;
sp:variable _:b38
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:selectProductionFacilityType ;
sp:arg1 _:b43
] ;
sp:variable _:b39
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 20103b record the related facility - only its kind is specified"^^xsd:string ;
sp:templates ([ sp:object _:b45 ;
sp:predicate _:b46 ;
sp:subject _:b47
] [ sp:object _:b48 ;
sp:predicate rdf:type ;
sp:subject _:b45
]) ;
sp:where ([ sp:object _:b49 ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#facilityRef> ;
sp:subject spin:_this
] [ sp:object _:b50 ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#flowRef> ;
sp:subject _:b49
] [ sp:object _:b51 ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#name> ;
sp:subject _:b50
] [ sp:object _:b52 ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#directionRef> ;
sp:subject _:b50
] [ sp:object _:b53 ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#relatedFacilityRef> ;
sp:subject _:b50
] [ sp:object _:b54 ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ;
sp:subject _:b53
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b51
] ;
sp:variable _:b55
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildProductionFlowURI ;
sp:arg1 _:b55
] ;
sp:variable _:b65
sp:variable _:b47
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:selectProductionFacilityType ;
sp:arg1 _:b70
sp:arg1 _:b54
] ;
sp:variable _:b48
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:selectProductionFlowDirectionInverseRelationshipType ;
sp:arg1 _:b52
] ;
sp:variable _:b66
sp:variable _:b46
])
] .
_:b2 sp:varName "productionFlowDirectionInverseRelationshipType"^^xsd:string .
_:b46
sp:varName "productionFlowDirectionInverseRelationshipType"^^xsd:string .
_:b3 sp:varName "productionFlow"^^xsd:string .
_:b47
sp:varName "productionFlow"^^xsd:string .
_:b4 sp:varName "relatedFacilityType"^^xsd:string .
_:b48
sp:varName "relatedFacilityType"^^xsd:string .
_:b5 sp:varName "facilityRef"^^xsd:string .
_:b49
sp:varName "facilityRef"^^xsd:string .
_:b6 sp:varName "flowRef"^^xsd:string .
_:b50
sp:varName "flowRef"^^xsd:string .
_:b7 sp:varName "flowName"^^xsd:string .
_:b51
sp:varName "flowName"^^xsd:string .
_:b8 sp:varName "flowDirection"^^xsd:string .
_:b52
sp:varName "flowDirection"^^xsd:string .
_:b9 sp:varName "relatedFacilityRef"^^xsd:string .
_:b53
sp:varName "relatedFacilityRef"^^xsd:string .
_:b10
_:b54
sp:varName "relatedFacilityKind"^^xsd:string .
_:b11
_:b55
sp:varName "normalizedFlowName"^^xsd:string .
_:b12
sp:varName "productionFacility"^^xsd:string .
_:b25
sp:varName "relatedFacility"^^xsd:string .
_:b13
sp:varName "productionFlowDirectionRelationshipType"^^xsd:string .
_:b26
sp:varName "productionFlowDirectionInverseRelationshipType"^^xsd:string .
_:b14
_:b27
sp:varName "productionFlow"^^xsd:string .
_:b15
sp:varName "productionFlowPurposeType"^^xsd:string .
_:b16
sp:varName "productionFlowDefinitionType"^^xsd:string .
_:b17
sp:varName "flowName"^^xsd:string .
_:b19
sp:varName "productionFlowsToDate"^^xsd:string .
_:b20
sp:varName "flowRef"^^xsd:string .
_:b28
sp:varName "relatedFacilityType"^^xsd:string .
_:b21
_:b29
sp:varName "facilityRef"^^xsd:string .
_:b22
sp:varName "facilityNameRef"^^xsd:string .
_:b23
sp:varName "facilityName"^^xsd:string .
_:b30
sp:varName "flowRef"^^xsd:string .
_:b24
sp:varName "flowKind"^^xsd:string .
_:b31
sp:varName "flowName"^^xsd:string .
_:b25
_:b32
sp:varName "flowDirection"^^xsd:string .
_:b26
sp:varName "flowQualifier"^^xsd:string .
_:b33
sp:varName "relatedFacilityRef"^^xsd:string .
_:b27
sp:varName "normalizedFacilityName"^^xsd:string .
_:b34
sp:varName "relatedFacilityName"^^xsd:string .
_:b28
_:b35
sp:varName "relatedFacilityKind"^^xsd:string .
_:b36
sp:varName "normalizedFlowName"^^xsd:string .
_:b43
sp:varName "temporalPartOfAFlowDurationType"^^xsd:string .
_:b37
sp:varName "normalizedRelatedFacilityName"^^xsd:string .
_:b44
sp:varName "productFlowToDate"^^xsd:string .
_:b4 sp:varName "temporalPartOfAFlowDurationType"^^xsd:string .
_:b45
sp:varName "endTime"^^xsd:string .
_:b5 sp:varName "productFlowToDate"^^xsd:string .
_:b47
sp:varName "relationshipToMeasure"^^xsd:string .
_:b6 sp:varName "endTime"^^xsd:string .
_:b48
sp:varName "realVolume"^^xsd:string .
_:b8 sp:varName "relationshipToMeasure"^^xsd:string .
_:b49
_:b9 sp:varName "realVolume"^^xsd:string .
_:b10
sp:varName "volumeScale"^^xsd:string .
_:b51
_:b12
sp:varName "volumeStdType"^^xsd:string .
_:b52
_:b13
sp:varName "realVolumeStd"^^xsd:string .
_:b53
_:b14
sp:varName "volumeStdScale"^^xsd:string .
_:b54
_:b15
sp:varName "standardTempPres"^^xsd:string .
_:b55
_:b16
sp:varName "facilityRef"^^xsd:string .
_:b56
_:b17
sp:varName "flowRef"^^xsd:string .
_:b57
_:b18
sp:varName "productRef"^^xsd:string .
_:b58
_:b19
sp:varName "periodRef"^^xsd:string .
_:b59
_:b20
sp:varName "periodKindRef"^^xsd:string .
_:b60
_:b21
sp:varName "volumeRef"^^xsd:string .
_:b61
_:b22
sp:varName "uomVolume"^^xsd:string .
_:b62
_:b23
sp:varName "volumeStdRef"^^xsd:string .
_:b63
_:b24
sp:varName "uomVolumeStd"^^xsd:string .
_:b65
_:b38
sp:varName "productionFacility"^^xsd:string .
_:b66
_:b39
sp:varName "productionFacilityType"^^xsd:string .
_:b67
_:b40
sp:varName "facilityRef"^^xsd:string .
_:b68
_:b41
sp:varName "facilityNameRef"^^xsd:string .
_:b69
_:b42
sp:varName "facilityName"^^xsd:string .
_:b70
_:b43
sp:varName "facilityKind"^^xsd:string .
_:b71
_:b44
sp:varName "normalizedFacilityName"^^xsd:string .
_:b29
sp:varName "relatedFacility"^^xsd:string .
_:b30
sp:varName "productionFlowDirectionInverseRelationshipType"^^xsd:string .
_:b31
sp:varName "productionFlow"^^xsd:string .
_:b32
sp:varName "relatedFacilityType"^^xsd:string .
_:b33
sp:varName "facilityRef"^^xsd:string .
_:b34
sp:varName "flowRef"^^xsd:string .
_:b35
sp:varName "flowName"^^xsd:string .
_:b36
sp:varName "flowDirection"^^xsd:string .
_:b37
sp:varName "relatedFacilityRef"^^xsd:string .
_:b38
sp:varName "relatedFacilityName"^^xsd:string .
_:b39
sp:varName "relatedFacilityKind"^^xsd:string .
_:b40
sp:varName "normalizedFlowName"^^xsd:string .
_:b41
sp:varName "normalizedRelatedFacilityName"^^xsd:string .
......
# Saved by TopBraid on Sat Oct 08 12:56:31 BST 2011
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> .
@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix visual: <http://topbraid.org/visual#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
[] rdf:type inference:Configuration ;
composite:child
[ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
composite:index "0"^^xsd:int
] .
......@@ -21,6 +21,215 @@
<http://www.epim.no/schemas/mprml/1#A_Global-Objects>
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 20103a record the flows"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "productionFacility"^^xsd:string
] ;
sp:predicate
[ sp:varName "productionFlowDirectionRelationshipType"^^xsd:string
] ;
sp:subject
[ sp:varName "productionFlow"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlow> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionFlow"^^xsd:string
]
] [ sp:object
[ sp:varName "productionFlowPurposeType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionFlow"^^xsd:string
]
] [ sp:object
[ sp:varName "productionFlowDefinitionType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionFlow"^^xsd:string
]
] [ sp:object
[ sp:varName "flowName"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject
[ sp:varName "productionFlow"^^xsd:string
]
] [ sp:object
[ sp:varName "productionFlow"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b1
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowToDate> ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasNetworkPart> ;
sp:subject
[ sp:varName "productionFlowsToDate"^^xsd:string
]
] [ sp:object
[ sp:varName "flowRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject _:b1
]) ;
sp:where ([ sp:object
[ sp:varName "productVolumeRef"^^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_productVolume> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productVolumeRef"^^xsd:string
]
] [ sp:object
[ sp:varName "productVolumeRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "reportingPeriodProductionFlows"^^xsd:string
]
] [ sp:object
[ sp:varName "productionFlowsToDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "reportingPeriodProductionFlows"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowToDate> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionFlowsToDate"^^xsd:string
]
] [ sp:object
[ sp:varName "facilityRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#facilityRef> ;
sp:subject
[ sp:varName "productVolumeRef"^^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 "facilityName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "facilityNameRef"^^xsd:string
]
] [ sp:object
[ sp:varName "flowRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#flowRef> ;
sp:subject
[ sp:varName "facilityRef"^^xsd:string
]
] [ sp:object
[ sp:varName "flowName"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#name> ;
sp:subject
[ sp:varName "flowRef"^^xsd:string
]
] [ sp:object
[ sp:varName "flowKind"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject
[ sp:varName "flowRef"^^xsd:string
]
] [ sp:object
[ sp:varName "flowDirection"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#directionRef> ;
sp:subject
[ sp:varName "flowRef"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "flowQualifier"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#qualifierRef> ;
sp:subject
[ sp:varName "flowRef"^^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 "productionFacility"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [ sp:varName "flowName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "normalizedFlowName"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildProductionFlowURI ;
sp:arg1 [ sp:varName "normalizedFlowName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "productionFlow"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:selectProductionFlowPurposeType ;
sp:arg1 [ sp:varName "flowKind"^^xsd:string
]
] ;
sp:variable
[ sp:varName "productionFlowPurposeType"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:selectProductionFlowDefinitionType ;
sp:arg1 [ sp:varName "flowQualifier"^^xsd:string
]
] ;
sp:variable
[ sp:varName "productionFlowDefinitionType"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:selectProductionFlowDirectionRelationshipType ;
sp:arg1 [ sp:varName "flowDirection"^^xsd:string
]
] ;
sp:variable
[ sp:varName "productionFlowDirectionRelationshipType"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 20102 Record the Facility that has the flows
Nothing is done with the namingSystem!"""^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ;
......@@ -117,5 +326,5 @@ Nothing is done with the namingSystem!"""^^xsd:string ;
<http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolume-v1.0>
rdf:type owl:Ontology ;
owl:imports <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> ;
owl:imports <http://www.epim.no/schemas/mprml/1> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> , <http://www.reportinghub.no/ep/mpr/spin/1.1/lib> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
......
......@@ -20,6 +20,80 @@
<http://www.epim.no/schemas/mprml/1#A_Global-Objects>
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 20007c Set the geographic context - state"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "state"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/geography#locatedWithin> ;
sp:subject
[ sp:varName "locationOfProductionFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/geography#State> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "state"^^xsd:string
]
] [ sp:object
[ sp:varName "stateName"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject
[ sp:varName "state"^^xsd:string
]
]) ;
sp:where ([ sp:object
[ sp:varName "productVolumeRef"^^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_productVolume> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productVolumeRef"^^xsd:string
]
] [ sp:object
[ sp:varName "geographicContextRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#geographicContextRef> ;
sp:subject
[ sp:varName "productVolumeRef"^^xsd:string
]
] [ sp:object
[ sp:varName "stateName"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#state> ;
sp:subject
[ sp:varName "geographicContextRef"^^xsd:string
]
] [ sp:object
[ sp:varName "geographicContextRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "locationOfProductionFacility"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [ sp:varName "stateName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "normalizedStateName"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildStateURI ;
sp:arg1 [ sp:varName "normalizedStateName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "state"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 20002a Record the end date-time"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "dTimStart"^^xsd:string
......@@ -176,95 +250,6 @@
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 20005a Set the facility operator- installation or context facility exist
role is ignored, because it is implicitly \"operator\""""^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "operator"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/facility#facilityOperator> ;
sp:subject
[ sp:varName "productionFacility"^^xsd:string
]
]) ;
sp:where ([ sp:object
[ sp:varName "productVolumeRef"^^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_productVolume> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productVolumeRef"^^xsd:string
]
] [ sp:object
[ sp:varName "operatorRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#operatorRef> ;
sp:subject
[ sp:varName "productVolumeRef"^^xsd:string
]
] [ sp:object
[ sp:varName "operatorName"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#name> ;
sp:subject
[ sp:varName "operatorRef"^^xsd:string
]
] [ sp:object
[ sp:varName "productVolumeRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "productionFlow"^^xsd:string
]
] [ sp:object
[ sp:varName "productionFlowToDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "productionFlow"^^xsd:string
]
] [ sp:object
[ sp:varName "productionFlowToDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ;
sp:subject
[ sp:varName "productionFacilityToDate"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionFacilityToDate"^^xsd:string
]
] [ sp:object
[ sp:varName "productionFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "productionFacilityToDate"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [ sp:varName "operatorName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "normalizedOperatorName"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type rhspin:companyById ;
arg:id [ sp:varName "normalizedOperatorName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "operator"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 20008 Set the geographic context - offshore location"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/geography#OffshoreLocation> ;
sp:predicate rdf:type ;
......@@ -392,26 +377,32 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ;
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 20004a Set the context facility - installation exists"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ;
rdfs:comment "STEP 20003 Set the installation"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionContextFacility"^^xsd:string
]
sp:subject _:b1
] [ sp:object
[ sp:varName "productionContextFacilityType"^^xsd:string
[ sp:varName "productionFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b1
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionContextFacility"^^xsd:string
[ sp:varName "productionFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "productionFacility"^^xsd:string
[ sp:varName "productionFacilityType"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionContextFacility"^^xsd:string
[ sp:varName "productionFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "productionFlowToDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ;
sp:subject _:b1
]) ;
sp:where ([ sp:object
[ sp:varName "productVolumeRef"^^xsd:string
......@@ -424,26 +415,26 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ;
[ sp:varName "productVolumeRef"^^xsd:string
]
] [ sp:object
[ sp:varName "contextFacilityRef"^^xsd:string
[ sp:varName "installationRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#contextFacilityRef> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ;
sp:subject
[ sp:varName "productVolumeRef"^^xsd:string
]
] [ sp:object
[ sp:varName "contextFacilityName"^^xsd:string
[ sp:varName "installationName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "contextFacilityRef"^^xsd:string
[ sp:varName "installationRef"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "contextFacilityKind"^^xsd:string
[ sp:varName "installationKind"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject
[ sp:varName "contextFacilityRef"^^xsd:string
[ sp:varName "installationRef"^^xsd:string
]
])
] [ sp:object
......@@ -460,146 +451,63 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ;
sp:subject
[ sp:varName "productionFlow"^^xsd:string
]
] [ sp:object
[ sp:varName "productionFlowToDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ;
sp:subject
[ sp:varName "productionFacilityToDate"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionFacilityToDate"^^xsd:string
]
] [ sp:object
[ sp:varName "productionFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "productionFacilityToDate"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [ sp:varName "contextFacilityName"^^xsd:string
sp:arg1 [ sp:varName "installationName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "normalizedContextFacilityName"^^xsd:string
[ sp:varName "normalizedInstallationName"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildProductionFacilityURI ;
sp:arg1 [ sp:varName "normalizedContextFacilityName"^^xsd:string
sp:arg1 [ sp:varName "normalizedInstallationName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "productionContextFacility"^^xsd:string
[ sp:varName "productionFacility"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:selectProductionFacilityType ;
sp:arg1 [ sp:varName "contextFacilityKind"^^xsd:string
sp:arg1 [ sp:varName "installationKind"^^xsd:string
]
] ;
sp:variable
[ sp:varName "productionContextFacilityType"^^xsd:string
[ sp:varName "productionFacilityType"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 20007a Set the geographic context - field"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "field"^^xsd:string
rdfs:comment "STEP 20006b Set the geographic context - need a PartOfTheSurfaceOfTheEarth if any geographicContext - productionFacility not already defined"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ;
sp:predicate rdf:type ;
sp:subject _:b2
] [ sp:object _:b3 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b2
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ;
sp:predicate rdf:type ;
sp:subject _:b3
] [ sp:object
[ sp:varName "productionFlowToDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ;
sp:subject _:b2
] [ sp:object _:b4 ;
sp:predicate <http://www.reportinghub.no/ep/schema/geography#locatedWithin> ;
sp:subject
[ sp:varName "locationOfProductionFacility"^^xsd:string
]
]) ;
sp:where ([ sp:object
[ sp:varName "productVolumeRef"^^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_productVolume> ;
sp:subject _:b3
] [ sp:object <http://www.reportinghub.no/ep/schema/geography#PartOfTheSurfaceOfTheEarth> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productVolumeRef"^^xsd:string
]
] [ sp:object
[ sp:varName "geographicContextRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#geographicContextRef> ;
sp:subject
[ sp:varName "productVolumeRef"^^xsd:string
]
] [ sp:object
[ sp:varName "fieldRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#fieldRef> ;
sp:subject
[ sp:varName "geographicContextRef"^^xsd:string
]
] [ sp:object
[ sp:varName "fieldName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "fieldRef"^^xsd:string
]
sp:subject _:b4
] [ sp:object
[ sp:varName "geographicContextRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "locationOfProductionFacility"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [ sp:varName "fieldName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "normalizedFieldName"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildProductionFacilityURI ;
sp:arg1 [ sp:varName "normalizedFieldName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "field"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 20005b Set the facility operator- installation or context facility do not exist
role is ignored, because it is implicitly \"operator\""""^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object _:b2 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b1
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ;
sp:predicate rdf:type ;
sp:subject _:b2
] [ sp:object
[ sp:varName "productionFlowToDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ;
sp:subject _:b1
] [ sp:object
[ sp:varName "operator"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/facility#facilityOperator> ;
sp:subject _:b2
sp:subject _:b4
]) ;
sp:where ([ sp:object
[ sp:varName "productVolumeRef"^^xsd:string
......@@ -612,19 +520,21 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ;
[ sp:varName "productVolumeRef"^^xsd:string
]
] [ sp:object
[ sp:varName "operatorRef"^^xsd:string
[ sp:varName "geographicContextRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#operatorRef> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#geographicContextRef> ;
sp:subject
[ sp:varName "productVolumeRef"^^xsd:string
]
] [ sp:object
[ sp:varName "operatorName"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#name> ;
sp:subject
[ sp:varName "operatorRef"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "comment"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#comment> ;
sp:subject
[ sp:varName "geographicContextRef"^^xsd:string
]
])
] [ sp:object
[ sp:varName "productVolumeRef"^^xsd:string
] ;
......@@ -660,93 +570,6 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ;
[ sp:varName "productionFacilityToDate"^^xsd:string
]
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [ sp:varName "operatorName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "normalizedOperatorName"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type rhspin:companyById ;
arg:id [ sp:varName "normalizedOperatorName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "operator"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 20009 Set the geographic context - offshore location - blockId"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "block"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/geography#locatedWithin> ;
sp:subject
[ sp:varName "locationOfProductionFacility"^^xsd:string
]
]) ;
sp:where ([ sp:object
[ sp:varName "productVolumeRef"^^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_productVolume> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productVolumeRef"^^xsd:string
]
] [ sp:object
[ sp:varName "geographicContextRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#geographicContextRef> ;
sp:subject
[ sp:varName "productVolumeRef"^^xsd:string
]
] [ sp:object
[ sp:varName "offshoreLocationRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#offshoreLocationRef> ;
sp:subject
[ sp:varName "geographicContextRef"^^xsd:string
]
] [ sp:object
[ sp:varName "blockId"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#blockID> ;
sp:subject
[ sp:varName "offshoreLocationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "geographicContextRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "locationOfProductionFacility"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [ sp:varName "blockId"^^xsd:string
]
] ;
sp:variable
[ sp:varName "normalizedBlockId"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildBlockURI ;
sp:arg1 [ sp:varName "normalizedBlockId"^^xsd:string
]
] ;
sp:variable
[ sp:varName "block"^^xsd:string
]
])
] ;
spin:rule
......@@ -816,24 +639,12 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ;
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 20006b Set the geographic context - need a PartOfTheSurfaceOfTheEarth if any geographicContext - productionFacility not already defined"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ;
sp:predicate rdf:type ;
sp:subject _:b3
] [ sp:object _:b4 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b3
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ;
sp:predicate rdf:type ;
sp:subject _:b4
] [ sp:object
[ sp:varName "productionFlowToDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ;
sp:subject _:b3
] [ sp:object _:b5 ;
sp:predicate <http://www.reportinghub.no/ep/schema/geography#locatedWithin> ;
sp:subject _:b4
rdfs:comment "STEP 20006a Set the geographic context - need a PartOfTheSurfaceOfTheEarth if any geographicContext - productionFacility already defined"^^xsd:string ;
sp:templates ([ sp:object _:b5 ;
sp:predicate <http://www.reportinghub.no/ep/schema/geography#nominallyLocatedAt> ;
sp:subject
[ sp:varName "productionFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/geography#PartOfTheSurfaceOfTheEarth> ;
sp:predicate rdf:type ;
sp:subject _:b5
......@@ -842,6 +653,11 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ;
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject _:b5
] [ sp:object
[ sp:varName "comment"^^xsd:string
] ;
sp:predicate rdfs:comment ;
sp:subject _:b5
]) ;
sp:where ([ sp:object
[ sp:varName "productVolumeRef"^^xsd:string
......@@ -883,131 +699,38 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ;
sp:subject
[ sp:varName "productionFlow"^^xsd:string
]
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "productionFlowToDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ;
sp:subject
[ sp:varName "productionFacilityToDate"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionFacilityToDate"^^xsd:string
]
] [ sp:object
[ sp:varName "productionFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "productionFacilityToDate"^^xsd:string
]
])
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 20007c Set the geographic context - state"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "state"^^xsd:string
] [ sp:object
[ sp:varName "productionFlowToDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/geography#locatedWithin> ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ;
sp:subject
[ sp:varName "locationOfProductionFacility"^^xsd:string
[ sp:varName "productionFacilityToDate"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/geography#State> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "state"^^xsd:string
[ sp:varName "productionFacilityToDate"^^xsd:string
]
] [ sp:object
[ sp:varName "stateName"^^xsd:string
[ sp:varName "productionFacility"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "state"^^xsd:string
]
]) ;
sp:where ([ sp:object
[ sp:varName "productVolumeRef"^^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_productVolume> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productVolumeRef"^^xsd:string
]
] [ sp:object
[ sp:varName "geographicContextRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#geographicContextRef> ;
sp:subject
[ sp:varName "productVolumeRef"^^xsd:string
]
] [ sp:object
[ sp:varName "stateName"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#state> ;
sp:subject
[ sp:varName "geographicContextRef"^^xsd:string
]
] [ sp:object
[ sp:varName "geographicContextRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "locationOfProductionFacility"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [ sp:varName "stateName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "normalizedStateName"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildStateURI ;
sp:arg1 [ sp:varName "normalizedStateName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "state"^^xsd:string
[ sp:varName "productionFacilityToDate"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 20003 Set the installation"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ;
sp:predicate rdf:type ;
sp:subject _:b6
] [ sp:object
[ sp:varName "productionFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b6
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "productionFacilityType"^^xsd:string
rdfs:comment """STEP 20005a Set the facility operator- installation or context facility exist
role is ignored, because it is implicitly \"operator\""""^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "operator"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:predicate <http://www.reportinghub.no/ep/schema/facility#facilityOperator> ;
sp:subject
[ sp:varName "productionFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "productionFlowToDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ;
sp:subject _:b6
]) ;
sp:where ([ sp:object
[ sp:varName "productVolumeRef"^^xsd:string
......@@ -1020,28 +743,19 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ;
[ sp:varName "productVolumeRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationRef"^^xsd:string
[ sp:varName "operatorRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#operatorRef> ;
sp:subject
[ sp:varName "productVolumeRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationName"^^xsd:string
[ sp:varName "operatorName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#name> ;
sp:subject
[ sp:varName "installationRef"^^xsd:string
[ sp:varName "operatorRef"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "installationKind"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject
[ sp:varName "installationRef"^^xsd:string
]
])
] [ sp:object
[ sp:varName "productVolumeRef"^^xsd:string
] ;
......@@ -1056,32 +770,42 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ;
sp:subject
[ sp:varName "productionFlow"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [ sp:varName "installationName"^^xsd:string
]
] [ sp:object
[ sp:varName "productionFlowToDate"^^xsd:string
] ;
sp:variable
[ sp:varName "normalizedInstallationName"^^xsd:string
sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ;
sp:subject
[ sp:varName "productionFacilityToDate"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionFacilityToDate"^^xsd:string
]
] [ sp:object
[ sp:varName "productionFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "productionFacilityToDate"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildProductionFacilityURI ;
sp:arg1 [ sp:varName "normalizedInstallationName"^^xsd:string
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [ sp:varName "operatorName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "productionFacility"^^xsd:string
[ sp:varName "normalizedOperatorName"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:selectProductionFacilityType ;
sp:arg1 [ sp:varName "installationKind"^^xsd:string
[ rdf:type rhspin:companyById ;
arg:id [ sp:varName "normalizedOperatorName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "productionFacilityType"^^xsd:string
[ sp:varName "operator"^^xsd:string
]
])
] ;
......@@ -1090,18 +814,18 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ;
rdfs:comment "STEP 20004b Set the context facility - installation does not exist"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ;
sp:predicate rdf:type ;
sp:subject _:b7
] [ sp:object _:b8 ;
sp:subject _:b6
] [ sp:object _:b7 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b7
sp:subject _:b6
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ;
sp:predicate rdf:type ;
sp:subject _:b8
sp:subject _:b7
] [ sp:object
[ sp:varName "productionFlowToDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ;
sp:subject _:b7
sp:subject _:b6
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ;
sp:predicate rdf:type ;
sp:subject
......@@ -1114,7 +838,7 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ;
sp:subject
[ sp:varName "productionContextFacility"^^xsd:string
]
] [ sp:object _:b8 ;
] [ sp:object _:b7 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
sp:subject
[ sp:varName "productionContextFacility"^^xsd:string
......@@ -1219,25 +943,14 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ;
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 20006a Set the geographic context - need a PartOfTheSurfaceOfTheEarth if any geographicContext - productionFacility already defined"^^xsd:string ;
sp:templates ([ sp:object _:b9 ;
sp:predicate <http://www.reportinghub.no/ep/schema/geography#nominallyLocatedAt> ;
rdfs:comment "STEP 20009 Set the geographic context - offshore location - blockId"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "block"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/geography#locatedWithin> ;
sp:subject
[ sp:varName "productionFacility"^^xsd:string
[ sp:varName "locationOfProductionFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/geography#PartOfTheSurfaceOfTheEarth> ;
sp:predicate rdf:type ;
sp:subject _:b9
] [ sp:object
[ sp:varName "geographicContextRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject _:b9
] [ sp:object
[ sp:varName "comment"^^xsd:string
] ;
sp:predicate rdfs:comment ;
sp:subject _:b9
]) ;
sp:where ([ sp:object
[ sp:varName "productVolumeRef"^^xsd:string
......@@ -1256,47 +969,44 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ;
sp:subject
[ sp:varName "productVolumeRef"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "comment"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#comment> ;
sp:subject
[ sp:varName "geographicContextRef"^^xsd:string
]
])
] [ sp:object
[ sp:varName "productVolumeRef"^^xsd:string
[ sp:varName "offshoreLocationRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#offshoreLocationRef> ;
sp:subject
[ sp:varName "productionFlow"^^xsd:string
[ sp:varName "geographicContextRef"^^xsd:string
]
] [ sp:object
[ sp:varName "productionFlowToDate"^^xsd:string
[ sp:varName "blockId"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#blockID> ;
sp:subject
[ sp:varName "productionFlow"^^xsd:string
[ sp:varName "offshoreLocationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "productionFlowToDate"^^xsd:string
[ sp:varName "geographicContextRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "productionFacilityToDate"^^xsd:string
[ sp:varName "locationOfProductionFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionFacilityToDate"^^xsd:string
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [ sp:varName "blockId"^^xsd:string
]
] ;
sp:variable
[ sp:varName "normalizedBlockId"^^xsd:string
]
] [ sp:object
[ sp:varName "productionFacility"^^xsd:string
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildBlockURI ;
sp:arg1 [ sp:varName "normalizedBlockId"^^xsd:string
]
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "productionFacilityToDate"^^xsd:string
sp:variable
[ sp:varName "block"^^xsd:string
]
])
] ;
......@@ -1305,44 +1015,44 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ;
rdfs:comment "STEP 20001a Create the ProductVolumeReport, the DailyProductionFlow and the ProductionFlowToDate ."^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-report#ProductVolumeReport> ;
sp:predicate rdf:type ;
sp:subject _:b10
sp:subject _:b8
] [ sp:object
[ sp:varName "productionReport"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject _:b10
sp:subject _:b8
] [ sp:object
[ sp:varName "name"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject _:b10
sp:subject _:b8
] [ sp:object
[ sp:varName "productVolumeReportPeriodType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject _:b10
] [ sp:object _:b11 ;
sp:subject _:b8
] [ sp:object _:b9 ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
sp:subject _:b10
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlow> ;
sp:subject _:b8
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#TemporalPartOfAProductionFlow> ;
sp:predicate rdf:type ;
sp:subject _:b11
sp:subject _:b9
] [ sp:object
[ sp:varName "productVolumeRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject _:b11
] [ sp:object _:b12 ;
sp:subject _:b9
] [ sp:object _:b10 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b11
sp:subject _:b9
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowToDate> ;
sp:predicate rdf:type ;
sp:subject _:b12
sp:subject _:b10
] [ sp:object
[ sp:varName "title"^^xsd:string
] ;
sp:predicate <http://purl.org/dc/elements/1.1/title> ;
sp:subject _:b10
sp:subject _:b8
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
......@@ -1411,6 +1121,296 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ;
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 20005b Set the facility operator- installation or context facility do not exist
role is ignored, because it is implicitly \"operator\""""^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ;
sp:predicate rdf:type ;
sp:subject _:b11
] [ sp:object _:b12 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b11
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ;
sp:predicate rdf:type ;
sp:subject _:b12
] [ sp:object
[ sp:varName "productionFlowToDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ;
sp:subject _:b11
] [ sp:object
[ sp:varName "operator"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/facility#facilityOperator> ;
sp:subject _:b12
]) ;
sp:where ([ sp:object
[ sp:varName "productVolumeRef"^^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_productVolume> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productVolumeRef"^^xsd:string
]
] [ sp:object
[ sp:varName "operatorRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#operatorRef> ;
sp:subject
[ sp:varName "productVolumeRef"^^xsd:string
]
] [ sp:object
[ sp:varName "operatorName"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#name> ;
sp:subject
[ sp:varName "operatorRef"^^xsd:string
]
] [ sp:object
[ sp:varName "productVolumeRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "productionFlow"^^xsd:string
]
] [ sp:object
[ sp:varName "productionFlowToDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "productionFlow"^^xsd:string
]
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "productionFlowToDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ;
sp:subject
[ sp:varName "productionFacilityToDate"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionFacilityToDate"^^xsd:string
]
] [ sp:object
[ sp:varName "productionFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "productionFacilityToDate"^^xsd:string
]
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [ sp:varName "operatorName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "normalizedOperatorName"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type rhspin:companyById ;
arg:id [ sp:varName "normalizedOperatorName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "operator"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 20007a Set the geographic context - field"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "field"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/geography#locatedWithin> ;
sp:subject
[ sp:varName "locationOfProductionFacility"^^xsd:string
]
]) ;
sp:where ([ sp:object
[ sp:varName "productVolumeRef"^^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_productVolume> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productVolumeRef"^^xsd:string
]
] [ sp:object
[ sp:varName "geographicContextRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#geographicContextRef> ;
sp:subject
[ sp:varName "productVolumeRef"^^xsd:string
]
] [ sp:object
[ sp:varName "fieldRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#fieldRef> ;
sp:subject
[ sp:varName "geographicContextRef"^^xsd:string
]
] [ sp:object
[ sp:varName "fieldName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "fieldRef"^^xsd:string
]
] [ sp:object
[ sp:varName "geographicContextRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "locationOfProductionFacility"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [ sp:varName "fieldName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "normalizedFieldName"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildProductionFacilityURI ;
sp:arg1 [ sp:varName "normalizedFieldName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "field"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 20004a Set the context facility - installation exists"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionContextFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "productionContextFacilityType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionContextFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "productionFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
sp:subject
[ sp:varName "productionContextFacility"^^xsd:string
]
]) ;
sp:where ([ sp:object
[ sp:varName "productVolumeRef"^^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_productVolume> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productVolumeRef"^^xsd:string
]
] [ sp:object
[ sp:varName "contextFacilityRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#contextFacilityRef> ;
sp:subject
[ sp:varName "productVolumeRef"^^xsd:string
]
] [ sp:object
[ sp:varName "contextFacilityName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "contextFacilityRef"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "contextFacilityKind"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject
[ sp:varName "contextFacilityRef"^^xsd:string
]
])
] [ sp:object
[ sp:varName "productVolumeRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "productionFlow"^^xsd:string
]
] [ sp:object
[ sp:varName "productionFlowToDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "productionFlow"^^xsd:string
]
] [ sp:object
[ sp:varName "productionFlowToDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ;
sp:subject
[ sp:varName "productionFacilityToDate"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionFacilityToDate"^^xsd:string
]
] [ sp:object
[ sp:varName "productionFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "productionFacilityToDate"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [ sp:varName "contextFacilityName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "normalizedContextFacilityName"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildProductionFacilityURI ;
sp:arg1 [ sp:varName "normalizedContextFacilityName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "productionContextFacility"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:selectProductionFacilityType ;
sp:arg1 [ sp:varName "contextFacilityKind"^^xsd:string
]
] ;
sp:variable
[ sp:varName "productionContextFacilityType"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 20007b Set the geographic context - country"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "country"^^xsd:string
......@@ -1486,5 +1486,5 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ;
<http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeReport-v1.0>
rdf:type owl:Ontology ;
owl:imports <http://www.epim.no/schemas/mprml/1> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> ;
owl:imports <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> , <http://spinrdf.org/spin> , <http://www.epim.no/schemas/mprml/1> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
......