David Leal

Merge branch 'MPR_07-19a'

......@@ -15,81 +15,81 @@
<http://www.reportinghub.no/ep/schema/1.0/flow>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/production-activity> , <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: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-activity> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
ep-core:PhysicalThingAtInstant
rdf:type ep-flow:TemporalPartDurationType , owl:Class ;
rdf:type owl:Class , ep-flow:TemporalPartDurationType ;
rdfs:label "physical thing at instant"^^xsd:string ;
rdfs:subClassOf ep-core:PhysicalThing .
ep-core:PhysicalThingDuringGasYearToDate
rdf:type ep-flow:TemporalPartDurationType , owl:Class ;
rdf:type owl:Class , ep-flow:TemporalPartDurationType ;
rdfs:label "physical thing during gas year to date"^^xsd:string ;
rdfs:subClassOf ep-core:PhysicalThing .
ep-core:PhysicalThingDuringMonthToDate
rdf:type owl:Class , ep-flow:TemporalPartDurationType ;
rdf:type ep-flow:TemporalPartDurationType , owl:Class ;
rdfs:label "physical thing during month to date"^^xsd:string ;
rdfs:subClassOf ep-core:PhysicalThing .
ep-core:PhysicalThingDuringOneDay
rdf:type owl:Class , ep-flow:TemporalPartDurationType ;
rdf:type ep-flow:TemporalPartDurationType , owl:Class ;
rdfs:label "physical thing during one day"^^xsd:string ;
rdfs:subClassOf ep-core:PhysicalThing .
ep-core:PhysicalThingDuringOneGasDay
rdf:type owl:Class , ep-flow:TemporalPartDurationType ;
rdf:type ep-flow:TemporalPartDurationType , owl:Class ;
rdfs:label "physical thing during one gas day"^^xsd:string ;
rdfs:subClassOf ep-core:PhysicalThing .
ep-core:PhysicalThingDuringOneGasMonth
rdf:type owl:Class , ep-flow:TemporalPartDurationType ;
rdf:type ep-flow:TemporalPartDurationType , owl:Class ;
rdfs:label "physical thing during one gas month"^^xsd:string ;
rdfs:subClassOf ep-core:PhysicalThing .
ep-core:PhysicalThingDuringOneGasYear
rdf:type owl:Class , ep-flow:TemporalPartDurationType ;
rdf:type ep-flow:TemporalPartDurationType , owl:Class ;
rdfs:label "physical thing during one gas year"^^xsd:string ;
rdfs:subClassOf ep-core:PhysicalThing .
ep-core:PhysicalThingDuringOneMonth
rdf:type owl:Class , ep-flow:TemporalPartDurationType ;
rdf:type ep-flow:TemporalPartDurationType , owl:Class ;
rdfs:label "physical thing during one month"^^xsd:string ;
rdfs:subClassOf ep-core:PhysicalThing .
ep-core:PhysicalThingDuringOneWeek
rdf:type owl:Class , ep-flow:TemporalPartDurationType ;
rdf:type ep-flow:TemporalPartDurationType , owl:Class ;
rdfs:label "physical thing during one week"^^xsd:string ;
rdfs:subClassOf ep-core:PhysicalThing .
ep-core:PhysicalThingDuringOneYear
rdf:type owl:Class , ep-flow:TemporalPartDurationType ;
rdf:type ep-flow:TemporalPartDurationType , owl:Class ;
rdfs:label "physical thing during one year"^^xsd:string ;
rdfs:subClassOf ep-core:PhysicalThing .
ep-core:PhysicalThingDuringYearToDate
rdf:type owl:Class , ep-flow:TemporalPartDurationType ;
rdf:type ep-flow:TemporalPartDurationType , owl:Class ;
rdfs:label "physical thing during year to date"^^xsd:string ;
rdfs:subClassOf ep-core:PhysicalThing .
ep-flow:AllocatedFlow
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
rdfs:label "allocated flow"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeFlow .
ep-flow:AllocatedInventory
rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ;
rdf:type ep-flow:ProductionInventoryDefinitionType , owl:Class ;
rdfs:label "allocated inventory"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeInventory .
ep-flow:BudgetFlow
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
rdfs:label "budget flow"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeFlow .
ep-flow:BudgetInventory
rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ;
rdf:type ep-flow:ProductionInventoryDefinitionType , owl:Class ;
rdfs:label "budget inventory"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeInventory .
......@@ -99,77 +99,77 @@ ep-flow:ClassOfMaterialWithMassCriterion
rdfs:subClassOf owl:Class .
ep-flow:ConstraintFlow
rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
rdfs:label "constraint flow"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeFlow .
ep-flow:ConstraintFlow-fixed
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionSubType ;
rdf:type ep-flow:ProductionFlowDefinitionSubType , owl:Class ;
rdfs:label "constraint flow - fixed"^^xsd:string ;
rdfs:subClassOf ep-flow:ConstraintFlow .
ep-flow:ConstraintFlow-maximum
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionSubType ;
rdf:type ep-flow:ProductionFlowDefinitionSubType , owl:Class ;
rdfs:label "constraint flow - maximum"^^xsd:string ;
rdfs:subClassOf ep-flow:ConstraintFlow .
ep-flow:ConstraintFlow-minimum
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionSubType ;
rdf:type ep-flow:ProductionFlowDefinitionSubType , owl:Class ;
rdfs:label "constraint flow - minimum"^^xsd:string ;
rdfs:subClassOf ep-flow:ConstraintFlow .
ep-flow:ConstraintInventory
rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ;
rdf:type ep-flow:ProductionInventoryDefinitionType , owl:Class ;
rdfs:label "constraint inventory"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeInventory .
ep-flow:Consume
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
rdfs:label "consume"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeFlow .
ep-flow:Consume-HPflare
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
rdfs:label "consume - HP flare"^^xsd:string ;
rdfs:subClassOf ep-flow:Consume-flare .
ep-flow:Consume-LPflare
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
rdfs:label "consume - LP flare"^^xsd:string ;
rdfs:subClassOf ep-flow:Consume-flare .
ep-flow:Consume-blackstart
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
rdfs:label "consume - blackstart"^^xsd:string ;
rdfs:subClassOf ep-flow:Consume .
ep-flow:Consume-compressor
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
rdfs:label "consume - compressor"^^xsd:string ;
rdfs:subClassOf ep-flow:Consume .
ep-flow:Consume-emitted
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
rdfs:label "consume - emitted"^^xsd:string ;
rdfs:subClassOf ep-flow:Consume .
ep-flow:Consume-flare
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
rdfs:label "consume - flare"^^xsd:string ;
rdfs:subClassOf ep-flow:Consume .
ep-flow:Consume-fuel
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
rdfs:label "consume - fuel"^^xsd:string ;
rdfs:subClassOf ep-flow:Consume .
ep-flow:Consume-noncompressor
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
rdfs:label "consume - non-compressor"^^xsd:string ;
rdfs:subClassOf ep-flow:Consume .
ep-flow:Consume-venting
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
rdfs:label "consume - venting"^^xsd:string ;
rdfs:subClassOf ep-flow:Consume .
......@@ -179,27 +179,27 @@ ep-flow:DailyProductionFlow
rdfs:subClassOf ep-flow:ProductionFlow .
ep-flow:DerivedFlow
rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
rdfs:label "derived flow"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeFlow .
ep-flow:DerivedFlow-difference
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionSubType ;
rdf:type ep-flow:ProductionFlowDefinitionSubType , owl:Class ;
rdfs:label "derived flow - difference"^^xsd:string ;
rdfs:subClassOf ep-flow:DerivedFlow .
ep-flow:DerivedInventory
rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ;
rdf:type ep-flow:ProductionInventoryDefinitionType , owl:Class ;
rdfs:label "derived inventory"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeInventory .
ep-flow:DifferenceFlow
rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
rdfs:label "difference flow"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeFlow .
ep-flow:DifferenceInventory
rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ;
rdf:type ep-flow:ProductionInventoryDefinitionType , owl:Class ;
rdfs:label "difference inventory"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeInventory .
......@@ -209,32 +209,32 @@ ep-flow:ElectricPowerFlow
rdfs:subClassOf ep-flow:Flow .
ep-flow:EstimatedFlow
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
rdfs:label "estimated flow"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeFlow .
ep-flow:EstimatedInventory
rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ;
rdf:type ep-flow:ProductionInventoryDefinitionType , owl:Class ;
rdfs:label "estimated inventory"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeInventory .
ep-flow:Export
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
rdfs:label "export"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeFlow .
ep-flow:Export-nominated
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
rdfs:label "export nominated"^^xsd:string ;
rdfs:subClassOf ep-flow:Export .
ep-flow:Export-requested
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
rdfs:label "export requested"^^xsd:string ;
rdfs:subClassOf ep-flow:Export .
ep-flow:Export-shortfall
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
rdfs:label "export shortfall"^^xsd:string ;
rdfs:subClassOf ep-flow:Export .
......@@ -244,42 +244,42 @@ ep-flow:Flow
rdfs:subClassOf ep-core:PhysicalThing .
ep-flow:FlowAtInstant
rdf:type owl:Class , ep-flow:TemporalPartOfAFlowDurationType ;
rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ;
rdfs:label "flow at instant"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:FlowDuringDay
rdf:type owl:Class , ep-flow:TemporalPartOfAFlowDurationType ;
rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ;
rdfs:label "flow during day"^^xsd:string ;
rdfs:subClassOf ep-flow:FlowDuringPeriod .
ep-flow:FlowDuringMonth
rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ;
rdf:type owl:Class , ep-flow:TemporalPartOfAFlowDurationType ;
rdfs:label "flow during month"^^xsd:string ;
rdfs:subClassOf ep-flow:FlowDuringPeriod .
ep-flow:FlowDuringMonthToDate
rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ;
rdf:type owl:Class , ep-flow:TemporalPartOfAFlowDurationType ;
rdfs:label "flow during month to date"^^xsd:string ;
rdfs:subClassOf ep-flow:FlowDuringPeriod .
ep-flow:FlowDuringPeriod
rdf:type owl:Class , ep-flow:TemporalPartOfAFlowDurationType ;
rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ;
rdfs:label "flow during period"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:FlowDuringWeek
rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ;
rdf:type owl:Class , ep-flow:TemporalPartOfAFlowDurationType ;
rdfs:label "flow during week"^^xsd:string ;
rdfs:subClassOf ep-flow:FlowDuringPeriod .
ep-flow:FlowDuringYear
rdf:type owl:Class , ep-flow:TemporalPartOfAFlowDurationType ;
rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ;
rdfs:label "flow during year"^^xsd:string ;
rdfs:subClassOf ep-flow:FlowDuringPeriod .
ep-flow:FlowDuringYearToDate
rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ;
rdf:type owl:Class , ep-flow:TemporalPartOfAFlowDurationType ;
rdfs:label "flow during year to date"^^xsd:string ;
rdfs:subClassOf ep-flow:FlowDuringPeriod .
......@@ -289,127 +289,127 @@ ep-flow:FlowOfLiquid
rdfs:subClassOf ep-core:PhysicalThing .
ep-flow:ForecastFlow
rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
rdfs:label "forecast flow"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeFlow .
ep-flow:ForecastFlow-declineCurve
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionSubType ;
rdf:type ep-flow:ProductionFlowDefinitionSubType , owl:Class ;
rdfs:label "forecast flow - decline curve"^^xsd:string ;
rdfs:subClassOf ep-flow:ForecastFlow .
ep-flow:ForecastFlow-standard
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionSubType ;
rdf:type ep-flow:ProductionFlowDefinitionSubType , owl:Class ;
rdfs:label "forecast flow - standard"^^xsd:string ;
rdfs:subClassOf ep-flow:ForecastFlow .
ep-flow:ForecastInventory
rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ;
rdf:type ep-flow:ProductionInventoryDefinitionType , owl:Class ;
rdfs:label "forecast inventory"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeInventory .
ep-flow:Gaslift
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
rdfs:label "gas lift"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeFlow .
ep-flow:GrossProductFlow
rdf:type owl:Class , ep-flow:ProductFlowGrossOrNetType ;
rdf:type ep-flow:ProductFlowGrossOrNetType , owl:Class ;
rdfs:label "gross product flow"^^xsd:string ;
rdfs:subClassOf ep-flow:ProductFlow .
ep-flow:HydrocarbonAccounting
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
rdfs:label "hydrocarbon accounting"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeFlow .
ep-flow:Import
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
rdfs:label "import"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeFlow .
ep-flow:Injection
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
rdfs:label "injection"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeFlow .
ep-flow:Inventory
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdf:type owl:Class ;
rdfs:label "inventory"^^xsd:string ;
rdfs:subClassOf ep-core:PhysicalObject .
ep-flow:MassAdjustedFlow
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
rdfs:label "mass adjusted flow"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeFlow .
ep-flow:MeasuredFlow
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
rdfs:label "measured flow"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeFlow .
ep-flow:MeasuredFlow-fiscal
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionSubType ;
rdf:type ep-flow:ProductionFlowDefinitionSubType , owl:Class ;
rdfs:label "measured flow - fiscal"^^xsd:string ;
rdfs:subClassOf ep-flow:MeasuredFlow .
ep-flow:MeasuredFlow-raw
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionSubType ;
rdf:type ep-flow:ProductionFlowDefinitionSubType , owl:Class ;
rdfs:label "measured flow - raw"^^xsd:string ;
rdfs:subClassOf ep-flow:MeasuredFlow .
ep-flow:MeasuredFlow-recalibrated
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionSubType ;
rdf:type ep-flow:ProductionFlowDefinitionSubType , owl:Class ;
rdfs:label "measured flow - recalibrated"^^xsd:string ;
rdfs:subClassOf ep-flow:MeasuredFlow .
ep-flow:MeasuredInventory
rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ;
rdf:type ep-flow:ProductionInventoryDefinitionType , owl:Class ;
rdfs:label "measured inventory"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeInventory .
ep-flow:MeteredFlowFiscal
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
rdfs:label "metered flow fiscal"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeFlow .
ep-flow:NetProductFlow
rdf:type owl:Class , ep-flow:ProductFlowGrossOrNetType ;
rdf:type ep-flow:ProductFlowGrossOrNetType , owl:Class ;
rdfs:label "net product flow"^^xsd:string ;
rdfs:subClassOf ep-flow:ProductFlow .
ep-flow:NominatedFlow
rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
rdfs:label "nominated flow"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeFlow .
ep-flow:NominatedInventory
rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ;
rdf:type ep-flow:ProductionInventoryDefinitionType , owl:Class ;
rdfs:label "nominated inventory"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeInventory .
ep-flow:Overboard
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
rdfs:label "overboard"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeFlow .
ep-flow:PotentialFlow
rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
rdfs:label "potential flow"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeFlow .
ep-flow:PotentialInventory
rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ;
rdf:type ep-flow:ProductionInventoryDefinitionType , owl:Class ;
rdfs:label "potential inventory"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeInventory .
ep-flow:ProcessedFlow
rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
rdfs:label "processed flow"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeFlow .
ep-flow:ProcessedInventory
rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ;
rdf:type ep-flow:ProductionInventoryDefinitionType , owl:Class ;
rdfs:label "processed inventory"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeInventory .
......@@ -434,27 +434,27 @@ ep-flow:ProductInventory
rdfs:subClassOf ep-flow:Inventory .
ep-flow:ProductInventoryAdjustedClosingBalance
rdf:type ep-flow:ProductInventoryType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductInventoryType ;
rdfs:label "product inventory adjusted closing balance"^^xsd:string ;
rdfs:subClassOf ep-flow:ProductInventory .
ep-flow:ProductInventoryClosingBalance
rdf:type ep-flow:ProductInventoryType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductInventoryType ;
rdfs:label "product inventory closing balance"^^xsd:string ;
rdfs:subClassOf ep-flow:ProductInventory .
ep-flow:ProductInventoryClosingStorageBalance
rdf:type ep-flow:ProductInventoryType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductInventoryType ;
rdfs:label "product inventory closing storage balance"^^xsd:string ;
rdfs:subClassOf ep-flow:ProductInventory .
ep-flow:ProductInventoryOpFlex
rdf:type ep-flow:ProductInventoryType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductInventoryType ;
rdfs:label "product inventory opFlex"^^xsd:string ;
rdfs:subClassOf ep-flow:ProductInventory .
ep-flow:ProductInventoryOpeningBalance
rdf:type ep-flow:ProductInventoryType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductInventoryType ;
rdfs:label "product inventory opening balance"^^xsd:string ;
rdfs:subClassOf ep-flow:ProductInventory .
......@@ -469,7 +469,7 @@ ep-flow:ProductMaterialType
rdfs:subClassOf owl:Class .
ep-flow:Production
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
rdfs:label "production"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeFlow .
......@@ -554,72 +554,72 @@ ep-flow:ProductionTestWellHeadFlow
rdfs:subClassOf ep-flow:WholeLifeFlow .
ep-flow:QuotaFlow
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
rdfs:label "quota flow"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeFlow .
ep-flow:QuotaInventory
rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ;
rdf:type ep-flow:ProductionInventoryDefinitionType , owl:Class ;
rdfs:label "quota inventory"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeInventory .
ep-flow:RecommendedFlow
rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
rdfs:label "recommended flow"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeFlow .
ep-flow:RecommendedInventory
rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ;
rdf:type ep-flow:ProductionInventoryDefinitionType , owl:Class ;
rdfs:label "recommended inventory"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeInventory .
ep-flow:Sale
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
rdfs:label "sale"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeFlow .
ep-flow:SaleableFlow
rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
rdfs:label "saleable flow"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeFlow .
ep-flow:SaleableInventory
rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ;
rdf:type ep-flow:ProductionInventoryDefinitionType , owl:Class ;
rdfs:label "saleable inventory"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeInventory .
ep-flow:SampleOfMaterial
rdf:type owl:Class ;
rdfs:label "(temporal part of a) sample of material"^^xsd:string , "sample of material"^^xsd:string ;
rdfs:label "sample of material"^^xsd:string , "(temporal part of a) sample of material"^^xsd:string ;
rdfs:subClassOf ep-material:QuantityOfMaterial .
ep-flow:SimulatedFlow
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
rdfs:label "simulated flow"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeFlow .
ep-flow:SimulatedInventory
rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ;
rdf:type ep-flow:ProductionInventoryDefinitionType , owl:Class ;
rdfs:label "simulated inventory"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeInventory .
ep-flow:Storage
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
rdfs:label "storage"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeFlow .
ep-flow:TargetFlow
rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
rdfs:label "target flow"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeFlow .
ep-flow:TargetInventory
rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ;
rdf:type ep-flow:ProductionInventoryDefinitionType , owl:Class ;
rdfs:label "target inventory"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeInventory .
ep-flow:TariffBasisFlow
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
rdfs:label "tariff basis flow"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeFlow .
......@@ -634,7 +634,7 @@ ep-flow:TemporalPartOfAFlowDurationType
rdfs:subClassOf owl:Class .
ep-flow:ValueAdjustedFlow
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
rdfs:label "value adjusted flow"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeFlow .
......@@ -651,7 +651,7 @@ ep-flow:WholeLifeInventory
ep-flow:WholeLifeProductFlow
rdf:type owl:Class ;
rdfs:label "whole life product flow"^^xsd:string ;
rdfs:subClassOf ep-flow:ProductFlow , ep-flow:WholeLifeFlow .
rdfs:subClassOf ep-flow:WholeLifeFlow , ep-flow:ProductFlow .
ep-flow:WholeLifeProductInventory
rdf:type owl:Class ;
......@@ -661,7 +661,7 @@ ep-flow:WholeLifeProductInventory
ep-flow:WholeLifeProductionFlow
rdf:type owl:Class ;
rdfs:label "whole life production flow"^^xsd:string ;
rdfs:subClassOf ep-flow:ProductionFlow , ep-flow:WholeLifeFlow .
rdfs:subClassOf ep-flow:WholeLifeFlow , ep-flow:ProductionFlow .
ep-flow:WholeLifeProductionFlowNetwork
rdf:type owl:Class ;
......@@ -671,7 +671,7 @@ ep-flow:WholeLifeProductionFlowNetwork
ep-flow:WholeLifeProductionInventory
rdf:type owl:Class ;
rdfs:label "(whole life) production inventory"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeInventory , ep-flow:ProductionInventory .
rdfs:subClassOf ep-flow:ProductionInventory , ep-flow:WholeLifeInventory .
ep-flow:WholeLifeProductionInventoryCollection
rdf:type owl:Class ;
......@@ -679,7 +679,7 @@ ep-flow:WholeLifeProductionInventoryCollection
rdfs:subClassOf ep-flow:ProductionInventoryCollection .
ep-flow:allocatedTo
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:comment "facility to which a split of a flow or inventory is allocated"^^xsd:string ;
rdfs:domain ep-core:PhysicalObject ;
rdfs:label "allocatedTo"^^xsd:string ;
......@@ -687,13 +687,13 @@ ep-flow:allocatedTo
rdfs:subPropertyOf ep-flow:flowIntoOrOutOf .
ep-flow:dailyAverageAmountOfMaterial
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:domain ep-flow:Flow ;
rdfs:label "daily average amount of material"^^xsd:string ;
rdfs:range ep-flow:ClassOfMaterialWithMassCriterion .
ep-flow:energyContent
rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
rdfs:domain ep-material:QuantityOfMaterial ;
rdfs:label "energy content"^^xsd:string ;
rdfs:range ep-core:Work .
......@@ -725,7 +725,7 @@ ep-flow:flowOutOf
rdfs:subPropertyOf ep-flow:flowIntoOrOutOf .
ep-flow:grossCalorificValue
rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
rdfs:domain ep-material:QuantityOfMaterial ;
rdfs:label "gross calorific value"^^xsd:string ;
rdfs:range ep-core:EnergyPerVolume .
......@@ -745,29 +745,29 @@ ep-flow:hasNetworkPart
rdfs:subPropertyOf ep-core:hasPart .
ep-flow:materialThatFlows
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:domain ep-flow:Flow ;
rdfs:label "material that flows"^^xsd:string ;
rdfs:range ep-material:QuantityOfMaterial .
ep-flow:rateOfFlowOfMaterial
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:label "rate of flow of material"^^xsd:string ;
rdfs:range ep-core:MeasureOfAmountOfMaterial .
ep-flow:summedDailyMass
rdf:type ep-core:Class_of_indirect_property , owl:ObjectProperty , owl:FunctionalProperty ;
rdf:type owl:FunctionalProperty , owl:ObjectProperty , ep-core:Class_of_indirect_property ;
rdfs:domain ep-flow:Inventory ;
rdfs:label "summed daily mass"^^xsd:string ;
rdfs:range ep-core:Mass .
ep-flow:totalVolumeOfMaterial-deprecated
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:label "total volume of material"^^xsd:string ;
rdfs:range ep-core:MeasureOfAmountOfMaterial .
ep-flow:yearlyAverageAmountOfMaterial
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:domain ep-flow:Flow ;
rdfs:label "yearly average amount of material"^^xsd:string ;
rdfs:range ep-flow:ClassOfMaterialWithMassCriterion .
......
......@@ -22,6 +22,88 @@
<http://www.epim.no/schemas/mprml/1#A_Global-Objects>
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/report#ProductionReportKind> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "reportKind"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ;
sp:predicate rdfs:subClassOf ;
sp:subject
[ sp:varName "reportKind"^^xsd:string
]
] [ sp:object
[ sp:varName "kind"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject
[ sp:varName "reportKind"^^xsd:string
]
]) ;
sp:where ([ sp:object
[ sp:varName "productVolumeRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productVolume> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productVolumeRef"^^xsd:string
]
] [ sp:object
[ sp:varName "productVolumeRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "productVolumeReport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductVolumeReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productVolumeReport"^^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: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-dpr-spin-lib:buildProductionReportKindURI ;
sp:arg1 [ sp:varName "kind"^^xsd:string
]
] ;
sp:variable
[ sp:varName "reportKind"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 20041 Set the production facility - taken from context"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "productionFacility"^^xsd:string
......@@ -107,30 +189,48 @@
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 20020 Add the report kind ."^^xsd:string ;
rdfs:comment "STEP 20033 Inherit end dates from the report context if necessary"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "reportKind"^^xsd:string
[ sp:varName "dateEnd"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
[ sp:varName "productVolumeReport"^^xsd:string
[ sp:varName "productionFlowNetwork"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReportKind> ;
sp:predicate rdf:type ;
] [ sp:object
[ sp:varName "dateEnd"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
[ sp:varName "reportKind"^^xsd:string
[ sp:varName "productionFlowNetworkToDate"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ;
sp:predicate rdfs:subClassOf ;
] [ sp:object
[ sp:varName "dateEnd"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
[ sp:varName "reportKind"^^xsd:string
[ sp:varName "productionInventoryCollection"^^xsd:string
]
] [ sp:object
[ sp:varName "kind"^^xsd:string
[ sp:varName "dateEnd"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
[ sp:varName "reportKind"^^xsd:string
[ sp:varName "productionInventoryCollectionToDate"^^xsd:string
]
] [ sp:object
[ 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 "dateEnd"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
[ sp:varName "productionFacilityToDate"^^xsd:string
]
]) ;
sp:where ([ sp:object
......@@ -138,103 +238,105 @@
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "dateEnd"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalEnd> ;
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
]
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "dateEndx"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dateEnd> ;
sp:subject
[ sp:varName "productVolumeRef"^^xsd:string
]
])
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "dTimEndx"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dTimEnd> ;
sp:subject
[ sp:varName "productVolumeRef"^^xsd:string
]
])
] [ sp:object
[ sp:varName "productVolumeRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "productVolumeReport"^^xsd:string
[ sp:varName "productionFlowNetwork"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductVolumeReport> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowNetwork> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productVolumeReport"^^xsd:string
[ sp:varName "productionFlowNetwork"^^xsd:string
]
] [ sp:object
[ sp:varName "nameRef"^^xsd:string
[ sp:varName "productionFlowNetworkToDate"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "productVolumeRef"^^xsd:string
[ sp:varName "productionFlowNetwork"^^xsd:string
]
] [ sp:object
[ sp:varName "name"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowNetworkToDate> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "nameRef"^^xsd:string
[ sp:varName "productionFlowNetworkToDate"^^xsd:string
]
] [ 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-dpr-spin-lib:buildProductionReportKindURI ;
sp:arg1 [ sp:varName "kind"^^xsd:string
]
] ;
sp:variable
[ sp:varName "reportKind"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 20050 Set the context facility - installation is always specified"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "contextFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/geography#locatedWithin> ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "productionFacility"^^xsd:string
[ sp:varName "productionInventoryCollection"^^xsd:string
]
]) ;
sp:where ([ sp:object
[ sp:varName "productVolumeRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productVolume> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionInventoryCollection> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productVolumeRef"^^xsd:string
[ sp:varName "productionInventoryCollection"^^xsd:string
]
] [ sp:object
[ sp:varName "installationRef"^^xsd:string
[ sp:varName "productionInventoryCollectionToDate"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "productVolumeRef"^^xsd:string
[ sp:varName "productionInventoryCollection"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionInventoryCollectionToDate> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionInventoryCollectionToDate"^^xsd:string
]
] [ sp:object
[ sp:varName "installationRef"^^xsd:string
[ sp:varName "productVolumeRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "productionFacility"^^xsd:string
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "contextFacilityRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#contextFacilityRef> ;
] [ 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 "contextFacilityRef"^^xsd:string
[ sp:varName "productionFacilityToDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "contextFacility"^^xsd:string
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionFacilityToDate"^^xsd:string
]
])
] ;
......@@ -405,53 +507,72 @@
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 20011 Create the reporting period ProductionFlowNetwork and the ProductionFlowNetworkToDate."^^xsd:string ;
sp:templates ([ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
rdfs:comment "STEP 20031 Record the start and end dates"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "dateStart"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
sp:subject
[ sp:varName "productVolumeReport"^^xsd:string
[ sp:varName "productionFlowNetwork"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowNetwork> ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object
[ sp:varName "temporalPartDurationType"^^xsd:string
[ sp:varName "dateEnd"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object
[ sp:varName "productVolumeRef"^^xsd:string
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
[ sp:varName "productionFlowNetwork"^^xsd:string
]
] [ sp:object
[ sp:varName "dateEnd"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject _:b1
] [ sp:object _:b2 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b1
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowNetworkToDate> ;
sp:predicate rdf:type ;
sp:subject _:b2
] [ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
[ sp:varName "productionFlowNetworkToDate"^^xsd:string
]
] [ sp:object _:b2 ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ;
] [ sp:object
[ sp:varName "dateStart"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
sp:subject
[ sp:varName "productionFacilityToDate"^^xsd:string
[ sp:varName "productionInventoryCollection"^^xsd:string
]
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
] [ sp:object
[ sp:varName "dateEnd"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
[ sp:varName "productionInventoryCollection"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ;
sp:predicate rdf:type ;
] [ sp:object
[ sp:varName "dateEnd"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
[ sp:varName "productionInventoryCollectionToDate"^^xsd:string
]
] [ sp:object
[ 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 "dateEnd"^^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:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
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> ;
......@@ -462,16 +583,66 @@
[ sp:varName "productVolumeRef"^^xsd:string
]
] [ sp:object
[ sp:varName "dateStart"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dateStart> ;
sp:subject
[ sp:varName "productVolumeRef"^^xsd:string
]
] [ sp:object
[ sp:varName "dateEnd"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dateEnd> ;
sp:subject
[ sp:varName "productVolumeRef"^^xsd:string
]
] [ sp:object
[ sp:varName "productVolumeRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "productVolumeReport"^^xsd:string
[ sp:varName "productionFlowNetwork"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductVolumeReport> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlow> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productVolumeReport"^^xsd:string
[ sp:varName "productionFlowNetwork"^^xsd:string
]
] [ sp:object
[ sp:varName "productionFlowNetworkToDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "productionFlowNetwork"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowNetworkToDate> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionFlowNetworkToDate"^^xsd:string
]
] [ sp:object
[ sp:varName "productVolumeRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "productionInventoryCollection"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionInventoryCollection> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionInventoryCollection"^^xsd:string
]
] [ sp:object
[ sp:varName "productionInventoryCollectionToDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "productionInventoryCollection"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionInventoryCollectionToDate> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionInventoryCollectionToDate"^^xsd:string
]
] [ sp:object
[ sp:varName "productVolumeRef"^^xsd:string
......@@ -497,76 +668,45 @@
sp:subject
[ sp:varName "productionFacilityToDate"^^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:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:selectTemporalPartDurationType ;
sp:arg1 [ sp:varName "periodKindRef"^^xsd:string
]
] ;
sp:variable
[ sp:varName "temporalPartDurationType"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 20010 Create the ProductVolumeReport; the period ProductionFacility and the ProductionFacilityToDate ."^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductVolumeReport> ;
sp:predicate rdf:type ;
sp:subject _:b3
] [ sp:object
[ sp:varName "productionReport"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject _:b3
] [ sp:object
[ sp:varName "name"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject _:b3
] [ sp:object
[ sp:varName "reportPeriodType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject _:b3
] [ sp:object
[ sp:varName "productVolumeRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject _:b3
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
rdfs:comment "STEP 20011 Create the reporting period ProductionFlowNetwork and the ProductionFlowNetworkToDate."^^xsd:string ;
sp:templates ([ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
sp:subject
[ sp:varName "productVolumeReport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowNetwork> ;
sp:predicate rdf:type ;
sp:subject _:b4
sp:subject _:b1
] [ sp:object
[ sp:varName "temporalPartDurationType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject _:b4
sp:subject _:b1
] [ sp:object
[ sp:varName "productVolumeRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject _:b4
] [ sp:object _:b5 ;
sp:subject _:b1
] [ sp:object _:b2 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b4
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ;
sp:subject _:b1
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowNetworkToDate> ;
sp:predicate rdf:type ;
sp:subject _:b5
] [ sp:object
[ sp:varName "title"^^xsd:string
] ;
sp:predicate <http://purl.org/dc/elements/1.1/title> ;
sp:subject _:b3
sp:subject _:b2
] [ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object _:b2 ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ;
sp:subject
[ sp:varName "productionFacilityToDate"^^xsd:string
]
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
......@@ -589,18 +729,40 @@
[ sp:varName "productVolumeRef"^^xsd:string
]
] [ sp:object
[ sp:varName "nameRef"^^xsd:string
[ sp:varName "productVolumeRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "productVolumeReport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductVolumeReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productVolumeReport"^^xsd:string
]
] [ sp:object
[ sp:varName "productVolumeRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ 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
[ sp:varName "name"^^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 "nameRef"^^xsd:string
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionFacilityToDate"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
......@@ -611,31 +773,43 @@
[ sp:varName "productVolumeRef"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
] [ rdf:type sp:Exists ;
sp:elements ([ sp:object
[ sp:varName "titleRef"^^xsd:string
[ sp:varName "facilityRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#titleRef> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#facilityRef> ;
sp:subject
[ sp:varName "productVolumeRef"^^xsd:string
]
] [ sp:object
[ sp:varName "title"^^xsd:string
[ sp:varName "flowRef"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#flowRef> ;
sp:subject
[ sp:varName "titleRef"^^xsd:string
[ sp:varName "facilityRef"^^xsd:string
]
] [ sp:object
[ sp:varName "flowKind"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject
[ sp:varName "flowRef"^^xsd:string
]
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:selectReportPeriodType ;
sp:arg1 [ sp:varName "periodKindRef"^^xsd:string
[ rdf:type ep-mpr-spin-lib:selectProductionFlowPurposeType ;
sp:arg1 [ sp:varName "flowKind"^^xsd:string
]
] ;
sp:variable
[ sp:varName "reportPeriodType"^^xsd:string
[ sp:varName "productionFlowPurposeType"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowPurposeType> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionFlowPurposeType"^^xsd:string
]
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:selectTemporalPartDurationType ;
......@@ -649,33 +823,14 @@
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 20040 Set the production facility - supplied"^^xsd:string ;
rdfs:comment "STEP 20050 Set the context facility - installation is always specified"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "productionFacility"^^xsd:string
[ sp:varName "contextFacility"^^xsd:string
] ;
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:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "productionFacilityToDate"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ;
sp:predicate rdf:type ;
sp:predicate <http://www.reportinghub.no/ep/schema/geography#locatedWithin> ;
sp:subject
[ sp:varName "productionFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "normalizedProductionFacilityName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#hasDerivedText> ;
sp:subject
[ sp:varName "productVolumeRef"^^xsd:string
]
]) ;
sp:where ([ sp:object
[ sp:varName "productVolumeRef"^^xsd:string
......@@ -702,90 +857,108 @@
[ 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/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
[ sp:varName "contextFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
sp:predicate rdf:type ;
])
] ;
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 _:b3 ;
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 _:b3
] [ sp:object
[ sp:varName "productionFacilityToDate"^^xsd:string
[ sp:varName "operator"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b3
]) ;
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/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionFacilityToDate"^^xsd:string
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type spl:object ;
sp:arg1 [ sp:varName "installationRef"^^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 "operatorRef"^^xsd:string
] ;
sp:arg2 <http://www.reportinghub.no/ep/transform/transform-helper-schema#hasDerivedText>
sp:predicate <http://www.epim.no/schemas/mprml/1#operatorRef> ;
sp:subject
[ sp:varName "productVolumeRef"^^xsd:string
]
] [ sp:object
[ sp:varName "operatorRef"^^xsd:string
] ;
sp:variable
[ sp:varName "normalizedProductionFacilityName"^^xsd:string
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "operator"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 20012 Create the period ProductionInventoryCollection and the ProductionInventoryCollectionToDate."^^xsd:string ;
sp:templates ([ sp:object _:b6 ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
sp:subject
[ sp:varName "productVolumeReport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionInventoryCollection> ;
sp:predicate rdf:type ;
sp:subject _:b6
] [ sp:object
[ sp:varName "temporalPartDurationType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject _:b6
] [ sp:object
[ sp:varName "productVolumeRef"^^xsd:string
rdfs:comment "STEP 20040 Set the production facility - supplied"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "productionFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#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/flow#ProductionInventoryCollectionToDate> ;
sp:predicate rdf:type ;
sp:subject _:b7
] [ sp:object _:b6 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasSpatialPart> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object _:b7 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasSpatialPart> ;
] [ 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 spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
[ sp:varName "productionFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "normalizedProductionFacilityName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#hasDerivedText> ;
sp:subject
[ sp:varName "productVolumeRef"^^xsd:string
]
]) ;
sp:where ([ sp:object
[ sp:varName "productVolumeRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
......@@ -796,16 +969,18 @@
[ sp:varName "productVolumeRef"^^xsd:string
]
] [ sp:object
[ sp:varName "productVolumeRef"^^xsd:string
[ sp:varName "installationRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ;
sp:subject
[ sp:varName "productVolumeReport"^^xsd:string
[ sp:varName "productVolumeRef"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductVolumeReport> ;
sp:predicate rdf:type ;
] [ sp:object
[ sp:varName "installationRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "productVolumeReport"^^xsd:string
[ sp:varName "productionFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "productVolumeRef"^^xsd:string
......@@ -831,71 +1006,42 @@
sp:subject
[ sp:varName "productionFacilityToDate"^^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:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:selectTemporalPartDurationType ;
sp:arg1 [ sp:varName "periodKindRef"^^xsd:string
]
[ rdf:type spl:object ;
sp:arg1 [ sp:varName "installationRef"^^xsd:string
] ;
sp:arg2 <http://www.reportinghub.no/ep/transform/transform-helper-schema#hasDerivedText>
] ;
sp:variable
[ sp:varName "temporalPartDurationType"^^xsd:string
[ sp:varName "normalizedProductionFacilityName"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 20033 Inherit end dates from the report context if necessary"^^xsd:string ;
rdfs:comment "STEP 20032 Inherit start dates from the report context if necessary"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "dateEnd"^^xsd:string
[ sp:varName "dateStart"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
sp:subject
[ sp:varName "productionFlowNetwork"^^xsd:string
]
] [ sp:object
[ sp:varName "dateEnd"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
[ sp:varName "productionFlowNetworkToDate"^^xsd:string
]
] [ sp:object
[ sp:varName "dateEnd"^^xsd:string
[ sp:varName "dateStart"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
sp:subject
[ sp:varName "productionInventoryCollection"^^xsd:string
]
] [ sp:object
[ sp:varName "dateEnd"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
[ sp:varName "productionInventoryCollectionToDate"^^xsd:string
]
] [ sp:object
[ sp:varName "dateEnd"^^xsd:string
[ sp:varName "dateStart"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
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:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
[ sp:varName "productionFacilityToDate"^^xsd:string
]
]) ;
sp:where ([ sp:object
[ sp:varName "productVolumeRef"^^xsd:string
......@@ -903,9 +1049,9 @@
sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "dateEnd"^^xsd:string
[ sp:varName "dateStart"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalEnd> ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalStart> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productVolume> ;
sp:predicate rdf:type ;
......@@ -914,18 +1060,18 @@
]
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "dateEndx"^^xsd:string
[ sp:varName "dateStartx"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dateEnd> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dateStart> ;
sp:subject
[ sp:varName "productVolumeRef"^^xsd:string
]
])
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "dTimEndx"^^xsd:string
[ sp:varName "dTimStartx"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dTimEnd> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dTimStart> ;
sp:subject
[ sp:varName "productVolumeRef"^^xsd:string
]
......@@ -1006,274 +1152,203 @@
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 20032 Inherit start dates from the report context if necessary"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "dateStart"^^xsd:string
rdfs:comment "STEP 20010 Create the ProductVolumeReport; the period ProductionFacility and the ProductionFacilityToDate ."^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductVolumeReport> ;
sp:predicate rdf:type ;
sp:subject _:b4
] [ sp:object
[ sp:varName "productionReport"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
sp:subject
[ sp:varName "productionFlowNetwork"^^xsd:string
]
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject _:b4
] [ sp:object
[ sp:varName "dateStart"^^xsd:string
[ sp:varName "name"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
sp:subject
[ sp:varName "productionInventoryCollection"^^xsd:string
]
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject _:b4
] [ sp:object
[ sp:varName "dateStart"^^xsd:string
[ sp:varName "reportPeriodType"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
]) ;
sp:where ([ sp:object
sp:predicate rdf:type ;
sp:subject _:b4
] [ sp:object
[ sp:varName "productVolumeRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
sp:subject spin:_this
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject _:b4
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
sp:predicate rdf:type ;
sp:subject _:b5
] [ sp:object
[ sp:varName "dateStart"^^xsd:string
[ sp:varName "temporalPartDurationType"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalStart> ;
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
]
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "dateStartx"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dateStart> ;
sp:subject
[ sp:varName "productVolumeRef"^^xsd:string
]
])
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "dTimStartx"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dTimStart> ;
sp:subject
[ sp:varName "productVolumeRef"^^xsd:string
]
])
sp:subject _:b5
] [ sp:object
[ sp:varName "productVolumeRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "productionFlowNetwork"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowNetwork> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionFlowNetwork"^^xsd:string
]
] [ sp:object
[ sp:varName "productionFlowNetworkToDate"^^xsd:string
] ;
sp:subject _:b5
] [ sp:object _:b6 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "productionFlowNetwork"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowNetworkToDate> ;
sp:subject _:b5
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionFlowNetworkToDate"^^xsd:string
]
sp:subject _:b6
] [ sp:object
[ sp:varName "productVolumeRef"^^xsd:string
[ sp:varName "title"^^xsd:string
] ;
sp:predicate <http://purl.org/dc/elements/1.1/title> ;
sp:subject _:b4
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "productionInventoryCollection"^^xsd:string
[ sp:varName "productionReport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionInventoryCollection> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionInventoryCollection"^^xsd:string
[ sp:varName "productionReport"^^xsd:string
]
] [ sp:object
[ sp:varName "productionInventoryCollectionToDate"^^xsd:string
[ sp:varName "productVolumeRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "productionInventoryCollection"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionInventoryCollectionToDate> ;
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 "productionInventoryCollectionToDate"^^xsd:string
[ sp:varName "productVolumeRef"^^xsd:string
]
] [ sp:object
[ sp:varName "productVolumeRef"^^xsd:string
[ sp:varName "nameRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
sp:predicate rdf:type ;
sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
[ sp:varName "productVolumeRef"^^xsd:string
]
] [ sp:object
[ sp:varName "productionFacilityToDate"^^xsd:string
[ sp:varName "name"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
[ sp:varName "nameRef"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ;
sp:predicate rdf:type ;
] [ 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 "productionFacilityToDate"^^xsd:string
[ sp:varName "productVolumeRef"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "titleRef"^^xsd:string
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 20031 Record the start and end dates"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "dateStart"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#titleRef> ;
sp:subject
[ sp:varName "productionFlowNetwork"^^xsd:string
[ sp:varName "productVolumeRef"^^xsd:string
]
] [ sp:object
[ sp:varName "dateEnd"^^xsd:string
[ sp:varName "title"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "productionFlowNetwork"^^xsd:string
[ sp:varName "titleRef"^^xsd:string
]
] [ sp:object
[ sp:varName "dateEnd"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
[ sp:varName "productionFlowNetworkToDate"^^xsd:string
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:selectReportPeriodType ;
sp:arg1 [ sp:varName "periodKindRef"^^xsd:string
]
] [ sp:object
[ sp:varName "dateStart"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
sp:subject
[ sp:varName "productionInventoryCollection"^^xsd:string
sp:variable
[ sp:varName "reportPeriodType"^^xsd:string
]
] [ sp:object
[ sp:varName "dateEnd"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
[ sp:varName "productionInventoryCollection"^^xsd:string
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:selectTemporalPartDurationType ;
sp:arg1 [ sp:varName "periodKindRef"^^xsd:string
]
] [ sp:object
[ sp:varName "dateEnd"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
[ sp:varName "productionInventoryCollectionToDate"^^xsd:string
sp:variable
[ sp:varName "temporalPartDurationType"^^xsd:string
]
] [ sp:object
[ sp:varName "dateStart"^^xsd:string
])
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 20012 Create the period ProductionInventoryCollection and the ProductionInventoryCollectionToDate."^^xsd:string ;
sp:templates ([ sp:object _:b7 ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
[ sp:varName "productVolumeReport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionInventoryCollection> ;
sp:predicate rdf:type ;
sp:subject _:b7
] [ sp:object
[ sp:varName "dateEnd"^^xsd:string
[ sp:varName "temporalPartDurationType"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
sp:predicate rdf:type ;
sp:subject _:b7
] [ sp:object
[ sp:varName "dateEnd"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
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> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productVolume> ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#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/flow#ProductionInventoryCollectionToDate> ;
sp:predicate rdf:type ;
sp:subject _:b8
] [ sp:object _:b7 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasSpatialPart> ;
sp:subject
[ sp:varName "productVolumeRef"^^xsd:string
]
] [ sp:object
[ sp:varName "dateStart"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dateStart> ;
sp:subject
[ sp:varName "productVolumeRef"^^xsd:string
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "dateEnd"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dateEnd> ;
] [ sp:object _:b8 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasSpatialPart> ;
sp:subject
[ sp:varName "productVolumeRef"^^xsd:string
[ sp:varName "productionFacilityToDate"^^xsd:string
]
] [ sp:object
[ sp:varName "productVolumeRef"^^xsd:string
] ;
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "productionFlowNetwork"^^xsd:string
[ sp:varName "productionReport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlow> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionFlowNetwork"^^xsd:string
[ sp:varName "productionReport"^^xsd:string
]
] [ sp:object
[ sp:varName "productionFlowNetworkToDate"^^xsd:string
[ sp:varName "productVolumeRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "productionFlowNetwork"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowNetworkToDate> ;
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 "productionFlowNetworkToDate"^^xsd:string
[ sp:varName "productVolumeRef"^^xsd:string
]
] [ sp:object
[ sp:varName "productVolumeRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "productionInventoryCollection"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionInventoryCollection> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionInventoryCollection"^^xsd:string
]
] [ sp:object
[ sp:varName "productionInventoryCollectionToDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "productionInventoryCollection"^^xsd:string
[ sp:varName "productVolumeReport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionInventoryCollectionToDate> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductVolumeReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionInventoryCollectionToDate"^^xsd:string
[ sp:varName "productVolumeReport"^^xsd:string
]
] [ sp:object
[ sp:varName "productVolumeRef"^^xsd:string
......@@ -1299,66 +1374,49 @@
sp:subject
[ sp:varName "productionFacilityToDate"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "periodKindRef"^^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 _:b8 ;
sp:predicate <http://www.reportinghub.no/ep/schema/facility#facilityOperator> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#periodKindRef> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
[ sp:varName "productVolumeRef"^^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
])
] [ rdf:type sp:Exists ;
sp:elements ([ sp:object
[ sp:varName "facilityRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b8
]) ;
sp:where ([ sp:object
sp:predicate <http://www.epim.no/schemas/mprml/1#facilityRef> ;
sp:subject
[ 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:varName "flowRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#flowRef> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
[ sp:varName "facilityRef"^^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:object <http://www.epim.no/schemas/mprml/1#RF_inventory> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject
[ sp:varName "productVolumeRef"^^xsd:string
[ sp:varName "flowRef"^^xsd:string
]
] [ sp:object
[ sp:varName "operatorRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#operatorRef> ;
sp:subject
[ sp:varName "productVolumeRef"^^xsd:string
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:selectTemporalPartDurationType ;
sp:arg1 [ sp:varName "periodKindRef"^^xsd:string
]
] [ sp:object
[ sp:varName "operatorRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "operator"^^xsd:string
sp:variable
[ sp:varName "temporalPartDurationType"^^xsd:string
]
])
] .
<http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeReport-v1.0>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/transform/transform-helper-schema> , <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> , <http://www.reportinghub.no/ep/transform/transform-helper-schema> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
......
This diff could not be displayed because it is too large.