David Leal

Merge branch 'MPR_04-02'

......@@ -19,16 +19,16 @@
<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> , <http://www.reportinghub.no/ep/schema/1.0/material> , <http://www.reportinghub.no/ep/schema/1.0/production-core> , <http://www.reportinghub.no/ep/schema/1.0/production-activity> ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/production-activity> , <http://www.reportinghub.no/ep/schema/1.0/production-core> , <http://www.reportinghub.no/ep/schema/1.0/material> , <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:WholeLifeFlow .
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:WholeLifeFlow .
......@@ -38,82 +38,82 @@ ep-flow:ClassOfMaterialWithMassCriterion
rdfs:subClassOf owl:Class .
ep-flow:Condensate-grossFlow
rdf:type ep-flow:ProductMaterialType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductMaterialType ;
rdfs:label "condensate - gross flow"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeFlow .
ep-flow:Condensate-netFlow
rdf:type ep-flow:ProductMaterialType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductMaterialType ;
rdfs:label "condensate - net flow"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeFlow .
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:WholeLifeFlow .
ep-flow:ConstraintFlow-fixed
rdf:type ep-flow:ProductionFlowDefinitionSubType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionSubType ;
rdfs:label "constraint flow - fixed"^^xsd:string ;
rdfs:subClassOf ep-flow:ConstraintFlow .
ep-flow:ConstraintFlow-maximum
rdf:type ep-flow:ProductionFlowDefinitionSubType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionSubType ;
rdfs:label "constraint flow - maximum"^^xsd:string ;
rdfs:subClassOf ep-flow:ConstraintFlow .
ep-flow:ConstraintFlow-minimum
rdf:type ep-flow:ProductionFlowDefinitionSubType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionSubType ;
rdfs:label "constraint flow - minimum"^^xsd:string ;
rdfs:subClassOf ep-flow:ConstraintFlow .
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:WholeLifeFlow .
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 .
......@@ -123,17 +123,17 @@ ep-flow:DailyProductionFlow
rdfs:subClassOf ep-flow:ProductionFlow .
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:WholeLifeFlow .
ep-flow:DerivedFlow-difference
rdf:type ep-flow:ProductionFlowDefinitionSubType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionSubType ;
rdfs:label "derived flow - difference"^^xsd:string ;
rdfs:subClassOf ep-flow:DerivedFlow .
ep-flow:DifferenceFlow
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
rdfs:label "difference flow"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeFlow .
......@@ -143,27 +143,27 @@ ep-flow:ElectricPowerFlow
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:WholeLifeFlow .
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:WholeLifeFlow .
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 .
......@@ -173,42 +173,42 @@ ep-flow:Flow
rdfs:subClassOf ep-core:PhysicalThing .
ep-flow:FlowAtInstant
rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ;
rdf:type owl:Class , ep-flow:TemporalPartOfAFlowDurationType ;
rdfs:label "flow at instant"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
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:FlowDuringPeriod .
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:FlowDuringPeriod .
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:FlowDuringPeriod .
ep-flow:FlowDuringPeriod
rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ;
rdf:type owl:Class , ep-flow:TemporalPartOfAFlowDurationType ;
rdfs:label "flow during period"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
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:FlowDuringPeriod .
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:FlowDuringPeriod .
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:FlowDuringPeriod .
......@@ -218,122 +218,122 @@ ep-flow:FlowOfLiquid
rdfs:subClassOf ep-core:PhysicalThing .
ep-flow:ForecastFlow
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
rdfs:label "forecast flow"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeFlow .
ep-flow:ForecastFlow-declineCurve
rdf:type ep-flow:ProductionFlowDefinitionSubType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionSubType ;
rdfs:label "forecast flow - decline curve"^^xsd:string ;
rdfs:subClassOf ep-flow:ForecastFlow .
ep-flow:ForecastFlow-standard
rdf:type ep-flow:ProductionFlowDefinitionSubType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionSubType ;
rdfs:label "forecast flow - standard"^^xsd:string ;
rdfs:subClassOf ep-flow:ForecastFlow .
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:WholeLifeFlow .
ep-flow:GrossProductFlow
rdf:type ep-flow:ProductFlowGrossOrNetType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductFlowGrossOrNetType ;
rdfs:label "gross product flow"^^xsd:string ;
rdfs:subClassOf ep-flow:ProductFlow .
ep-flow:HydrocarbonAccounting
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdfs:label "hydrocarbon accounting"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeFlow .
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:WholeLifeFlow .
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:WholeLifeFlow .
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:WholeLifeFlow .
rdfs:subClassOf ep-core:PhysicalObject .
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:WholeLifeFlow .
ep-flow:MeasuredFlow-fiscal
rdf:type ep-flow:ProductionFlowDefinitionSubType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionSubType ;
rdfs:label "measured flow - fiscal"^^xsd:string ;
rdfs:subClassOf ep-flow:MeasuredFlow .
ep-flow:MeasuredFlow-raw
rdf:type ep-flow:ProductionFlowDefinitionSubType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionSubType ;
rdfs:label "measured flow - raw"^^xsd:string ;
rdfs:subClassOf ep-flow:MeasuredFlow .
ep-flow:MeasuredFlow-recalibrated
rdf:type ep-flow:ProductionFlowDefinitionSubType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionSubType ;
rdfs:label "measured flow - recalibrated"^^xsd:string ;
rdfs:subClassOf ep-flow:MeasuredFlow .
ep-flow:NetProductFlow
rdf:type ep-flow:ProductFlowGrossOrNetType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductFlowGrossOrNetType ;
rdfs:label "net product flow"^^xsd:string ;
rdfs:subClassOf ep-flow:ProductFlow .
ep-flow:NominatedFlow
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
rdfs:label "nominated flow"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeFlow .
ep-flow:ObjectThatLastsOneDay
rdf:type owl:Class , ep-flow:TemporalPartDurationType ;
rdf:type ep-flow:TemporalPartDurationType , owl:Class ;
rdfs:label "object that lasts one day"^^xsd:string ;
rdfs:subClassOf ep-core:PhysicalObject .
ep-flow:ObjectThatLastsOneMonth
rdf:type owl:Class , ep-flow:TemporalPartDurationType ;
rdf:type ep-flow:TemporalPartDurationType , owl:Class ;
rdfs:label "object that lasts one month"^^xsd:string ;
rdfs:subClassOf ep-core:PhysicalObject .
ep-flow:ObjectThatLastsOneWeek
rdf:type owl:Class , ep-flow:TemporalPartDurationType ;
rdf:type ep-flow:TemporalPartDurationType , owl:Class ;
rdfs:label "object that lasts one week"^^xsd:string ;
rdfs:subClassOf ep-core:PhysicalObject .
ep-flow:ObjectThatLastsOneYear
rdf:type owl:Class , ep-flow:TemporalPartDurationType ;
rdf:type ep-flow:TemporalPartDurationType , owl:Class ;
rdfs:label "object that lasts one year"^^xsd:string ;
rdfs:subClassOf ep-core:PhysicalObject .
ep-flow:Oil-grossFlow
rdf:type ep-flow:ProductMaterialType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductMaterialType ;
rdfs:label "oil - gross flow"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeFlow .
ep-flow:Oil-netFlow
rdf:type ep-flow:ProductMaterialType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductMaterialType ;
rdfs:label "oil - net flow"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeFlow .
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:WholeLifeFlow .
ep-flow:PotentialFlow
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
rdfs:label "potential flow"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeFlow .
ep-flow:ProcessedFlow
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
rdfs:label "processed flow"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeFlow .
......@@ -355,30 +355,30 @@ ep-flow:ProductFlowToDate
ep-flow:ProductInventory
rdf:type owl:Class ;
rdfs:label "(temporal part of a) product inventory"^^xsd:string ;
rdfs:subClassOf ep-material:QuantityOfMaterial .
rdfs:subClassOf ep-flow:Inventory .
ep-flow:ProductInventoryAdjustedClosingBalance
rdf:type owl:Class , ep-flow:ProductInventoryType ;
rdf:type ep-flow:ProductInventoryType , owl:Class ;
rdfs:label "product inventory adjusted closing balance"^^xsd:string ;
rdfs:subClassOf ep-flow:ProductInventory .
ep-flow:ProductInventoryClosingBalance
rdf:type owl:Class , ep-flow:ProductInventoryType ;
rdf:type ep-flow:ProductInventoryType , owl:Class ;
rdfs:label "product inventory closing balance"^^xsd:string ;
rdfs:subClassOf ep-flow:ProductInventory .
ep-flow:ProductInventoryClosingStorageBalance
rdf:type owl:Class , ep-flow:ProductInventoryType ;
rdf:type ep-flow:ProductInventoryType , owl:Class ;
rdfs:label "product inventory closing storage balance"^^xsd:string ;
rdfs:subClassOf ep-flow:ProductInventory .
ep-flow:ProductInventoryOpFlex
rdf:type owl:Class , ep-flow:ProductInventoryType ;
rdf:type ep-flow:ProductInventoryType , owl:Class ;
rdfs:label "product inventory opFlex"^^xsd:string ;
rdfs:subClassOf ep-flow:ProductInventory .
ep-flow:ProductInventoryOpeningBalance
rdf:type owl:Class , ep-flow:ProductInventoryType ;
rdf:type ep-flow:ProductInventoryType , owl:Class ;
rdfs:label "product inventory opening balance"^^xsd:string ;
rdfs:subClassOf ep-flow:ProductInventory .
......@@ -393,7 +393,7 @@ ep-flow:ProductMaterialType
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:WholeLifeFlow .
......@@ -425,40 +425,40 @@ ep-flow:ProductionFlowToDate
ep-flow:ProductionInventory
rdf:type owl:Class ;
rdfs:label "(temporal part of a) production inventory"^^xsd:string ;
rdfs:subClassOf ep-material:QuantityOfMaterial .
rdfs:subClassOf ep-flow:Inventory .
ep-flow:ProductionInventoryAllocatedMaterial
rdf:type ep-flow:ProductionInventoryMaterialType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductionInventoryMaterialType ;
rdfs:label "production inventory allocated material"^^xsd:string ;
rdfs:subClassOf ep-flow:ProductionInventory .
ep-flow:ProductionInventoryBudgetMaterial
rdf:type ep-flow:ProductionInventoryMaterialType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductionInventoryMaterialType ;
rdfs:label "production inventory budget material"^^xsd:string ;
rdfs:subClassOf ep-flow:ProductionInventory .
ep-flow:ProductionInventoryConstraintMaterial
rdf:type ep-flow:ProductionInventoryMaterialType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductionInventoryMaterialType ;
rdfs:label "production inventory constraint material"^^xsd:string ;
rdfs:subClassOf ep-flow:ProductionInventory .
ep-flow:ProductionInventoryDerivedMaterial
rdf:type ep-flow:ProductionInventoryMaterialType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductionInventoryMaterialType ;
rdfs:label "production inventory derived material"^^xsd:string ;
rdfs:subClassOf ep-flow:ProductionInventory .
ep-flow:ProductionInventoryDifferenceMaterial
rdf:type owl:Class , ep-flow:ProductionInventoryMaterialType ;
rdf:type ep-flow:ProductionInventoryMaterialType , owl:Class ;
rdfs:label "production inventory difference material"^^xsd:string ;
rdfs:subClassOf ep-flow:ProductionInventory .
ep-flow:ProductionInventoryEstimatedMaterial
rdf:type ep-flow:ProductionInventoryMaterialType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductionInventoryMaterialType ;
rdfs:label "production inventory estimated material"^^xsd:string ;
rdfs:subClassOf ep-flow:ProductionInventory .
ep-flow:ProductionInventoryForecastMaterial
rdf:type ep-flow:ProductionInventoryMaterialType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductionInventoryMaterialType ;
rdfs:label "production inventory forecast material"^^xsd:string ;
rdfs:subClassOf ep-flow:ProductionInventory .
......@@ -468,47 +468,47 @@ ep-flow:ProductionInventoryMaterialType
rdfs:subClassOf owl:Class .
ep-flow:ProductionInventoryMeasuredMaterial
rdf:type ep-flow:ProductionInventoryMaterialType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductionInventoryMaterialType ;
rdfs:label "production inventory measured material"^^xsd:string ;
rdfs:subClassOf ep-flow:ProductionInventory .
ep-flow:ProductionInventoryNominatedMaterial
rdf:type ep-flow:ProductionInventoryMaterialType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductionInventoryMaterialType ;
rdfs:label "production inventory nominated material"^^xsd:string ;
rdfs:subClassOf ep-flow:ProductionInventory .
ep-flow:ProductionInventoryPotentialMaterial
rdf:type ep-flow:ProductionInventoryMaterialType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductionInventoryMaterialType ;
rdfs:label "production inventory potential material"^^xsd:string ;
rdfs:subClassOf ep-flow:ProductionInventory .
ep-flow:ProductionInventoryProcessedMaterial
rdf:type ep-flow:ProductionInventoryMaterialType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductionInventoryMaterialType ;
rdfs:label "production inventory processed material"^^xsd:string ;
rdfs:subClassOf ep-flow:ProductionInventory .
ep-flow:ProductionInventoryQuotaMaterial
rdf:type ep-flow:ProductionInventoryMaterialType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductionInventoryMaterialType ;
rdfs:label "production inventory quota material"^^xsd:string ;
rdfs:subClassOf ep-flow:ProductionInventory .
ep-flow:ProductionInventoryRecommendedMaterial
rdf:type ep-flow:ProductionInventoryMaterialType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductionInventoryMaterialType ;
rdfs:label "production inventory recommended material"^^xsd:string ;
rdfs:subClassOf ep-flow:ProductionInventory .
ep-flow:ProductionInventorySaleableMaterial
rdf:type ep-flow:ProductionInventoryMaterialType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductionInventoryMaterialType ;
rdfs:label "production inventory saleable material"^^xsd:string ;
rdfs:subClassOf ep-flow:ProductionInventory .
ep-flow:ProductionInventorySimulatedMaterial
rdf:type ep-flow:ProductionInventoryMaterialType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductionInventoryMaterialType ;
rdfs:label "production inventory simulated material"^^xsd:string ;
rdfs:subClassOf ep-flow:ProductionInventory .
ep-flow:ProductionInventoryTargetMaterial
rdf:type ep-flow:ProductionInventoryMaterialType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductionInventoryMaterialType ;
rdfs:label "production inventory target material"^^xsd:string ;
rdfs:subClassOf ep-flow:ProductionInventory .
......@@ -538,22 +538,22 @@ ep-flow:ProductionTestWellHeadFlow
rdfs:subClassOf ep-flow:WholeLifeFlow .
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:WholeLifeFlow .
ep-flow:RecommendedFlow
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
rdfs:label "recommended flow"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeFlow .
ep-flow:Sale
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdfs:label "sale"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeFlow .
ep-flow:SaleableFlow
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
rdfs:label "saleable flow"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeFlow .
......@@ -562,17 +562,17 @@ ep-flow:SampleOfMaterial
rdfs:subClassOf ep-material:QuantityOfMaterial .
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:WholeLifeFlow .
ep-flow:Storage
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdfs:label "storage"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeFlow .
ep-flow:TargetFlow
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
rdfs:label "target flow"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeFlow .
......@@ -594,7 +594,7 @@ ep-flow:WholeLifeFlow
ep-flow:WholeLifeProductFlow
rdf:type owl:Class ;
rdfs:label "whole life product flow"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeFlow , ep-flow:ProductFlow .
rdfs:subClassOf ep-flow:ProductFlow , ep-flow:WholeLifeFlow .
ep-flow:WholeLifeProductInventory
rdf:type owl:Class ;
......@@ -604,7 +604,7 @@ ep-flow:WholeLifeProductInventory
ep-flow:WholeLifeProductionFlow
rdf:type owl:Class ;
rdfs:label "whole life production flow"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeFlow , ep-flow:ProductionFlow .
rdfs:subClassOf ep-flow:ProductionFlow , ep-flow:WholeLifeFlow .
ep-flow:WholeLifeProductionInventory
rdf:type owl:Class ;
......@@ -612,13 +612,13 @@ ep-flow:WholeLifeProductionInventory
rdfs:subClassOf ep-flow:ProductionInventory .
ep-flow:dailyAverageAmountOfMaterial
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:domain ep-flow:Flow ;
rdfs:label "daily average amount of material"^^xsd:string ;
rdfs:range ep-flow:ClassOfMaterialWithMassCriterion .
ep-flow:energyContent
rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:domain ep-material:QuantityOfMaterial ;
rdfs:label "energy content"^^xsd:string ;
rdfs:range ep-core:Work .
......@@ -650,7 +650,7 @@ ep-flow:flowOutOf
rdfs:subPropertyOf ep-flow:flowIntoOrOutOf .
ep-flow:grossCalorificValue
rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:domain ep-material:QuantityOfMaterial ;
rdfs:label "gross calorific value"^^xsd:string ;
rdfs:range ep-core:EnergyPerVolume .
......@@ -669,24 +669,30 @@ ep-flow:hasNetworkPart
rdfs:range ep-flow:WholeLifeFlow ;
rdfs:subPropertyOf ep-core:hasPart .
ep-flow:materialThatFlows
ep-flow:materialInInventory
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:domain ep-flow:Inventory ;
rdfs:label "material in inventory"^^xsd:string ;
rdfs:range ep-material:QuantityOfMaterial .
ep-flow:materialThatFlows
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:domain ep-flow:Flow ;
rdfs:label "material that flows"^^xsd:string ;
rdfs:range ep-material:QuantityOfMaterial .
ep-flow:rateOfFlowOfMaterial
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:label "rate of flow of material"^^xsd:string ;
rdfs:range ep-core:MeasureOfAmountOfMaterial .
ep-flow:totalVolumeOfMaterial-deprecated
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:label "total volume of material"^^xsd:string ;
rdfs:range ep-core:MeasureOfAmountOfMaterial .
ep-flow:yearlyAverageAmountOfMaterial
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:domain ep-flow:Flow ;
rdfs:label "yearly average amount of material"^^xsd:string ;
rdfs:range ep-flow:ClassOfMaterialWithMassCriterion .
......@@ -797,7 +803,7 @@ ep-material:Gas-wet
rdf:type ep-flow:ProductMaterialType .
ep-material:HeliumGas
rdf:type owl:Class , ep-flow:ProductMaterialType .
rdf:type ep-flow:ProductMaterialType , owl:Class .
ep-material:Heptane
rdf:type ep-flow:ProductMaterialType .
......@@ -875,14 +881,14 @@ ep-material:Oleic
rdf:type ep-flow:ProductMaterialType .
ep-material:Pentane
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_pentane> .
ep-material:PetroleumGasLiquid
rdf:type ep-flow:ProductMaterialType .
ep-material:Propane
rdf:type ep-flow:ProductMaterialType , ep-well:FluidComponentType , ep-prodact:SubstanceType ;
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType , ep-flow:ProductMaterialType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_propane> .
ep-material:Propane-component
......@@ -910,361 +916,361 @@ ep-material:Water-processed
rdf:type ep-flow:ProductMaterialType .
ep-material:substance-11dmcyPentane
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_11dmcypentane> .
ep-material:substance-124tmBenzene
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_124tmbenzene> .
ep-material:substance-12dmBenzene
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_12dmbenzene> .
ep-material:substance-13dmBenzene
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_13dmbenzene> .
ep-material:substance-14dmBenzene
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_14dmbenzene> .
ep-material:substance-223tmButane
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_223tmbutane> .
ep-material:substance-223tmPentane
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_223tmpentane> .
ep-material:substance-22dmButane
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_22dmbutane> .
ep-material:substance-22dmHexane
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_22dmhexane> .
ep-material:substance-22dmPentane
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_22dmpentane> .
ep-material:substance-22dmPropane
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_22dmpropane> .
ep-material:substance-23dmButane
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_23dmbutane> .
ep-material:substance-23dmPentane
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_23dmpentane> .
ep-material:substance-24dmHexane
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_24dmhexane> .
ep-material:substance-24dmPentane
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_24dmpentane> .
ep-material:substance-25dmHexane
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_25dmhexane> .
ep-material:substance-2mButane
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_2mbutane> .
ep-material:substance-2mHexane
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_2mhexane> .
ep-material:substance-2mPentane
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_2mpentane> .
ep-material:substance-2mPropane
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_2mpropane> .
ep-material:substance-33dmPentane
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_33dmpentane> .
ep-material:substance-3etPentane
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_3etpentane> .
ep-material:substance-3mHexane
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_3mhexane> .
ep-material:substance-3mPentane
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_3mpentane> .
ep-material:substance-Ar
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_Ar> .
ep-material:substance-Benzene
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_benzene> .
ep-material:substance-Butane
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_butane> .
ep-material:substance-C11F
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C11F> .
ep-material:substance-C12F
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C12F> .
ep-material:substance-C13F
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C13F> .
ep-material:substance-C13dmcyPentane
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_c13dmcypentane> .
ep-material:substance-C14F
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C14F> .
ep-material:substance-C15F
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C15F> .
ep-material:substance-C16F
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C16F> .
ep-material:substance-C17F
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C17F> .
ep-material:substance-C18F
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C18F> .
ep-material:substance-C19F
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C19F> .
ep-material:substance-C20F
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C20F> .
ep-material:substance-C21F
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C21F> .
ep-material:substance-C22F
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C22F> .
ep-material:substance-C23F
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C23F> .
ep-material:substance-C24F
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C24F> .
ep-material:substance-C25F
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C25F> .
ep-material:substance-C26F
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C26F> .
ep-material:substance-C27F
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C27F> .
ep-material:substance-C28F
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C28F> .
ep-material:substance-C29F
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C29F> .
ep-material:substance-C30F
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C30F> .
ep-material:substance-C31F
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C31F> .
ep-material:substance-C32F
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C32F> .
ep-material:substance-C33F
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C33F> .
ep-material:substance-C34F
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C34F> .
ep-material:substance-C35F
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C35F> .
ep-material:substance-C36F
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C36F> .
ep-material:substance-C37F
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C37F> .
ep-material:substance-C38F
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C38F> .
ep-material:substance-C39F
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C39F> .
ep-material:substance-C40F
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C40F> .
ep-material:substance-C41F
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C41F> .
ep-material:substance-C42F
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C42F> .
ep-material:substance-C43F
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C43F> .
ep-material:substance-C44F
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C44F> .
ep-material:substance-C45F
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C45F> .
ep-material:substance-C46F
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C46F> .
ep-material:substance-C47F
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C47F> .
ep-material:substance-C48F
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C48F> .
ep-material:substance-C49F
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C49F> .
ep-material:substance-CO2
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_CO2> .
ep-material:substance-Cyclohexane
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_cyclohexane> .
ep-material:substance-Cyclopentane
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_cyclopentane> .
ep-material:substance-Decanes
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_decanes> .
ep-material:substance-EtBenzene
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_etbenzene> .
ep-material:substance-EtcyPentane
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_etcypentane> .
ep-material:substance-Ethane
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_ethane> .
ep-material:substance-H2
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_H2> .
ep-material:substance-H2O
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_H2O> .
ep-material:substance-H2S
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_H2S> .
ep-material:substance-Heptanes
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_heptanes> .
ep-material:substance-Hexane
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_hexane> .
ep-material:substance-Hexanes
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_hexanes> .
ep-material:substance-MBenzene
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_mbenzene> .
ep-material:substance-McyHexane
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_mcyhexane> .
ep-material:substance-McyPentane
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_mcypentane> .
ep-material:substance-Methane
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_methane> .
ep-material:substance-N2
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_N2> .
ep-material:substance-Nonanes
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_nonanes> .
ep-material:substance-O2
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_O2> .
ep-material:substance-Octanes
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_octanes> .
ep-material:substance-T12dmcyPentane
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_t12dmcypentane> .
ep-material:substance-T13dmcyPentane
rdf:type ep-prodact:SubstanceType , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , ep-prodact:SubstanceType ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_t13dmcypentane> .
......
......@@ -21,27 +21,45 @@
<http://www.epim.no/schemas/mprml/1#A_Global-Objects>
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 20051 Set the context facility - installation does not exist"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ;
rdfs:comment "STEP 20020 Add the report kind ."^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "reportKind"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject _:b1
sp:subject
[ sp:varName "productVolumeReport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-report#ProductionReportKind> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "reportKind"^^xsd:string
]
] [ sp:object
[ sp:varName "contextFacility"^^xsd:string
[ sp:varName "kind"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/geography#locatedWithin> ;
sp:subject _:b1
] [ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
[ sp:varName "reportKind"^^xsd:string
]
] [ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "productionFacilityToDate"^^xsd:string
[ sp:varName "productionReport"^^xsd:string
]
]) ;
sp:where ([ sp:object
] [ sp:object <http://www.reportinghub.no/ep/schema/production-report#ProductVolumeReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productVolumeReport"^^xsd:string
]
] [ sp:object
[ sp:varName "productionReport"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject
[ sp:varName "productVolumeReport"^^xsd:string
]
] [ sp:object
[ sp:varName "productVolumeRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
......@@ -51,123 +69,260 @@
sp:subject
[ sp:varName "productVolumeRef"^^xsd:string
]
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "installationRef"^^xsd:string
] [ sp:object
[ sp:varName "nameRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ;
sp:subject
[ sp:varName "productVolumeRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationRef"^^xsd:string
[ sp:varName "name"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "productionFacility"^^xsd:string
[ sp:varName "nameRef"^^xsd:string
]
])
] [ sp:object
[ sp:varName "contextFacilityRef"^^xsd:string
[ sp:varName "kind"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#contextFacilityRef> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kind> ;
sp:subject
[ sp:varName "productVolumeRef"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [ sp:varName "kind"^^xsd:string
]
] ;
sp:variable
[ sp:varName "normalizedKind"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildProductionReportKindURI ;
sp:arg1 [ sp:varName "normalizedKind"^^xsd:string
]
] ;
sp:variable
[ sp:varName "reportKind"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 20010 Create the ProductVolumeReport; the period ProductionFlow and the ProductionFlowToDate ; the period ProductionInventory and the ProductionInventoryToDate; the period ProductionFacility and the ProductionFacilityToDate ."^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-report#ProductVolumeReport> ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object
[ sp:varName "contextFacilityRef"^^xsd:string
[ sp:varName "productionReport"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject _:b1
] [ sp:object
[ sp:varName "name"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject _:b1
] [ sp:object
[ sp:varName "productVolumeReportPeriodType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object _:b2 ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
sp:subject _:b1
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlow> ;
sp:predicate rdf:type ;
sp:subject _:b2
] [ sp:object
[ sp:varName "productVolumeRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "contextFacility"^^xsd:string
]
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/flow#ProductionFlowToDate> ;
sp:predicate rdf:type ;
sp:subject _:b3
] [ sp:object _:b4 ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
sp:subject _:b1
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionInventory> ;
sp:predicate rdf:type ;
sp:subject _:b4
] [ sp:object
[ sp:varName "productVolumeRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject _:b4
] [ sp:object _:b5 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b4
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionInventoryToDate> ;
sp:predicate rdf:type ;
sp:subject _:b5
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
sp:predicate rdf:type ;
sp:subject _:b6
] [ sp:object
[ sp:varName "productVolumeRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject _:b6
] [ sp:object _:b7 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b6
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ;
sp:predicate rdf:type ;
sp:subject _:b7
] [ sp:object _:b2 ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ;
sp:subject _:b6
] [ sp:object _:b4 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasSpatialPart> ;
sp:subject _:b6
] [ sp:object _:b3 ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ;
sp:subject _:b7
] [ sp:object _:b5 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasSpatialPart> ;
sp:subject _:b7
] [ sp:object
[ sp:varName "title"^^xsd:string
] ;
sp:predicate <http://purl.org/dc/elements/1.1/title> ;
sp:subject _:b1
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
[ sp:varName "productionReport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
] [ 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 "temporalPartOfAProductionFacility"^^xsd:string
[ sp:varName "productVolumeRef"^^xsd:string
]
] [ sp:object
[ sp:varName "productionFacilityToDate"^^xsd:string
[ sp:varName "nameRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
[ sp:varName "productVolumeRef"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ;
sp:predicate rdf:type ;
] [ sp:object
[ sp:varName "name"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "productionFacilityToDate"^^xsd:string
[ sp:varName "nameRef"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "periodKindRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#periodKindRef> ;
sp:subject
[ sp:varName "productVolumeRef"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "titleRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#titleRef> ;
sp:subject
[ sp:varName "productVolumeRef"^^xsd:string
]
] [ sp:object
[ sp:varName "title"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "titleRef"^^xsd:string
]
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:selectProductVolumeReportPeriodType ;
sp:arg1 [ sp:varName "periodKindRef"^^xsd:string
]
] ;
sp:variable
[ sp:varName "productVolumeReportPeriodType"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 20030 Record the start and end date-times"^^xsd:string ;
rdfs:comment "STEP 20031 Record the start and end dates"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "dTimStart"^^xsd:string
[ sp:varName "dateStart"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
sp:subject
[ sp:varName "productionFlow"^^xsd:string
]
] [ sp:object
[ sp:varName "dTimEnd"^^xsd:string
[ sp:varName "dateEnd"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
[ sp:varName "productionFlow"^^xsd:string
]
] [ sp:object
[ sp:varName "dTimEnd"^^xsd:string
[ sp:varName "dateEnd"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
[ sp:varName "productionFlowToDate"^^xsd:string
]
] [ sp:object
[ sp:varName "dTimStart"^^xsd:string
[ sp:varName "dateStart"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
sp:subject
[ sp:varName "productionInventory"^^xsd:string
]
] [ sp:object
[ sp:varName "dTimEnd"^^xsd:string
[ sp:varName "dateEnd"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
[ sp:varName "productionInventory"^^xsd:string
]
] [ sp:object
[ sp:varName "dTimEnd"^^xsd:string
[ sp:varName "dateEnd"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
[ sp:varName "productionInventoryToDate"^^xsd:string
]
] [ sp:object
[ sp:varName "dTimStart"^^xsd:string
[ sp:varName "dateStart"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "dTimEnd"^^xsd:string
[ sp:varName "dateEnd"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "dTimEnd"^^xsd:string
[ sp:varName "dateEnd"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
......@@ -185,16 +340,16 @@
[ sp:varName "productVolumeRef"^^xsd:string
]
] [ sp:object
[ sp:varName "dTimStart"^^xsd:string
[ sp:varName "dateStart"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dTimStart> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dateStart> ;
sp:subject
[ sp:varName "productVolumeRef"^^xsd:string
]
] [ sp:object
[ sp:varName "dTimEnd"^^xsd:string
[ sp:varName "dateEnd"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dTimEnd> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dateEnd> ;
sp:subject
[ sp:varName "productVolumeRef"^^xsd:string
]
......@@ -274,148 +429,79 @@
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 20050 Set the context facility - installation exists"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "contextFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/geography#locatedWithin> ;
rdfs:comment """STEP 20060 Set the facility operator
role is ignored, because it is implicitly \"operator\""""^^xsd:string ;
sp:templates ([ sp:object _:b8 ;
sp:predicate <http://www.reportinghub.no/ep/schema/facility#facilityOperator> ;
sp:subject
[ sp:varName "productionFacility"^^xsd:string
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/organization#Organization> ;
sp:predicate rdf:type ;
sp:subject _:b8
] [ sp:object
[ sp:varName "operator"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b8
]) ;
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 "installationRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ;
sp:subject
[ sp:varName "productVolumeRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "productionFacility"^^xsd:string
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ 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:varName "operatorRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#contextFacilityRef> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#operatorRef> ;
sp:subject
[ sp:varName "productVolumeRef"^^xsd:string
]
] [ sp:object
[ sp:varName "contextFacilityRef"^^xsd:string
[ sp:varName "operatorRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "contextFacility"^^xsd:string
[ sp:varName "operator"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 20010 Create the ProductVolumeReport; the period ProductionFlow and the ProductionFlowToDate ; the period ProductionInventory and the ProductionInventoryToDate; the period ProductionFacility and the ProductionFacilityToDate ."^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-report#ProductVolumeReport> ;
sp:predicate rdf:type ;
sp:subject _:b2
] [ sp:object
[ sp:varName "productionReport"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject _:b2
] [ sp:object
[ sp:varName "name"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject _:b2
] [ sp:object
[ sp:varName "productVolumeReportPeriodType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject _:b2
] [ sp:object _:b3 ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
sp:subject _:b2
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlow> ;
sp:predicate rdf:type ;
sp:subject _:b3
] [ sp:object
[ sp:varName "productVolumeRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
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/flow#ProductionFlowToDate> ;
sp:predicate rdf:type ;
sp:subject _:b4
] [ sp:object _:b5 ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
sp:subject _:b2
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionInventory> ;
sp:predicate rdf:type ;
sp:subject _:b5
] [ sp:object
[ sp:varName "productVolumeRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject _:b5
] [ sp:object _:b6 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b5
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionInventoryToDate> ;
sp:predicate rdf:type ;
sp:subject _:b6
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
sp:predicate rdf:type ;
sp:subject _:b7
] [ sp:object
[ sp:varName "productVolumeRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject _:b7
] [ sp:object _:b8 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b7
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ;
sp:predicate rdf:type ;
sp:subject _:b8
] [ sp:object _:b3 ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ;
sp:subject _:b7
] [ sp:object _:b5 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasSpatialPart> ;
sp:subject _:b7
] [ sp:object _:b4 ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ;
sp:subject _:b8
] [ sp:object _:b6 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasSpatialPart> ;
sp:subject _:b8
] [ sp:object
[ sp:varName "title"^^xsd:string
] ;
sp:predicate <http://purl.org/dc/elements/1.1/title> ;
sp:subject _:b2
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
rdfs:comment "STEP 20040 Set the installation"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "productionFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
[ sp:varName "temporalPartOfAProductionFacility"^^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
]
]) ;
sp:where ([ sp:object
[ sp:varName "productVolumeRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
......@@ -426,172 +512,157 @@
[ sp:varName "productVolumeRef"^^xsd:string
]
] [ sp:object
[ sp:varName "nameRef"^^xsd:string
[ sp:varName "installationRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ;
sp:subject
[ sp:varName "productVolumeRef"^^xsd:string
]
] [ sp:object
[ sp:varName "name"^^xsd:string
[ sp:varName "installationRef"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "nameRef"^^xsd:string
[ sp:varName "productionFacility"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "periodKindRef"^^xsd:string
] [ sp:object
[ sp:varName "productVolumeRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#periodKindRef> ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "productVolumeRef"^^xsd:string
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "titleRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#titleRef> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productVolumeRef"^^xsd:string
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "title"^^xsd:string
[ sp:varName "productionFacilityToDate"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "titleRef"^^xsd:string
]
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:selectProductVolumeReportPeriodType ;
sp:arg1 [ sp:varName "periodKindRef"^^xsd:string
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] ;
sp:variable
[ sp:varName "productVolumeReportPeriodType"^^xsd:string
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionFacilityToDate"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 20060 Set the facility operator
role is ignored, because it is implicitly \"operator\""""^^xsd:string ;
sp:templates ([ sp:object _:b9 ;
sp:predicate <http://www.reportinghub.no/ep/schema/facility#facilityOperator> ;
rdfs:comment "STEP 20050 Set the context facility - installation exists"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "contextFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/geography#locatedWithin> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
[ sp:varName "productionFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/organization#Organization> ;
sp:predicate rdf:type ;
sp:subject _:b9
] [ sp:object
[ sp:varName "operator"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b9
]) ;
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
[ sp:varName "productVolumeRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productVolume> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
[ sp:varName "productVolumeRef"^^xsd:string
]
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productVolume> ;
sp:predicate rdf:type ;
] [ sp:object
[ sp:varName "installationRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ;
sp:subject
[ sp:varName "productVolumeRef"^^xsd:string
]
] [ sp:object
[ sp:varName "operatorRef"^^xsd:string
[ sp:varName "installationRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#operatorRef> ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "productionFacility"^^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 "operatorRef"^^xsd:string
[ sp:varName "contextFacilityRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "operator"^^xsd:string
[ sp:varName "contextFacility"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 20031 Record the start and end dates"^^xsd:string ;
rdfs:comment "STEP 20030 Record the start and end date-times"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "dateStart"^^xsd:string
[ sp:varName "dTimStart"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
sp:subject
[ sp:varName "productionFlow"^^xsd:string
]
] [ sp:object
[ sp:varName "dateEnd"^^xsd:string
[ sp:varName "dTimEnd"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
[ sp:varName "productionFlow"^^xsd:string
]
] [ sp:object
[ sp:varName "dateEnd"^^xsd:string
[ sp:varName "dTimEnd"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
[ sp:varName "productionFlowToDate"^^xsd:string
]
] [ sp:object
[ sp:varName "dateStart"^^xsd:string
[ sp:varName "dTimStart"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
sp:subject
[ sp:varName "productionInventory"^^xsd:string
]
] [ sp:object
[ sp:varName "dateEnd"^^xsd:string
[ sp:varName "dTimEnd"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
[ sp:varName "productionInventory"^^xsd:string
]
] [ sp:object
[ sp:varName "dateEnd"^^xsd:string
[ sp:varName "dTimEnd"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
[ sp:varName "productionInventoryToDate"^^xsd:string
]
] [ sp:object
[ sp:varName "dateStart"^^xsd:string
[ sp:varName "dTimStart"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "dateEnd"^^xsd:string
[ sp:varName "dTimEnd"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "dateEnd"^^xsd:string
[ sp:varName "dTimEnd"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
......@@ -609,16 +680,16 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ;
[ sp:varName "productVolumeRef"^^xsd:string
]
] [ sp:object
[ sp:varName "dateStart"^^xsd:string
[ sp:varName "dTimStart"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dateStart> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dTimStart> ;
sp:subject
[ sp:varName "productVolumeRef"^^xsd:string
]
] [ sp:object
[ sp:varName "dateEnd"^^xsd:string
[ sp:varName "dTimEnd"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dateEnd> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dTimEnd> ;
sp:subject
[ sp:varName "productVolumeRef"^^xsd:string
]
......@@ -698,108 +769,21 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ;
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 20020 Add the report kind ."^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "reportKind"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productVolumeReport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-report#ProductionReportKind> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "reportKind"^^xsd:string
]
] [ sp:object
[ sp:varName "kind"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject
[ sp:varName "reportKind"^^xsd:string
]
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-report#ProductVolumeReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productVolumeReport"^^xsd:string
]
] [ sp:object
[ sp:varName "productionReport"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject
[ sp:varName "productVolumeReport"^^xsd:string
]
] [ 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> ;
rdfs:comment "STEP 20051 Set the context facility - installation does not exist"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productVolumeRef"^^xsd:string
]
] [ sp:object
[ sp:varName "nameRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ;
sp:subject
[ sp:varName "productVolumeRef"^^xsd:string
]
] [ sp:object
[ sp:varName "name"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "nameRef"^^xsd:string
]
sp:subject _:b9
] [ sp:object
[ sp:varName "kind"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kind> ;
sp:subject
[ sp:varName "productVolumeRef"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [ sp:varName "kind"^^xsd:string
]
] ;
sp:variable
[ sp:varName "normalizedKind"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildProductionReportKindURI ;
sp:arg1 [ sp:varName "normalizedKind"^^xsd:string
]
] ;
sp:variable
[ sp:varName "reportKind"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 20040 Set the installation"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "productionFacility"^^xsd:string
[ sp:varName "contextFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/geography#locatedWithin> ;
sp:subject _:b9
] [ sp:object _:b9 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "productionFacility"^^xsd:string
] ;
] [ sp:object _:b9 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "productionFacilityToDate"^^xsd:string
......@@ -815,7 +799,8 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ;
sp:subject
[ sp:varName "productVolumeRef"^^xsd:string
]
] [ sp:object
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "installationRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ;
......@@ -829,6 +814,21 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ;
sp:subject
[ sp:varName "productionFacility"^^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 "contextFacilityRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "contextFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "productVolumeRef"^^xsd:string
] ;
......@@ -858,5 +858,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.reportinghub.no/ep/mpr/spin/1.1/lib> , <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> , <http://www.reportinghub.no/ep/mpr/spin/1.1/lib> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
......
......@@ -19,9 +19,9 @@
<http://www.epim.no/schemas/mprml/1#A_Global-Objects>
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 10001d Create the interval identifier - dateEnd from context"^^xsd:string ;
rdfs:comment "STEP 10001a Create the inteval identifier - dateStart and dateEnd from context"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "dateEnd"^^xsd:string
[ sp:varName "intervalIdentifier"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#intervalIdentifier> ;
sp:subject spin:_this
......@@ -37,30 +37,194 @@
[ sp:varName "contextRef"^^xsd:string
]
] [ sp:object
[ sp:varName "dateStart"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dateStart> ;
sp:subject
[ sp:varName "contextRef"^^xsd:string
]
] [ sp:object
[ sp:varName "dateEnd"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dateEnd> ;
sp:subject
[ sp:varName "contextRef"^^xsd:string
]
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "date"^^xsd:string
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:buildIntervalIdentifier ;
sp:arg1 [ sp:varName "dateStart"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#date> ;
sp:arg2 [ sp:varName "dateEnd"^^xsd:string
]
] ;
sp:variable
[ sp:varName "intervalIdentifier"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 10010 Add the contextFacility"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "contextFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/geography#locatedWithin> ;
sp:subject
[ sp:varName "productionFacility"^^xsd:string
]
]) ;
sp:where ([ sp:object
[ sp:varName "contextRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#contextRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_report> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "contextRef"^^xsd:string
]
] [ sp:object
[ sp:varName "contectFacilityRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#contextFacilityRef> ;
sp:subject
[ sp:varName "contextRef"^^xsd:string
]
] [ sp:object
[ sp:varName "contextFacilityRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "contextFacility"^^xsd:string
]
] [ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
]
] [ sp:object
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "productionFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 10001n Create the ProductionReport - extract the name from productionOperation/installation"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-report#ProductionReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
]
] [ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object
[ sp:varName "installation"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b1
] [ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
]
] [ sp:object
[ sp:varName "contextRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject _:b1
]) ;
sp:where ([ sp:object
[ sp:varName "intervalIdentifier"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#intervalIdentifier> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "productionOperationRef"^^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_productionOperation> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "installation"^^xsd:string
]
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "dateStart"^^xsd:string
[ sp:varName "contextRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dateStart> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#contextRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_report> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "contextRef"^^xsd:string
]
] [ sp:object
[ sp:varName "something"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ;
sp:subject
[ sp:varName "contextRef"^^xsd:string
]
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type spl:object ;
sp:arg1 [ sp:varName "installationRef"^^xsd:string
] ;
sp:arg2 rdfs:label
] ;
sp:variable
[ sp:varName "normalizedInstallationName"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:buildProductionReportURI ;
sp:arg1 [ sp:varName "normalizedInstallationName"^^xsd:string
] ;
sp:arg2 [ sp:varName "intervalIdentifier"^^xsd:string
]
] ;
sp:variable
[ sp:varName "productionReport"^^xsd:string
]
])
] ;
spin:rule
......@@ -71,19 +235,19 @@
sp:subject
[ sp:varName "productionReport"^^xsd:string
]
] [ sp:object _:b1 ;
] [ sp:object _:b2 ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
sp:predicate rdf:type ;
sp:subject _:b1
sp:subject _:b2
] [ sp:object
[ sp:varName "installation"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b1
sp:subject _:b2
] [ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
......@@ -93,7 +257,7 @@
[ sp:varName "contextRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject _:b1
sp:subject _:b2
]) ;
sp:where ([ sp:object
[ sp:varName "intervalIdentifier"^^xsd:string
......@@ -233,73 +397,45 @@
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 10010 Add the contextFacility"^^xsd:string ;
rdfs:comment "STEP 10001z Add the report kind, issue date and title"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "contextFacility"^^xsd:string
[ sp:varName "reportKind"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/geography#locatedWithin> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionFacility"^^xsd:string
[ sp:varName "productionReport"^^xsd:string
]
]) ;
sp:where ([ sp:object
[ sp:varName "contextRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#contextRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_report> ;
sp:predicate rdf:type ;
] [ sp:object <http://www.reportinghub.no/ep/schema/production-report#ProductionReport> ;
sp:predicate rdfs:subClassOf ;
sp:subject
[ sp:varName "contextRef"^^xsd:string
[ sp:varName "reportKind"^^xsd:string
]
] [ sp:object
[ sp:varName "contectFacilityRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#contextFacilityRef> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/production-report#ProductionReportKind> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "contextRef"^^xsd:string
[ sp:varName "reportKind"^^xsd:string
]
] [ sp:object
[ sp:varName "contextFacilityRef"^^xsd:string
[ sp:varName "kind"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "contextFacility"^^xsd:string
]
] [ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
[ sp:varName "reportKind"^^xsd:string
]
] [ sp:object
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
[ sp:varName "issueDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-report#issuedAt> ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "productionFacility"^^xsd:string
[ sp:varName "title"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:predicate <http://purl.org/dc/elements/1.1/title> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
[ sp:varName "productionReport"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 10001a Create the inteval identifier - dateStart and dateEnd from context"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "intervalIdentifier"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#intervalIdentifier> ;
sp:subject spin:_this
]) ;
sp:where ([ sp:object
[ sp:varName "contextRef"^^xsd:string
......@@ -311,151 +447,68 @@
sp:subject
[ sp:varName "contextRef"^^xsd:string
]
] [ sp:object
[ sp:varName "dateStart"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dateStart> ;
sp:subject
[ sp:varName "contextRef"^^xsd:string
]
] [ sp:object
[ sp:varName "dateEnd"^^xsd:string
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "kind"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dateEnd> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kind> ;
sp:subject
[ sp:varName "contextRef"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:buildIntervalIdentifier ;
sp:arg1 [ sp:varName "dateStart"^^xsd:string
] ;
sp:arg2 [ sp:varName "dateEnd"^^xsd:string
]
] ;
sp:variable
[ sp:varName "intervalIdentifier"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "issueDate"^^xsd:string
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 10020 Add the operator"^^xsd:string ;
sp:templates ([ sp:object _:b2 ;
sp:predicate <http://www.reportinghub.no/ep/schema/facility#facilityOperator> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/organization#Organization> ;
sp:predicate rdf:type ;
sp:subject _:b2
] [ sp:object
[ sp:varName "operator"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b2
]) ;
sp:where ([ sp:object
[ sp:varName "contextRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#contextRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_report> ;
sp:predicate rdf:type ;
sp:predicate <http://www.epim.no/schemas/mprml/1#issueDate> ;
sp:subject
[ sp:varName "contextRef"^^xsd:string
]
] [ sp:object
[ sp:varName "operatorRef"^^xsd:string
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "titleRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#operatorRef> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#titleRef> ;
sp:subject
[ sp:varName "contextRef"^^xsd:string
]
] [ sp:object
[ sp:varName "operatorRef"^^xsd:string
[ sp:varName "title"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "operator"^^xsd:string
[ sp:varName "titleRef"^^xsd:string
]
])
] [ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
]
] [ sp:object
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 10001b Create the interval identifier - date and dateEnd from context"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "intervalIdentifier"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#intervalIdentifier> ;
sp:subject spin:_this
]) ;
sp:where ([ sp:object
[ sp:varName "contextRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#contextRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_report> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "contextRef"^^xsd:string
]
] [ sp:object
[ sp:varName "date"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#date> ;
sp:subject
[ sp:varName "contextRef"^^xsd:string
]
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "dateStart"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dateStart> ;
sp:subject
[ sp:varName "contextRef"^^xsd:string
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [ sp:varName "kind"^^xsd:string
]
])
] [ sp:object
[ sp:varName "dateEnd"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dateEnd> ;
sp:subject
[ sp:varName "contextRef"^^xsd:string
sp:variable
[ sp:varName "normalizedKind"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:buildIntervalIdentifier ;
sp:arg1 [ sp:varName "date"^^xsd:string
] ;
sp:arg2 [ sp:varName "dateEnd"^^xsd:string
[ rdf:type ep-dpr-spin-lib:buildProductionReportKindURI ;
sp:arg1 [ sp:varName "normalizedKind"^^xsd:string
]
] ;
sp:variable
[ sp:varName "intervalIdentifier"^^xsd:string
[ sp:varName "reportKind"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 10001n Create the ProductionReport - extract the name from productionOperation/installation"^^xsd:string ;
rdfs:comment "STEP 10001p Create the ProductionReport - no installation"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-report#ProductionReport> ;
sp:predicate rdf:type ;
sp:subject
......@@ -469,11 +522,6 @@
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
sp:predicate rdf:type ;
sp:subject _:b3
] [ sp:object
[ sp:varName "installation"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b3
] [ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
......@@ -490,30 +538,44 @@
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#intervalIdentifier> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "productionOperationRef"^^xsd:string
] [ rdf:type sp:NotExists ;
sp:elements ([ 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_productionOperation> ;
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productVolume> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
[ sp:varName "productVolumeRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ;
sp:subject
[ sp:varName "productVolumeRef"^^xsd:string
]
])
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "productionOperationRef"^^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_productionOperation> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ;
sp:subject
[ sp:varName "installation"^^xsd:string
[ sp:varName "productionOperationRef"^^xsd:string
]
])
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "contextRef"^^xsd:string
......@@ -526,7 +588,7 @@
[ sp:varName "contextRef"^^xsd:string
]
] [ sp:object
[ sp:varName "something"^^xsd:string
[ sp:varName "installationRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ;
sp:subject
......@@ -535,18 +597,16 @@
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type spl:object ;
sp:arg1 [ sp:varName "installationRef"^^xsd:string
] ;
sp:arg2 rdfs:label
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 "noInstallation"
] ;
sp:variable
[ sp:varName "normalizedInstallationName"^^xsd:string
[ sp:varName "normalizedName"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:buildProductionReportURI ;
sp:arg1 [ sp:varName "normalizedInstallationName"^^xsd:string
sp:arg1 [ sp:varName "normalizedName"^^xsd:string
] ;
sp:arg2 [ sp:varName "intervalIdentifier"^^xsd:string
]
......@@ -688,155 +748,118 @@
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 10001p Create the ProductionReport - no installation"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-report#ProductionReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
]
] [ sp:object _:b5 ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
sp:predicate rdf:type ;
sp:subject _:b5
] [ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
]
] [ sp:object
[ sp:varName "contextRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject _:b5
]) ;
sp:where ([ sp:object
[ sp:varName "intervalIdentifier"^^xsd:string
rdfs:comment "STEP 10001d Create the interval identifier - dateEnd from context"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "dateEnd"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#intervalIdentifier> ;
sp:subject spin:_this
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "productVolumeRef"^^xsd:string
]) ;
sp:where ([ sp:object
[ sp:varName "contextRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#contextRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productVolume> ;
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_report> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productVolumeRef"^^xsd:string
[ sp:varName "contextRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationRef"^^xsd:string
[ sp:varName "dateEnd"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dateEnd> ;
sp:subject
[ sp:varName "productVolumeRef"^^xsd:string
[ sp:varName "contextRef"^^xsd:string
]
])
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "productionOperationRef"^^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_productionOperation> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationRef"^^xsd:string
[ sp:varName "date"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#date> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
[ sp:varName "contextRef"^^xsd:string
]
])
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "contextRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#contextRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_report> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "contextRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationRef"^^xsd:string
[ sp:varName "dateStart"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dateStart> ;
sp:subject
[ sp:varName "contextRef"^^xsd:string
]
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 "noInstallation"
] ;
sp:variable
[ sp:varName "normalizedName"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:buildProductionReportURI ;
sp:arg1 [ sp:varName "normalizedName"^^xsd:string
] ;
sp:arg2 [ sp:varName "intervalIdentifier"^^xsd:string
]
] ;
sp:variable
[ sp:varName "productionReport"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 10001z Add the report kind, issue date and title"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "reportKind"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-report#ProductionReport> ;
sp:predicate rdfs:subClassOf ;
rdfs:comment "STEP 10020 Add the operator"^^xsd:string ;
sp:templates ([ sp:object _:b5 ;
sp:predicate <http://www.reportinghub.no/ep/schema/facility#facilityOperator> ;
sp:subject
[ sp:varName "reportKind"^^xsd:string
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-report#ProductionReportKind> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/organization#Organization> ;
sp:predicate rdf:type ;
sp:subject _:b5
] [ sp:object
[ sp:varName "operator"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b5
]) ;
sp:where ([ sp:object
[ sp:varName "contextRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#contextRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_report> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "reportKind"^^xsd:string
[ sp:varName "contextRef"^^xsd:string
]
] [ sp:object
[ sp:varName "kind"^^xsd:string
[ sp:varName "operatorRef"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:predicate <http://www.epim.no/schemas/mprml/1#operatorRef> ;
sp:subject
[ sp:varName "reportKind"^^xsd:string
[ sp:varName "contextRef"^^xsd:string
]
] [ sp:object
[ sp:varName "issueDate"^^xsd:string
[ sp:varName "operatorRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-report#issuedAt> ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "operator"^^xsd:string
]
] [ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
]
] [ sp:object
[ sp:varName "title"^^xsd:string
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 10001b Create the interval identifier - date and dateEnd from context"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "intervalIdentifier"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#intervalIdentifier> ;
sp:subject spin:_this
]) ;
sp:where ([ sp:object
[ sp:varName "contextRef"^^xsd:string
......@@ -848,67 +871,44 @@
sp:subject
[ sp:varName "contextRef"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "kind"^^xsd:string
] [ sp:object
[ sp:varName "date"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kind> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#date> ;
sp:subject
[ sp:varName "contextRef"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "issueDate"^^xsd:string
[ sp:varName "dateStart"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#issueDate> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dateStart> ;
sp:subject
[ sp:varName "contextRef"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "titleRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#titleRef> ;
sp:subject
[ sp:varName "contextRef"^^xsd:string
]
] [ sp:object
[ sp:varName "title"^^xsd:string
[ sp:varName "dateEnd"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "titleRef"^^xsd:string
]
])
] [ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dateEnd> ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
[ sp:varName "contextRef"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [ sp:varName "kind"^^xsd:string
]
[ rdf:type ep-mpr-spin-lib:buildIntervalIdentifier ;
sp:arg1 [ sp:varName "date"^^xsd:string
] ;
sp:variable
[ sp:varName "normalizedKind"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildProductionReportKindURI ;
sp:arg1 [ sp:varName "normalizedKind"^^xsd:string
sp:arg2 [ sp:varName "dateEnd"^^xsd:string
]
] ;
sp:variable
[ sp:varName "reportKind"^^xsd:string
[ sp:varName "intervalIdentifier"^^xsd:string
]
])
] .
<http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionReport-v1.0>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> , <http://spinrdf.org/spin> , <http://www.epim.no/schemas/mprml/1> , <http://www.reportinghub.no/ep/mpr/spin/1.1/lib> ;
owl:imports <http://www.reportinghub.no/ep/mpr/spin/1.1/lib> , <http://www.epim.no/schemas/mprml/1> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
......
......@@ -41,10 +41,24 @@
<kind>production</kind>
<qualifier>measured</qualifier>
<subQualifier>recalibrated</subQualifier>
<volumeValue>
<volume uom="m3">744</volume>
<grossCalorificValue uom="MJ/m3">45</grossCalorificValue>
<temp uom="degC">16</temp>
<pres uom="atm">1</pres>
<work uom="MJ">4002</work>
</volumeValue>
<product>
<kind>oil</kind>
<name>TRYM measured-recalibrated oil flow</name>
<splitFactor>0.5</splitFactor>
<volumeValue>
<volume uom="m3">745</volume>
<grossCalorificValue uom="MJ/m3">46</grossCalorificValue>
<temp uom="degC">17</temp>
<pres uom="atm">1</pres>
<work uom="MJ">4008</work>
</volumeValue>
<period>
<kind>month</kind>
<dateStart>2011-07-01</dateStart>
......