Toggle navigation
Toggle navigation
This project
Loading...
Sign in
data.posccaesar.org
/
npd
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Issues
1
Merge Requests
0
Wiki
Network
Create a new issue
Commits
Issue Boards
Authored by
David Leal
2012-07-31 17:45:30 +0100
Browse Files
Options
Browse Files
Download
Plain Diff
Commit
381679d134acb84bac1067c5512693d38b3b2f8a
381679d1
2 parents
0f9e241b
5f985e40
Merge branch 'MPR_07-19a'
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
689 additions
and
631 deletions
www.reportinghub.no/ep/schema/1.0/SCHEMA_EP-FLOW-v1.0.ttl
www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeReport-v1.0.ttl
www.reportinghub.no/ep/transform/TRANSFORM_mpr-wellTest-v1.1.1.ttl
www.reportinghub.no/ep/schema/1.0/SCHEMA_EP-FLOW-v1.0.ttl
View file @
381679d
...
...
@@ -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/facil
ity>
;
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-activ
ity>
;
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:
WholeLife
Flow
.
rdfs:
subClassOf
ep-flow:
WholeLifeFlow
,
ep-flow:
Product
Flow
.
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:
WholeLife
Flow
.
rdfs:
subClassOf
ep-flow:
WholeLifeFlow
,
ep-flow:
Production
Flow
.
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:
Production
Inventory
.
rdfs:
subClassOf
ep-flow:
ProductionInventory
,
ep-flow:
WholeLife
Inventory
.
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:
Functional
Property
;
rdf:
type
owl:
FunctionalProperty
,
owl:
Object
Property
;
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:
Functional
Property
;
rdf:
type
owl:
FunctionalProperty
,
owl:
Object
Property
;
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:
ObjectP
roperty
;
rdf:
type
owl:
ObjectProperty
,
owl:
FunctionalProperty
,
ep-core:
Class_of_indirect_p
roperty
;
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:
ObjectP
roperty
;
rdf:
type
owl:
ObjectProperty
,
owl:
FunctionalProperty
,
ep-core:
Class_of_indirect_p
roperty
;
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:
Functional
Property
;
rdf:
type
owl:
FunctionalProperty
,
owl:
Object
Property
;
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:
Object
Property
;
rdf:
type
owl:
ObjectProperty
,
owl:
Functional
Property
;
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:
FunctionalP
roperty
;
rdf:
type
owl:
FunctionalProperty
,
owl:
ObjectProperty
,
ep-core:
Class_of_indirect_p
roperty
;
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:
Functional
Property
;
rdf:
type
owl:
FunctionalProperty
,
owl:
Object
Property
;
rdfs:
label
"total volume of material"
^^
xsd:
string
;
rdfs:
range
ep-core:
MeasureOfAmountOfMaterial
.
ep-flow:
yearlyAverageAmountOfMaterial
rdf:
type
owl:
FunctionalProperty
,
owl:
Object
Property
;
rdf:
type
owl:
ObjectProperty
,
owl:
Functional
Property
;
rdfs:
domain
ep-flow:
Flow
;
rdfs:
label
"yearly average amount of material"
^^
xsd:
string
;
rdfs:
range
ep-flow:
ClassOfMaterialWithMassCriterion
.
...
...
www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeReport-v1.0.ttl
View file @
381679d
...
...
@@ -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 200
20 Add the report kind .
"
^^
xsd:
string
;
rdfs:
comment
"STEP 200
33 Inherit end dates from the report context if necessary
"
^^
xsd:
string
;
sp:
templates
([
sp:
object
[
sp:
varName
"
reportKi
nd"
^^
xsd:
string
[
sp:
varName
"
dateE
nd"
^^
xsd:
string
]
;
sp:
predicate
rdf:
type
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#finishedAt>
;
sp:
subject
[
sp:
varName
"product
VolumeReport
"
^^
xsd:
string
[
sp:
varName
"product
ionFlowNetwork
"
^^
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
"
ki
nd"
^^
xsd:
string
[
sp:
varName
"
dateE
nd"
^^
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
"product
VolumeReport
"
^^
xsd:
string
[
sp:
varName
"product
ionFlowNetwork
"
^^
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
"product
VolumeReport
"
^^
xsd:
string
[
sp:
varName
"product
ionFlowNetwork
"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"
nameRef
"
^^
xsd:
string
[
sp:
varName
"
productionFlowNetworkToDate
"
^^
xsd:
string
]
;
sp:
predicate
<http://www.
epim.no/schemas/mprml/1#nameRe
f>
;
sp:
predicate
<http://www.
reportinghub.no/ep/schema/core#temporalPartO
f>
;
sp:
subject
[
sp:
varName
"product
VolumeRef
"
^^
xsd:
string
[
sp:
varName
"product
ionFlowNetwork
"
^^
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
"production
Facility
"
^^
xsd:
string
[
sp:
varName
"production
InventoryCollection
"
^^
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
"product
VolumeRef
"
^^
xsd:
string
[
sp:
varName
"product
ionInventoryCollection
"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"
installationRef
"
^^
xsd:
string
[
sp:
varName
"
productionInventoryCollectionToDate
"
^^
xsd:
string
]
;
sp:
predicate
<http://www.
epim.no/schemas/mprml/1#installationRe
f>
;
sp:
predicate
<http://www.
reportinghub.no/ep/schema/core#temporalPartO
f>
;
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
"
installation
Ref"
^^
xsd:
string
[
sp:
varName
"
productVolume
Ref"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom>
;
sp:
subject
[
sp:
varName
"
p
roductionFacility"
^^
xsd:
string
[
sp:
varName
"
temporalPartOfAP
roductionFacility"
^^
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
"product
VolumeReport
"
^^
xsd:
string
[
sp:
varName
"product
ionFlowNetwork
"
^^
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
"production
FacilityToDate
"
^^
xsd:
string
[
sp:
varName
"production
InventoryCollection
"
^^
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
"production
Report
"
^^
xsd:
string
[
sp:
varName
"production
InventoryCollection
"
^^
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
"product
VolumeReport
"
^^
xsd:
string
[
sp:
varName
"product
ionFlowNetwork
"
^^
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
_:
b
4
sp:
subject
_:
b
1
]
[
sp:
object
[
sp:
varName
"temporalPartDurationType"
^^
xsd:
string
]
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b
4
sp:
subject
_:
b
1
]
[
sp:
object
[
sp:
varName
"productVolumeRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom>
;
sp:
subject
_:
b
4
]
[
sp:
object
_:
b
5
;
sp:
subject
_:
b
1
]
[
sp:
object
_:
b
2
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#temporalPartOf>
;
sp:
subject
_:
b
4
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/f
acility#ProductionFacility
ToDate>
;
sp:
subject
_:
b
1
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/f
low#ProductionFlowNetwork
ToDate>
;
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
"
na
meRef"
^^
xsd:
string
[
sp:
varName
"
productVolu
meRef"
^^
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
"
nam
e"
^^
xsd:
string
[
sp:
varName
"
productionFacilityToDat
e"
^^
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
"
title
Ref"
^^
xsd:
string
[
sp:
varName
"
facility
Ref"
^^
xsd:
string
]
;
sp:
predicate
<http://www.epim.no/schemas/mprml/1#
title
Ref>
;
sp:
predicate
<http://www.epim.no/schemas/mprml/1#
facility
Ref>
;
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:
selectReportPeriod
Type
;
sp:
arg1
[
sp:
varName
"periodKindRef
"
^^
xsd:
string
[
rdf:
type
ep-mpr-spin-lib:
selectProductionFlowPurpose
Type
;
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 200
40 Set the production facility - suppl
ied"
^^
xsd:
string
;
rdfs:
comment
"STEP 200
50 Set the context facility - installation is always specif
ied"
^^
xsd:
string
;
sp:
templates
([
sp:
object
[
sp:
varName
"
production
Facility"
^^
xsd:
string
[
sp:
varName
"
context
Facility"
^^
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
"
temporalPartOfAProduction
Facility"
^^
xsd:
string
[
sp:
varName
"
context
Facility"
^^
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
"production
Report
"
^^
xsd:
string
[ sp:varName "
production
Facility
"^^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
"
productVolume
Ref"
^^
xsd:
string
[ sp:varName "
installation
Ref
"^^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
"productVolumeRe
port
"
^^
xsd:
string
[ sp:varName "
productVolumeRe
f
"^^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
"product
VolumeReport
"
^^
xsd:
string
[ sp:varName "
product
ionFacility
"^^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
"
temporalPartDurationTyp
e"
^^
xsd:
string
[ sp:varName "
normalizedProductionFacilityNam
e
"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:
comment
"STEP 2003
3 Inherit end
dates from the report context if necessary"
^^
xsd:
string
;
rdfs:comment "
STEP
2003
2
Inherit
start
dates
from
the
report
context
if
necessary
"^^xsd:string ;
sp:templates ([ sp:object
[
sp:
varName
"date
End
"
^^
xsd:
string
[ sp:varName "
date
Start
"^^xsd:string
] ;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#
finish
edAt>
;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#
start
edAt> ;
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#
finish
edAt>
;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#
start
edAt> ;
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#
finish
edAt>
;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#
start
edAt> ;
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
"date
End
"
^^
xsd:
string
[ sp:varName "
date
Start
"^^xsd:string
] ;
sp:
predicate
<http://www.reportinghub.no/ep/transform/transform-helper-schema#interval
End
>
;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#interval
Start
> ;
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
"date
End
x"
^^
xsd:
string
[ sp:varName "
date
Start
x
"^^xsd:string
] ;
sp:
predicate
<http://www.epim.no/schemas/mprml/1#date
End
>
;
sp:predicate <http://www.epim.no/schemas/mprml/1#date
Start
> ;
sp:subject
[ sp:varName "
productVolumeRef
"^^xsd:string
]
])
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[
sp:
varName
"dTim
End
x"
^^
xsd:
string
[ sp:varName "
dTim
Start
x
"^^xsd:string
] ;
sp:
predicate
<http://www.epim.no/schemas/mprml/1#dTim
End
>
;
sp:predicate <http://www.epim.no/schemas/mprml/1#dTim
Start
> ;
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
"production
InventoryCollection
"
^^
xsd:
string
[ sp:varName "
production
Report
"^^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
"production
InventoryCollection
"
^^
xsd:
string
[ sp:varName "
production
Report
"^^xsd:string
]
] [ sp:object
[
sp:
varName
"product
ionInventoryCollectionToDate
"
^^
xsd:
string
[ sp:varName "
product
VolumeRef
"^^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
"product
ionInventoryCollectionToDate
"
^^
xsd:
string
[ sp:varName "
product
VolumeRef
"^^xsd:string
]
] [ sp:object
[
sp:
varName
"
productVolu
meRef"
^^
xsd:
string
[ sp:varName "
na
meRef
"^^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
"
productionFacilityToDat
e"
^^
xsd:
string
[ sp:varName "
nam
e
"^^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
"product
VolumeRef
"
^^
xsd:
string
[ sp:varName "
product
ionFacilityToDate
"^^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
"production
FlowNetwork
"
^^
xsd:
string
[ sp:varName "
production
Report
"^^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
"production
FlowNetwork
"
^^
xsd:
string
[ sp:varName "
production
Report
"^^xsd:string
]
] [ sp:object
[
sp:
varName
"product
ionFlowNetworkToDate
"
^^
xsd:
string
[ sp:varName "
product
VolumeRef
"^^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
"product
ionFlowNetworkToDate
"
^^
xsd:
string
[ sp:varName "
product
VolumeRef
"^^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
"product
ionInventoryCollectionToDate
"
^^
xsd:
string
[ sp:varName "
product
VolumeReport
"^^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 "
productVolume
Ref
"^^xsd:string
[ sp:varName "
flow
Ref
"^^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 "
productVolume
Ref
"^^xsd:string
[ sp:varName "
flow
Ref
"^^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
.
...
...
www.reportinghub.no/ep/transform/TRANSFORM_mpr-wellTest-v1.1.1.ttl
View file @
381679d
This diff could not be displayed because it is too large.
Please
register
or
login
to post a comment