David Leal

Updates to MPR transforms and related schemas following ontological analysis

......@@ -15,91 +15,161 @@
<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-activity> ;
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:versionInfo "Created with TopBraid Composer"^^xsd:string .
ep-core:PhysicalThingAtInstant
rdf:type ep-flow:TemporalPartDurationType , owl:Class ;
rdfs:label "physical thing at instant"^^xsd:string ;
rdfs:subClassOf ep-core:PhysicalThing .
ep-core:PhysicalThingDuringGasYearToDate
rdf:type ep-flow:TemporalPartDurationType , owl:Class ;
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 ;
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 ;
rdfs:label "physical thing during one day"^^xsd:string ;
rdfs:subClassOf ep-core:PhysicalThing .
ep-core:PhysicalThingDuringOneGasDay
rdf:type owl:Class , ep-flow:TemporalPartDurationType ;
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 ;
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 ;
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 ;
rdfs:label "physical thing during one month"^^xsd:string ;
rdfs:subClassOf ep-core:PhysicalThing .
ep-core:PhysicalThingDuringOneWeek
rdf:type owl:Class , ep-flow:TemporalPartDurationType ;
rdfs:label "physical thing during one week"^^xsd:string ;
rdfs:subClassOf ep-core:PhysicalThing .
ep-core:PhysicalThingDuringOneYear
rdf:type owl:Class , ep-flow:TemporalPartDurationType ;
rdfs:label "physical thing during one year"^^xsd:string ;
rdfs:subClassOf ep-core:PhysicalThing .
ep-core:PhysicalThingDuringYearToDate
rdf:type owl:Class , ep-flow:TemporalPartDurationType ;
rdfs:label "physical thing during year to date"^^xsd:string ;
rdfs:subClassOf ep-core:PhysicalThing .
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:AllocatedInventory
rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ;
rdfs:label "allocated inventory"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeInventory .
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 .
ep-flow:BudgetInventory
rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ;
rdfs:label "budget inventory"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeInventory .
ep-flow:ClassOfMaterialWithMassCriterion
rdf:type rdfs:Class ;
rdfs:label "class of material with mass criterion"^^xsd:string ;
rdfs:subClassOf owl:Class .
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:ConstraintInventory
rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ;
rdfs:label "constraint inventory"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeInventory .
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 .
......@@ -109,47 +179,62 @@ 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:DerivedInventory
rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ;
rdfs:label "derived inventory"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeInventory .
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 .
ep-flow:DifferenceInventory
rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ;
rdfs:label "difference inventory"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeInventory .
ep-flow:ElectricPowerFlow
rdf:type owl:Class ;
rdfs:label "flow of electricity"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:EstimatedFlow
rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
rdfs:label "estimated flow"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeFlow .
ep-flow:EstimatedInventory
rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ;
rdfs:label "estimated inventory"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeInventory .
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 .
......@@ -159,42 +244,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 .
......@@ -204,125 +289,130 @@ 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:ForecastInventory
rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ;
rdfs:label "forecast inventory"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeInventory .
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-core:PhysicalObject .
ep-flow:MassAdjustedFlow
rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
rdfs:label "mass adjusted flow"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeFlow .
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:MeasuredInventory
rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ;
rdfs:label "measured inventory"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeInventory .
ep-flow:MeteredFlowFiscal
rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
rdfs:label "metered flow fiscal"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeFlow .
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 ;
rdfs:label "object that lasts one day"^^xsd:string ;
rdfs:subClassOf ep-core:PhysicalObject .
ep-flow:ObjectThatLastsOneMonth
rdf:type owl:Class , ep-flow:TemporalPartDurationType ;
rdfs:label "object that lasts one month"^^xsd:string ;
rdfs:subClassOf ep-core:PhysicalObject .
ep-flow:ObjectThatLastsOneWeek
rdf:type owl:Class , ep-flow:TemporalPartDurationType ;
rdfs:label "object that lasts one week"^^xsd:string ;
rdfs:subClassOf ep-core:PhysicalObject .
ep-flow:ObjectThatLastsOneYear
rdf:type owl:Class , ep-flow:TemporalPartDurationType ;
rdfs:label "object that lasts one year"^^xsd:string ;
rdfs:subClassOf ep-core:PhysicalObject .
ep-flow:NominatedInventory
rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ;
rdfs:label "nominated inventory"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeInventory .
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:PotentialInventory
rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ;
rdfs:label "potential inventory"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeInventory .
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 .
ep-flow:ProcessedInventory
rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ;
rdfs:label "processed inventory"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeInventory .
ep-flow:ProductFlow
rdf:type owl:Class ;
rdfs:label "(temporal part of a) product flow"^^xsd:string ;
......@@ -344,27 +434,27 @@ ep-flow:ProductInventory
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 .
......@@ -379,7 +469,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 .
......@@ -398,6 +488,16 @@ ep-flow:ProductionFlowDefinitionType
rdfs:label " production flow definition type"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-flow:ProductionFlowNetwork
rdf:type owl:Class ;
rdfs:label "(temporal part of a) production flow network"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:ProductionFlowNetworkToDate
rdf:type owl:Class ;
rdfs:label "production flow network to date"^^xsd:string ;
rdfs:subClassOf ep-flow:ProductionFlowNetwork .
ep-flow:ProductionFlowPurposeType
rdf:type rdfs:Class ;
rdfs:label " production flow purpose type"^^xsd:string ;
......@@ -413,91 +513,21 @@ ep-flow:ProductionInventory
rdfs:label "(temporal part of a) production inventory"^^xsd:string ;
rdfs:subClassOf ep-flow:Inventory .
ep-flow:ProductionInventoryAllocatedMaterial
rdf:type ep-flow:ProductionInventoryMaterialType , owl:Class ;
rdfs:label "production inventory allocated material"^^xsd:string ;
rdfs:subClassOf ep-flow:ProductionInventory .
ep-flow:ProductionInventoryBudgetMaterial
rdf:type ep-flow:ProductionInventoryMaterialType , owl:Class ;
rdfs:label "production inventory budget material"^^xsd:string ;
rdfs:subClassOf ep-flow:ProductionInventory .
ep-flow:ProductionInventoryConstraintMaterial
rdf:type ep-flow:ProductionInventoryMaterialType , owl:Class ;
rdfs:label "production inventory constraint material"^^xsd:string ;
rdfs:subClassOf ep-flow:ProductionInventory .
ep-flow:ProductionInventoryDerivedMaterial
rdf:type ep-flow:ProductionInventoryMaterialType , owl:Class ;
rdfs:label "production inventory derived material"^^xsd:string ;
rdfs:subClassOf ep-flow:ProductionInventory .
ep-flow:ProductionInventoryDifferenceMaterial
rdf:type owl:Class , ep-flow:ProductionInventoryMaterialType ;
rdfs:label "production inventory difference material"^^xsd:string ;
rdfs:subClassOf ep-flow:ProductionInventory .
ep-flow:ProductionInventoryEstimatedMaterial
rdf:type ep-flow:ProductionInventoryMaterialType , owl:Class ;
rdfs:label "production inventory estimated material"^^xsd:string ;
rdfs:subClassOf ep-flow:ProductionInventory .
ep-flow:ProductionInventoryCollection
rdf:type owl:Class ;
rdfs:label "(temporal part of a) production inventory collection"^^xsd:string ;
rdfs:subClassOf ep-flow:Inventory .
ep-flow:ProductionInventoryForecastMaterial
rdf:type ep-flow:ProductionInventoryMaterialType , owl:Class ;
rdfs:label "production inventory forecast material"^^xsd:string ;
rdfs:subClassOf ep-flow:ProductionInventory .
ep-flow:ProductionInventoryCollectionToDate
rdf:type owl:Class ;
rdfs:label "production inventory collection to date"^^xsd:string ;
rdfs:subClassOf ep-flow:ProductionInventoryCollection .
ep-flow:ProductionInventoryMaterialType
ep-flow:ProductionInventoryDefinitionType
rdf:type rdfs:Class ;
rdfs:label " production inventory material type"^^xsd:string ;
rdfs:label " production inventory definition type"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-flow:ProductionInventoryMeasuredMaterial
rdf:type ep-flow:ProductionInventoryMaterialType , owl:Class ;
rdfs:label "production inventory measured material"^^xsd:string ;
rdfs:subClassOf ep-flow:ProductionInventory .
ep-flow:ProductionInventoryNominatedMaterial
rdf:type ep-flow:ProductionInventoryMaterialType , owl:Class ;
rdfs:label "production inventory nominated material"^^xsd:string ;
rdfs:subClassOf ep-flow:ProductionInventory .
ep-flow:ProductionInventoryPotentialMaterial
rdf:type ep-flow:ProductionInventoryMaterialType , owl:Class ;
rdfs:label "production inventory potential material"^^xsd:string ;
rdfs:subClassOf ep-flow:ProductionInventory .
ep-flow:ProductionInventoryProcessedMaterial
rdf:type ep-flow:ProductionInventoryMaterialType , owl:Class ;
rdfs:label "production inventory processed material"^^xsd:string ;
rdfs:subClassOf ep-flow:ProductionInventory .
ep-flow:ProductionInventoryQuotaMaterial
rdf:type ep-flow:ProductionInventoryMaterialType , owl:Class ;
rdfs:label "production inventory quota material"^^xsd:string ;
rdfs:subClassOf ep-flow:ProductionInventory .
ep-flow:ProductionInventoryRecommendedMaterial
rdf:type ep-flow:ProductionInventoryMaterialType , owl:Class ;
rdfs:label "production inventory recommended material"^^xsd:string ;
rdfs:subClassOf ep-flow:ProductionInventory .
ep-flow:ProductionInventorySaleableMaterial
rdf:type ep-flow:ProductionInventoryMaterialType , owl:Class ;
rdfs:label "production inventory saleable material"^^xsd:string ;
rdfs:subClassOf ep-flow:ProductionInventory .
ep-flow:ProductionInventorySimulatedMaterial
rdf:type ep-flow:ProductionInventoryMaterialType , owl:Class ;
rdfs:label "production inventory simulated material"^^xsd:string ;
rdfs:subClassOf ep-flow:ProductionInventory .
ep-flow:ProductionInventoryTargetMaterial
rdf:type ep-flow:ProductionInventoryMaterialType , owl:Class ;
rdfs:label "production inventory target material"^^xsd:string ;
rdfs:subClassOf ep-flow:ProductionInventory .
ep-flow:ProductionInventoryToDate
rdf:type owl:Class ;
rdfs:label "production inventory to date"^^xsd:string ;
......@@ -524,47 +554,72 @@ 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:QuotaInventory
rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ;
rdfs:label "quota inventory"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeInventory .
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:RecommendedInventory
rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ;
rdfs:label "recommended inventory"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeInventory .
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 .
ep-flow:SaleableInventory
rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ;
rdfs:label "saleable inventory"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeInventory .
ep-flow:SampleOfMaterial
rdf:type owl:Class ;
rdfs:label "sample of material"^^xsd:string , "(temporal part of a) sample of material"^^xsd:string ;
rdfs:label "(temporal part of a) sample of material"^^xsd:string , "sample of material"^^xsd:string ;
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:SimulatedInventory
rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ;
rdfs:label "simulated inventory"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeInventory .
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 .
ep-flow:TargetInventory
rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ;
rdfs:label "target inventory"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeInventory .
ep-flow:TariffBasisFlow
rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
rdfs:label "tariff basis flow"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeFlow .
......@@ -579,7 +634,7 @@ ep-flow:TemporalPartOfAFlowDurationType
rdfs:subClassOf owl:Class .
ep-flow:ValueAdjustedFlow
rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
rdfs:label "value adjusted flow"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeFlow .
......@@ -588,10 +643,15 @@ ep-flow:WholeLifeFlow
rdfs:label "whole life flow"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:WholeLifeInventory
rdf:type owl:Class ;
rdfs:label "whole life inventory"^^xsd:string ;
rdfs:subClassOf ep-flow:Inventory .
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 ;
......@@ -601,15 +661,25 @@ 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:WholeLifeProductionFlowNetwork
rdf:type owl:Class ;
rdfs:label "whole life production flow network"^^xsd:string ;
rdfs:subClassOf ep-flow:ProductionFlowNetwork .
ep-flow:WholeLifeProductionInventory
rdf:type owl:Class ;
rdfs:label "(whole life) production inventory"^^xsd:string ;
rdfs:subClassOf ep-flow:ProductionInventory .
rdfs:subClassOf ep-flow:WholeLifeInventory , ep-flow:ProductionInventory .
ep-flow:WholeLifeProductionInventoryCollection
rdf:type owl:Class ;
rdfs:label "whole life production inventory collection"^^xsd:string ;
rdfs:subClassOf ep-flow:ProductionInventoryCollection .
ep-flow:allocatedTo
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
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 ;
......@@ -617,13 +687,13 @@ ep-flow:allocatedTo
rdfs:subPropertyOf ep-flow:flowIntoOrOutOf .
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 .
......@@ -655,7 +725,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 .
......@@ -674,30 +744,30 @@ ep-flow:hasNetworkPart
rdfs:range ep-flow:WholeLifeFlow ;
rdfs:subPropertyOf ep-core:hasPart .
ep-flow:materialInInventory
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:domain ep-flow:Inventory ;
rdfs:label "material in inventory"^^xsd:string ;
rdfs:range ep-material:QuantityOfMaterial .
ep-flow:materialThatFlows
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
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:summedDailyMass
rdf:type ep-core:Class_of_indirect_property , owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:domain ep-flow:Inventory ;
rdfs:label "summed daily mass"^^xsd:string ;
rdfs:range ep-core:Mass .
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 .
......
......@@ -12,7 +12,7 @@
<http://www.reportinghub.no/ep/schema/1.0/production-equipment>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/production-facility> , <http://www.reportinghub.no/ep/schema/1.0/equipment> ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/production-facility> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
<http://www.reportinghub.no/ep/schema/equipment#ChokeValve>
......@@ -26,16 +26,19 @@
ep-prodeqt:BlockValve
rdf:type owl:Class ;
rdfs:comment "valve that is a block valve"^^xsd:string ;
rdfs:label "block valve"^^xsd:string ;
rdfs:subClassOf ep-prodeqt:Valve .
ep-prodeqt:Controller
rdf:type ep-prodfac:ProductionFacilityType , owl:Class ;
rdf:type owl:Class , ep-prodfac:ProductionFacilityType ;
rdfs:comment "equipment that is a single lift gas controller"^^xsd:string ;
rdfs:label "controller"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> .
ep-prodeqt:DownHoleControlValve
rdf:type owl:Class ;
rdfs:comment "valve that is a down hole control valve"^^xsd:string ;
rdfs:label "down hole control valve"^^xsd:string ;
rdfs:subClassOf ep-prodeqt:Valve .
......@@ -49,10 +52,12 @@ ep-prodeqt:FlowLine-Production
ep-prodeqt:FlowMeter
rdf:type owl:Class ;
rdfs:comment "equipment that is a flow meter"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> .
ep-prodeqt:GasLiftChoke
rdf:type owl:Class ;
rdfs:comment "equipment that is a gas lift choke valve"^^xsd:string ;
rdfs:label "gas lift choke"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> .
......@@ -70,11 +75,13 @@ ep-prodeqt:Manifold-Production
ep-prodeqt:PressureMeter
rdf:type owl:Class ;
rdfs:comment "equipment that is a pressure meter"^^xsd:string ;
rdfs:label "pressure meter"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> .
ep-prodeqt:RegulatingValve
rdf:type owl:Class ;
rdfs:comment "valve that is a regulating valve"^^xsd:string ;
rdfs:label "regulating valve"^^xsd:string ;
rdfs:subClassOf ep-prodeqt:Valve .
......@@ -84,6 +91,7 @@ ep-prodeqt:Separator
ep-prodeqt:SleeveValve
rdf:type owl:Class ;
rdfs:comment "valve that is a sleeve valve"^^xsd:string ;
rdfs:label "sleeve valve"^^xsd:string ;
rdfs:subClassOf ep-prodeqt:Valve .
......@@ -93,6 +101,7 @@ ep-prodeqt:Tank
ep-prodeqt:TemperatureMeter
rdf:type owl:Class ;
rdfs:comment "equipment that is a temperature meter"^^xsd:string ;
rdfs:label "temperature meter"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> .
......@@ -114,21 +123,22 @@ ep-prodeqt:TemporalPartOfATank
ep-prodeqt:Valve
rdf:type owl:Class ;
rdfs:comment "equipment item that is a valve"^^xsd:string ;
rdfs:label "valve"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> .
ep-prodeqt:hasCaptain
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:label "has captain"^^xsd:string ;
rdfs:range <http://www.reportinghub.no/ep/schema/organization#Person> .
ep-prodeqt:hasValvePosition
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-prodeqt:Valve ;
rdfs:label "has valve position"^^xsd:string ;
rdfs:range ep-core:Ratio .
ep-prodfac:Pipeline
rdf:type owl:Class , ep-prodfac:ProductionFacilityType ;
rdf:type ep-prodfac:ProductionFacilityType , owl:Class ;
rdfs:label "pipeline"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/facility#Facility> .
......
......@@ -50,6 +50,7 @@
<http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate>
rdf:type owl:Class ;
rdfs:comment "production facility that is for all of its life up to a point in time"^^xsd:string ;
rdfs:label "production facility to date"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> .
......@@ -105,16 +106,19 @@ ep-prodfac:Boat
ep-prodfac:Field-area
rdf:type ep-prodfac:ProductionFacilityType , owl:Class ;
rdfs:comment "area of ground that is above a field"^^xsd:string ;
rdfs:label "field - area"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/facility#Field> .
ep-prodfac:Field-group
rdf:type ep-prodfac:ProductionFacilityType , owl:Class ;
rdfs:comment "facility that is a set of fields"^^xsd:string ;
rdfs:label "field - group"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/facility#Field> .
ep-prodfac:Field-part
rdf:type ep-prodfac:ProductionFacilityType , owl:Class ;
rdfs:comment "facility that is part of a field"^^xsd:string ;
rdfs:label "field - part"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/facility#Field> .
......@@ -128,6 +132,9 @@ ep-prodfac:OilTanker
rdfs:label "oil tanker"^^xsd:string ;
rdfs:subClassOf ep-prodfac:Ship .
ep-prodfac:Pipeline
rdfs:comment "facility that is a pipeline"^^xsd:string .
ep-prodfac:Plant
rdf:type ep-prodfac:ProductionFacilityType , owl:Class ;
rdfs:label "plant"^^xsd:string ;
......
......@@ -30,11 +30,6 @@ ep-report:DailyProductionReport
rdfs:label "Daily Production Report"^^xsd:string ;
rdfs:subClassOf ep-report:ProductionReport .
ep-report:DailyReport
rdf:type ep-report:ReportPeriodType , owl:Class ;
rdfs:label "daily report"^^xsd:string ;
rdfs:subClassOf ep-report:Report .
ep-report:FinalDailyDrillingReport
rdf:type owl:Class , ep-report:DailyDrillingReportFinalisationType ;
rdfs:label "final daily drilling report"^^xsd:string ;
......@@ -50,11 +45,6 @@ ep-report:MonthlyProductionReport
rdfs:label "Monthly Production Report"^^xsd:string ;
rdfs:subClassOf ep-report:ProductionReport .
ep-report:MonthlyReport
rdf:type ep-report:ReportPeriodType , owl:Class ;
rdfs:label "monthly report"^^xsd:string ;
rdfs:subClassOf ep-report:Report .
ep-report:NonProductivetimeReport
rdf:type owl:Class ;
rdfs:subClassOf ep-report:Report ;
......@@ -143,14 +133,59 @@ ep-report:ReportAliasIdentifier
owl:onProperty ep-report:aliasName
] .
ep-report:ReportForGasYearToDate
rdf:type ep-report:ReportPeriodType , owl:Class ;
rdfs:label "report for gas year to date"^^xsd:string ;
rdfs:subClassOf ep-report:Report .
ep-report:ReportForInstant
rdf:type ep-report:ReportPeriodType , owl:Class ;
rdfs:label "report for instant"^^xsd:string ;
rdfs:subClassOf ep-report:Report .
ep-report:ReportMonthToDate
ep-report:ReportForMonthToDate
rdf:type ep-report:ReportPeriodType , owl:Class ;
rdfs:label "report for month to date"^^xsd:string ;
rdfs:subClassOf ep-report:Report .
ep-report:ReportForOneDay
rdf:type ep-report:ReportPeriodType , owl:Class ;
rdfs:label "report for one day"^^xsd:string ;
rdfs:subClassOf ep-report:Report .
ep-report:ReportForOneGasDay
rdf:type ep-report:ReportPeriodType , owl:Class ;
rdfs:label "report month to date"^^xsd:string ;
rdfs:label "report for one gas day"^^xsd:string ;
rdfs:subClassOf ep-report:Report .
ep-report:ReportForOneGasMonth
rdf:type ep-report:ReportPeriodType , owl:Class ;
rdfs:label "report for one gas month"^^xsd:string ;
rdfs:subClassOf ep-report:Report .
ep-report:ReportForOneGasYear
rdf:type ep-report:ReportPeriodType , owl:Class ;
rdfs:label "report for one gas year"^^xsd:string ;
rdfs:subClassOf ep-report:Report .
ep-report:ReportForOneMonth
rdf:type ep-report:ReportPeriodType , owl:Class ;
rdfs:label "report for one month"^^xsd:string ;
rdfs:subClassOf ep-report:Report .
ep-report:ReportForOneWeek
rdf:type ep-report:ReportPeriodType , owl:Class ;
rdfs:label "report for one week"^^xsd:string ;
rdfs:subClassOf ep-report:Report .
ep-report:ReportForOneYear
rdf:type ep-report:ReportPeriodType , owl:Class ;
rdfs:label "report for one year"^^xsd:string ;
rdfs:subClassOf ep-report:Report .
ep-report:ReportForYearToDate
rdf:type owl:Class , ep-report:ReportPeriodType ;
rdfs:label "report for year to date"^^xsd:string ;
rdfs:subClassOf ep-report:Report .
ep-report:ReportPeriodType
......@@ -158,11 +193,6 @@ ep-report:ReportPeriodType
rdfs:label "report period type"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-report:ReportYearToDate
rdf:type ep-report:ReportPeriodType , owl:Class ;
rdfs:label "report year to date"^^xsd:string ;
rdfs:subClassOf ep-report:Report .
ep-report:WeeklyDrillingReport
rdf:type owl:Class ;
rdfs:subClassOf ep-report:Report ;
......@@ -187,21 +217,11 @@ ep-report:WeeklyDrillingReport
owl:onProperty ep-report:reportOn
] .
ep-report:WeeklyReport
rdf:type ep-report:ReportPeriodType , owl:Class ;
rdfs:label "weekly report"^^xsd:string ;
rdfs:subClassOf ep-report:Report .
ep-report:WellTestReport
rdf:type owl:Class ;
rdfs:label "well test report"^^xsd:string ;
rdfs:subClassOf ep-report:Report .
ep-report:YearlyReport
rdf:type ep-report:ReportPeriodType , owl:Class ;
rdfs:label "yearly report"^^xsd:string ;
rdfs:subClassOf ep-report:Report .
ep-report:aliasName
rdf:type owl:DatatypeProperty ;
rdfs:range xsd:string .
......@@ -269,3 +289,9 @@ ep-report:reportSubmittedBy
rdfs:domain ep-report:Report ;
rdfs:label "report submitted by"^^xsd:string ;
rdfs:range <http://www.reportinghub.no/ep/schema/core#PhysicalObject> .
ep-report:reportSubmittedFrom
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:domain ep-report:Report ;
rdfs:label "report submitted from"^^xsd:string ;
rdfs:range <http://www.reportinghub.no/ep/schema/facility#Facility> .
......
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
......@@ -20,14 +20,22 @@
<http://www.epim.no/schemas/mprml/1#A_Global-Objects>
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 10010 Add the contextFacility - unless the contextFacility is the production facility"^^xsd:string ;
rdfs:comment "STEP 10001c Create the interval identifier - date from context"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "contextFacility"^^xsd:string
[ sp:varName "date"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/geography#locatedWithin> ;
sp:subject
[ sp:varName "productionFacility"^^xsd:string
]
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalIdentifier> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "date"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalStart> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "date"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalEnd> ;
sp:subject spin:_this
]) ;
sp:where ([ sp:object
[ sp:varName "contextRef"^^xsd:string
......@@ -40,84 +48,51 @@
[ sp:varName "contextRef"^^xsd:string
]
] [ sp:object
[ sp:varName "contextFacilityRef"^^xsd:string
[ sp:varName "date"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#contextFacilityRef> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#date> ;
sp:subject
[ sp:varName "contextRef"^^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 "contextFacility"^^xsd:string
]
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:elements ([ sp:object
[ sp:varName "dateStart"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dateStart> ;
sp:subject
[ sp:varName "contextFacility"^^xsd:string
[ sp:varName "contextRef"^^xsd:string
]
])
] [ rdf:type sp:NotExists ;
sp:elements ([ 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: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:predicate rdf:type ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
]
] [ sp:object
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#reportSubmittedBy> ;
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 10020 Add the operator"^^xsd:string ;
sp:templates ([ sp:object _:b1 ;
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> ;
rdfs:comment "STEP 10001m Create the ProductionReport - extract the report name from context/contextFacility"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object
[ sp:varName "operator"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b1
]) ;
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:predicate rdf:type ;
] [ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
]
]) ;
sp:where ([ sp:object
[ sp:varName "intervalIdentifier"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalIdentifier> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "contextRef"^^xsd:string
] ;
......@@ -129,96 +104,27 @@
[ sp:varName "contextRef"^^xsd:string
]
] [ sp:object
[ sp:varName "operatorRef"^^xsd:string
[ sp:varName "contextFacilityRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#operatorRef> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#contextFacilityRef> ;
sp:subject
[ sp:varName "contextRef"^^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:object
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type spl:object ;
sp:arg1 [ sp:varName "contextFacilityRef"^^xsd:string
] ;
sp:arg2 <http://www.reportinghub.no/ep/transform/transform-helper-schema#hasDerivedText>
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#reportSubmittedBy> ;
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 10001p Create the ProductionReport - unable to find an identifier"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
]
] [ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
sp:variable
[ sp:varName "normalizedContextFacilityName"^^xsd:string
]
]) ;
sp:where ([ sp:object
[ sp:varName "intervalIdentifier"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalIdentifier> ;
sp:subject spin:_this
] [ 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 "contextFacilityRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#contextFacilityRef> ;
sp:subject
[ sp:varName "contextRef"^^xsd:string
]
] [ sp:object <http://www.epim.no/schemas/mprml/1#RF_field> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject
[ sp:varName "contextFacilityRef"^^xsd:string
]
])
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "installationRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ;
sp:subject
[ sp:varName "contextRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "reportingFacility"^^xsd:string
]
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:buildProductionReportURI ;
sp:arg1 "" ;
sp:arg1 [ sp:varName "normalizedContextFacilityName"^^xsd:string
] ;
sp:arg2 [ sp:varName "intervalIdentifier"^^xsd:string
]
] ;
......@@ -229,74 +135,21 @@
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 10001z Add the issue date and title"^^xsd:string ;
rdfs:comment "STEP 10001b Create the interval identifier - date and dateEnd from context"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "month"^^xsd:string
[ sp:varName "intervalIdentifier"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#issuedAt> ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
]
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalIdentifier> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "title"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
]
]) ;
sp:where ([ sp:object
[ sp:varName "contextRef"^^xsd:string
[ sp:varName "date"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#contextRef> ;
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_report> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "contextRef"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "month"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#month> ;
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: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/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 10001e Create the interval identifier - no date"^^xsd:string ;
sp:templates ([ sp:object "noDate" ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalIdentifier> ;
] [ sp:object
[ sp:varName "dateEnd"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalEnd> ;
sp:subject spin:_this
]) ;
sp:where ([ sp:object
......@@ -309,24 +162,13 @@
sp:subject
[ sp:varName "contextRef"^^xsd:string
]
] [ rdf:type sp:NotExists ;
sp:elements ([ 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
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#date> ;
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
......@@ -336,6 +178,24 @@
[ 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:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:buildIntervalIdentifier ;
sp:arg1 [ sp:varName "date"^^xsd:string
] ;
sp:arg2 [ sp:varName "dateEnd"^^xsd:string
]
] ;
sp:variable
[ sp:varName "intervalIdentifier"^^xsd:string
]
])
] ;
spin:rule
......@@ -351,29 +211,29 @@
sp:subject
[ sp:varName "productionFacility"^^xsd:string
]
] [ sp:object _:b2 ;
] [ 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 _:b2
sp:subject _:b1
] [ sp:object
[ sp:varName "productionFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b2
sp:subject _:b1
] [ sp:object
[ sp:varName "intervalStart"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
sp:subject _:b2
sp:subject _:b1
] [ sp:object
[ sp:varName "intervalEnd"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject _:b2
sp:subject _:b1
] [ sp:object
[ sp:varName "normalizedProductionFacilityName"^^xsd:string
] ;
......@@ -440,28 +300,128 @@
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 10001n Create the ProductionReport - extract the report name from the reporting from the reporting installation"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ;
sp:predicate rdf:type ;
rdfs:comment "STEP 10001z Add the issue date and title"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "month"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#issuedAt> ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
]
] [ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
] [ sp:object
[ sp:varName "title"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
]
]) ;
sp:where ([ sp:object
[ sp:varName "intervalIdentifier"^^xsd:string
[ sp:varName "contextRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalIdentifier> ;
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
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "month"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#month> ;
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: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/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 10001r Set the submitting installation"^^xsd:string ;
sp:templates ([ sp:object _:b2 ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#reportSubmittedFrom> ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
sp:predicate rdf:type ;
sp:subject _:b2
] [ sp:object
[ sp:varName "installation"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b2
] [ sp:object
[ sp:varName "intervalStart"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
sp:subject _:b2
] [ sp:object
[ sp:varName "intervalEnd"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject _:b2
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "intervalStart"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalStart> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "intervalEnd"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalEnd> ;
sp:subject spin:_this
])
] [ 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
] ;
......@@ -469,44 +429,30 @@
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 <http://www.reportinghub.no/ep/transform/transform-helper-schema#hasDerivedText>
] ;
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:object
[ sp:varName "installationRef"^^xsd:string
] ;
sp:variable
[ sp:varName "productionReport"^^xsd:string
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "installation"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 10001c Create the interval identifier - date 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 "date"^^xsd:string
[ sp:varName "intervalIdentifier"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalIdentifier> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "date"^^xsd:string
[ sp:varName "dateStart"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalStart> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "date"^^xsd:string
[ sp:varName "dateEnd"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalEnd> ;
sp:subject spin:_this
......@@ -522,35 +468,35 @@
[ sp:varName "contextRef"^^xsd:string
]
] [ sp:object
[ sp:varName "date"^^xsd:string
[ sp:varName "dateStart"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#date> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dateStart> ;
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:NotExists ;
sp:elements ([ 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: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: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
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 10001m Create the ProductionReport - extract the report name from context/contextFacility"^^xsd:string ;
rdfs:comment "STEP 10001n Create the ProductionReport - extract the report name from the reporting from the reporting installation"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ;
sp:predicate rdf:type ;
sp:subject
......@@ -572,32 +518,27 @@
] ;
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 "contextFacilityRef"^^xsd:string
[ sp:varName "installationRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#contextFacilityRef> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ;
sp:subject
[ sp:varName "contextRef"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type spl:object ;
sp:arg1 [ sp:varName "contextFacilityRef"^^xsd:string
sp:arg1 [ sp:varName "installationRef"^^xsd:string
] ;
sp:arg2 <http://www.reportinghub.no/ep/transform/transform-helper-schema#hasDerivedText>
] ;
sp:variable
[ sp:varName "normalizedContextFacilityName"^^xsd:string
[ sp:varName "normalizedInstallationName"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:buildProductionReportURI ;
sp:arg1 [ sp:varName "normalizedContextFacilityName"^^xsd:string
sp:arg1 [ sp:varName "normalizedInstallationName"^^xsd:string
] ;
sp:arg2 [ sp:varName "intervalIdentifier"^^xsd:string
]
......@@ -665,22 +606,85 @@
] ;
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
rdfs:comment "STEP 10001p Create the ProductionReport - unable to find an identifier"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
]
] [ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
]
]) ;
sp:where ([ sp:object
[ sp:varName "intervalIdentifier"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalIdentifier> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "date"^^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 "contextFacilityRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#contextFacilityRef> ;
sp:subject
[ sp:varName "contextRef"^^xsd:string
]
] [ sp:object <http://www.epim.no/schemas/mprml/1#RF_field> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject
[ sp:varName "contextFacilityRef"^^xsd:string
]
])
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "installationRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ;
sp:subject
[ sp:varName "contextRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "reportingFacility"^^xsd:string
]
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:buildProductionReportURI ;
sp:arg1 "" ;
sp:arg2 [ sp:varName "intervalIdentifier"^^xsd:string
]
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalStart> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "dateEnd"^^xsd:string
sp:variable
[ sp:varName "productionReport"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 10010 Add the contextFacility - unless the contextFacility is the production facility"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "contextFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalEnd> ;
sp:subject spin:_this
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
......@@ -693,67 +697,73 @@
[ sp:varName "contextRef"^^xsd:string
]
] [ sp:object
[ sp:varName "date"^^xsd:string
[ sp:varName "contextFacilityRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#date> ;
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/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "contextFacility"^^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:elements ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "contextRef"^^xsd:string
[ sp:varName "contextFacility"^^xsd:string
]
])
] [ 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:predicate rdf:type ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
]
] [ sp:object
[ sp:varName "dateEnd"^^xsd:string
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dateEnd> ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#reportSubmittedBy> ;
sp:subject
[ sp:varName "contextRef"^^xsd:string
[ sp:varName "productionReport"^^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
]
] [ 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:variable
[ sp:varName "intervalIdentifier"^^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 10001r Set the submitting installation"^^xsd:string ;
rdfs:comment "STEP 10020 Add the operator"^^xsd:string ;
sp:templates ([ sp:object _:b3 ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#reportSubmittedBy> ;
sp:predicate <http://www.reportinghub.no/ep/schema/facility#facilityOperator> ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/organization#Organization> ;
sp:predicate rdf:type ;
sp:subject _:b3
] [ sp:object
[ sp:varName "installation"^^xsd:string
[ sp:varName "operator"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b3
] [ sp:object
[ sp:varName "intervalStart"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
sp:subject _:b3
] [ sp:object
[ sp:varName "intervalEnd"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject _:b3
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
......@@ -765,18 +775,6 @@
sp:subject
[ sp:varName "productionReport"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "intervalStart"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalStart> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "intervalEnd"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalEnd> ;
sp:subject spin:_this
])
] [ sp:object
[ sp:varName "contextRef"^^xsd:string
] ;
......@@ -788,39 +786,39 @@
[ sp:varName "contextRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationRef"^^xsd:string
[ sp:varName "operatorRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#operatorRef> ;
sp:subject
[ sp:varName "contextRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationRef"^^xsd:string
[ sp:varName "operatorRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "installation"^^xsd:string
[ sp:varName "operator"^^xsd:string
]
] [ sp:object
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#reportSubmittedFrom> ;
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 10001a Create the inteval identifier - dateStart and dateEnd from context"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "intervalIdentifier"^^xsd:string
] ;
rdfs:comment "STEP 10001e Create the interval identifier - no date"^^xsd:string ;
sp:templates ([ sp:object "noDate" ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalIdentifier> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "dateStart"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalStart> ;
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:where ([ sp:object
[ sp:varName "contextRef"^^xsd:string
......@@ -832,31 +830,33 @@
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
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dateEnd> ;
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:NotExists ;
sp:elements ([ 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
] ;
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
]
])
])
] .
......