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-05-29 15:27:16 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
69211e1e69b154906ccd658d4eac32ec0bdfb153
69211e1e
1 parent
6bb60a9c
A fix to the duplicate ProductionInventory bug, but not nice.
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
390 additions
and
436 deletions
www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeReport-v1.0.ttl
www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeReport-v1.0.ttl
View file @
69211e1
...
...
@@ -21,23 +21,13 @@
<http://www.epim.no/schemas/mprml/1#A_Global-Objects>
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
_:
b1
]
[
sp:
object
[
sp:
varName
"productionReport"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#partOf>
;
sp:
subject
_:
b1
]
[
sp:
object
[
sp:
varName
"name"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#name>
;
sp:
subject
_:
b1
]
[
sp:
object
[
sp:
varName
"reportPeriodType"
^^
xsd:
string
]
;
rdfs:
comment
"STEP 20012 Create the period ProductionInventory and the ProductionInventoryToDate - if necessary ."
^^
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#ProductionInventory>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b1
]
[
sp:
object
...
...
@@ -45,131 +35,37 @@
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/production-core#derivedFrom>
;
sp:
subject
_:
b1
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b2
]
[
sp:
object
[
sp:
varName
"productVolumeRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/production-core#derivedFrom>
;
sp:
subject
_:
b2
]
[
sp:
object
_:
b3
;
]
[
sp:
object
_:
b2
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#temporalPartOf>
;
sp:
subject
_:
b
2
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/f
acility#ProductionFacilit
yToDate>
;
sp:
subject
_:
b
1
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/f
low#ProductionInventor
yToDate>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b3
]
[
sp:
object
[]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow>
;
sp:
subject
_:
b2
]
[
sp:
object
[]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow>
;
sp:
subject
_:
b3
]
[
sp:
object
[
sp:
varName
"title"
^^
xsd:
string
]
;
sp:
predicate
<http://purl.org/dc/elements/1.1/title>
;
sp:
subject
_:
b1
])
;
sp:
where
([
sp:
object
spin:
_this
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/production-core#derivedFrom>
;
]
[
sp:
object
_:
b1
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#hasSpatialPart>
;
sp:
subject
[
sp:
varName
"
productionReport
"
^^
xsd:
string
[
sp:
varName
"
temporalPartOfAProductionFacility
"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productVolumeRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.epim.no/schemas/mprml/1#objectRef>
;
sp:
subject
spin:
_this
]
[
sp:
object
<http://www.epim.no/schemas/mprml/1#Obj_productVolume>
;
sp:
predicate
rdf:
type
;
]
[
sp:
object
_:
b2
;
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
"
name
Ref"
^^
xsd:
string
[
sp:
varName
"
facility
Ref"
^^
xsd:
string
]
;
sp:
predicate
<http://www.epim.no/schemas/mprml/1#nameRef>
;
sp:
subject
[
sp:
varName
"productVolumeRef"
^^
xsd:
string
]
sp:
predicate
<http://www.reportinghub.no/ep/schema/production-core#derivedFrom>
;
sp:
subject
_:
b1
]
[
sp:
object
[
sp:
varName
"name"
^^
xsd:
string
]
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
[
sp:
varName
"nameRef"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"periodKindRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.epim.no/schemas/mprml/1#periodKindRef>
;
sp:
subject
[
sp:
varName
"productVolumeRef"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"titleRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.epim.no/schemas/mprml/1#titleRef>
;
sp:
subject
[
sp:
varName
"productVolumeRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"title"
^^
xsd:
string
]
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
[
sp:
varName
"titleRef"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-mpr-spin-lib:
selectReportPeriodType
;
sp:
arg1
[
sp:
varName
"periodKindRef"
^^
xsd:
string
]
[
sp:
varName
"flowRef"
^^
xsd:
string
]
;
sp:
variable
[
sp:
varName
"reportPeriodType"
^^
xsd:
string
]
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 20011 Create the period ProductionFlow and the ProductionFlowToDate - if necessary ."
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b4
;
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#ProductionFlow>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b4
sp:
predicate
<http://www.reportinghub.no/ep/schema/production-core#derivedFrom>
;
sp:
subject
_:
b1
]
[
sp:
object
[
sp:
varName
"
productVolumeRef
"
^^
xsd:
string
[
sp:
varName
"
temporalPartOfAProductionFacility
"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/production-core#derivedFrom>
;
sp:
subject
_:
b4
]
[
sp:
object
_:
b5
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#temporalPartOf>
;
sp:
subject
_:
b4
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#ProductionFlowToDate>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b5
]
[
sp:
object
_:
b4
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow>
;
sp:
subject
[
sp:
varName
"temporalPartOfAProductionFacility"
^^
xsd:
string
]
]
[
sp:
object
_:
b5
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow>
;
sp:
subject
[
sp:
varName
"productionFacilityToDate"
^^
xsd:
string
]
sp:
subject
_:
b1
])
;
sp:
where
([
sp:
object
spin:
_this
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/production-core#derivedFrom>
;
...
...
@@ -222,69 +118,73 @@
sp:
subject
[
sp:
varName
"productionFacilityToDate"
^^
xsd:
string
]
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 20030 Record the start and end date-times"
^^
xsd:
string
;
sp:
templates
([
sp:
object
[
sp:
varName
"dTimStart"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#startedAt>
;
sp:
subject
[
sp:
varName
"productionFlow"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"
facilityRef
"
^^
xsd:
string
[
sp:
varName
"
dTimEnd
"
^^
xsd:
string
]
;
sp:
predicate
<http://www.
epim.no/schemas/mprml/1#facilityRef
>
;
sp:
predicate
<http://www.
reportinghub.no/ep/schema/activity#finishedAt
>
;
sp:
subject
[
sp:
varName
"product
VolumeRef
"
^^
xsd:
string
[
sp:
varName
"product
ionFlow
"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"
flowRef
"
^^
xsd:
string
[
sp:
varName
"
dTimEnd
"
^^
xsd:
string
]
;
sp:
predicate
<http://www.
epim.no/schemas/mprml/1#flowRef
>
;
sp:
predicate
<http://www.
reportinghub.no/ep/schema/activity#finishedAt
>
;
sp:
subject
[
sp:
varName
"
facilityRef
"
^^
xsd:
string
[
sp:
varName
"
productionFlowToDate
"
^^
xsd:
string
]
]
[
rdf:
type
sp:
NotExists
;
sp:
elements
([
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
"flowRef"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
NotExists
;
sp:
elements
([
sp:
object
[
sp:
varName
"productVolumeRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/production-core#derivedFrom>
;
sp:
subject
[
sp:
varName
"productionFlow"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#ProductionFlow>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"productionFlow"
^^
xsd:
string
]
])
])
]
;
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:
object
[
sp:
varName
"dTimStart"
^^
xsd:
string
]
;
sp:
predicate
rdf:
type
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#startedAt>
;
sp:
subject
[
sp:
varName
"product
VolumeReport
"
^^
xsd:
string
[
sp:
varName
"product
ionInventory
"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/report#ProductionReportKind>
;
sp:
predicate
rdf:
type
;
]
[
sp:
object
[
sp:
varName
"dTimEnd"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#finishedAt>
;
sp:
subject
[
sp:
varName
"
reportKind
"
^^
xsd:
string
[
sp:
varName
"
productionInventory
"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/report#ProductionReport>
;
sp:
predicate
rdfs:
subClassOf
;
]
[
sp:
object
[
sp:
varName
"dTimEnd"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#finishedAt>
;
sp:
subject
[
sp:
varName
"
reportKind
"
^^
xsd:
string
[
sp:
varName
"
productionInventoryToDate
"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"
kind
"
^^
xsd:
string
[
sp:
varName
"
dTimStart
"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/
core#name
>
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/
activity#startedAt
>
;
sp:
subject
[
sp:
varName
"reportKind"
^^
xsd:
string
[
sp:
varName
"temporalPartOfAProductionFacility"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"dTimEnd"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#finishedAt>
;
sp:
subject
[
sp:
varName
"temporalPartOfAProductionFacility"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"dTimEnd"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#finishedAt>
;
sp:
subject
[
sp:
varName
"productionFacilityToDate"
^^
xsd:
string
]
])
;
sp:
where
([
sp:
object
...
...
@@ -298,88 +198,112 @@
[
sp:
varName
"productVolumeRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"
productVolumeRef
"
^^
xsd:
string
[
sp:
varName
"
dTimStart
"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/production-core#derivedFrom>
;
sp:
subject
[
sp:
varName
"productVolumeReport"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/report#ProductVolumeReport>
;
sp:
predicate
rdf:
type
;
sp:
predicate
<http://www.epim.no/schemas/mprml/1#dTimStart>
;
sp:
subject
[
sp:
varName
"productVolumeRe
port
"
^^
xsd:
string
[
sp:
varName
"productVolumeRe
f
"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"
nameRef
"
^^
xsd:
string
[
sp:
varName
"
dTimEnd
"
^^
xsd:
string
]
;
sp:
predicate
<http://www.epim.no/schemas/mprml/1#
nameRef
>
;
sp:
predicate
<http://www.epim.no/schemas/mprml/1#
dTimEnd
>
;
sp:
subject
[
sp:
varName
"productVolumeRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"
name
"
^^
xsd:
string
[
sp:
varName
"
productVolumeRef
"
^^
xsd:
string
]
;
sp:
predicate
<http://www.
linkedmodel.org/schema/dtype#value
>
;
sp:
predicate
<http://www.
reportinghub.no/ep/schema/production-core#derivedFrom
>
;
sp:
subject
[
sp:
varName
"
nameRef
"
^^
xsd:
string
[
sp:
varName
"
productionFlow
"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"kind"
^^
xsd:
string
]
;
sp:
predicate
<http://www.epim.no/schemas/mprml/1#kind>
;
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#ProductionFlow>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"product
VolumeRef
"
^^
xsd:
string
[
sp:
varName
"product
ionFlow
"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-dpr-spin-lib:
buildProductionReportKindURI
;
sp:
arg1
[
sp:
varName
"kind"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productionFlowToDate"
^^
xsd:
string
]
;
sp:
variable
[
sp:
varName
"reportKind"
^^
xsd:
string
]
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 20012 Create the period ProductionInventory and the ProductionInventoryToDate - if necessary ."
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b6
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/report#reportOn>
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#temporalPartOf>
;
sp:
subject
[
sp:
varName
"product
VolumeReport
"
^^
xsd:
string
[
sp:
varName
"product
ionFlow
"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#Production
Inventory
>
;
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#Production
FlowToDate
>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b6
sp:
subject
[
sp:
varName
"productionFlowToDate"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productVolumeRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/production-core#derivedFrom>
;
sp:
subject
_:
b6
]
[
sp:
object
_:
b7
;
sp:
subject
[
sp:
varName
"productionInventory"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#ProductionInventory>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"productionInventory"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productionInventoryToDate"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#temporalPartOf>
;
sp:
subject
_:
b6
sp:
subject
[
sp:
varName
"productionInventory"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#ProductionInventoryToDate>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b7
]
[
sp:
object
_:
b6
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#hasSpatialPart>
;
sp:
subject
[
sp:
varName
"productionInventoryToDate"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productVolumeRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/production-core#derivedFrom>
;
sp:
subject
[
sp:
varName
"temporalPartOfAProductionFacility"
^^
xsd:
string
]
]
[
sp:
object
_:
b7
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#hasSpatialPart>
;
]
[
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
"productionFacilityToDate"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#temporalPartOf>
;
sp:
subject
[
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
]
])
;
sp:
where
([
sp:
object
spin:
_this
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/production-core#derivedFrom>
;
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 20040 Set the installation"
^^
xsd:
string
;
sp:
templates
([
sp:
object
[
sp:
varName
"productionFacility"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#temporalPartOf>
;
sp:
subject
[
sp:
varName
"
productionReport
"
^^
xsd:
string
[
sp:
varName
"
temporalPartOfAProductionFacility
"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productionFacility"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#temporalPartOf>
;
sp:
subject
[
sp:
varName
"productionFacilityToDate"
^^
xsd:
string
]
])
;
sp:
where
([
sp:
object
[
sp:
varName
"productVolumeRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.epim.no/schemas/mprml/1#objectRef>
;
...
...
@@ -390,16 +314,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/schema/production-core#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/schema/production-core#derivedFrom>
;
sp:
subject
[
sp:
varName
"product
VolumeReport
"
^^
xsd:
string
[
sp:
varName
"product
ionFacility
"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productVolumeRef"
^^
xsd:
string
...
...
@@ -425,39 +351,62 @@
sp:
subject
[
sp:
varName
"productionFacilityToDate"
^^
xsd:
string
]
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"""STEP 20060 Set the facility operator
role is ignored, because it is implicitly \"operator\""""^^xsd:string ;
sp:templates ([ sp:object _: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
"facilityRef"
^^
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.epim.no/schemas/mprml/1#facilityRef>
;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#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 <http://www.epim.no/schemas/mprml/1#Obj_productVolume> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "
productVolumeRef
"^^xsd:string
]
] [ sp:object
[
sp:
varName
"
flow
Ref"
^^
xsd:
string
[ sp:varName "
operator
Ref
"^^xsd:string
] ;
sp:
predicate
<http://www.epim.no/schemas/mprml/1#
flow
Ref>
;
sp:predicate <http://www.epim.no/schemas/mprml/1#
operator
Ref> ;
sp:subject
[
sp:
varName
"
facility
Ref"
^^
xsd:
string
[ sp:varName "
productVolume
Ref
"^^xsd:string
]
]
[
sp:
object
<http://www.epim.no/schemas/mprml/1#RF_inventory>
;
sp:
predicate
<http://www.epim.no/schemas/mprml/1#kindRef>
;
] [ sp:object
[ sp:varName "
operatorRef
"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#derivedFrom> ;
sp:subject
[
sp:
varName
"
flowRef
"
^^
xsd:
string
[ sp:varName "
operator
"^^xsd:string
]
]
[
rdf:
type
sp:
NotExists
;
sp:
elements
([
sp:
object
[
sp:
varName
"productVolumeRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/production-core#derivedFrom>
;
sp:
subject
[
sp:
varName
"productionInventory"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#ProductionInventory>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"productionInventory"
^^
xsd:
string
]
])
])
] ;
spin:rule
...
...
@@ -627,76 +576,81 @@
] ;
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> ;
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:subject
[ sp:varName "
temporalPartOfAP
roductionFacility
"^^xsd:string
[ sp:varName "
p
roductionFacility
"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/organization#Organization> ;
sp:predicate rdf:type ;
sp:subject _:b8
] [ sp:object
[ sp:varName "
operator
"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b8
]) ;
sp:where ([ sp:object
[ sp:varName "
productVolumeRef
"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "
productVolumeRef
"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#derivedFrom> ;
sp:subject
[ sp:varName "
temporalPartOfAProductionFacility
"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productVolume> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "
temporalPartOfAProductionFacility
"^^xsd:string
[ sp:varName "
productVolumeRef
"^^xsd:string
]
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productVolume> ;
sp:predicate rdf:type ;
] [ sp:object
[ sp:varName "
installationRef
"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ;
sp:subject
[ sp:varName "
productVolumeRef
"^^xsd:string
]
] [ sp:object
[ sp:varName "
operator
Ref
"^^xsd:string
[ sp:varName "
installation
Ref
"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#operatorRef> ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#derivedFrom> ;
sp:subject
[ sp:varName "
productionFacility
"^^xsd:string
]
] [ sp:object
[ sp:varName "
contextFacilityRef
"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#contextFacilityRef> ;
sp:subject
[ sp:varName "
productVolumeRef
"^^xsd:string
]
] [ sp:object
[ sp:varName "
operator
Ref
"^^xsd:string
[ sp:varName "
contextFacility
Ref
"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#derivedFrom> ;
sp:subject
[ sp:varName "
operator
"^^xsd:string
[ sp:varName "
contextFacility
"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "
STEP
200
40
Set
the
installation
"^^xsd:string ;
rdfs:comment "
STEP
200
20
Add
the
report
kind
.
"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "
productionFacility
"^^xsd:string
[ sp:varName "
reportKind
"^^xsd:string
] ;
sp:predicate
<http://www.reportinghub.no/ep/schema/core#temporalPartOf>
;
sp:predicate
rdf:type
;
sp:subject
[ sp:varName "
temporalPartOfAProductionFacility
"^^xsd:string
[ 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 "
productionFacility
"^^xsd:string
[ sp:varName "
kind
"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#
temporalPartOf
> ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#
name
> ;
sp:subject
[ sp:varName "
productionFacilityToDate
"^^xsd:string
[ sp:varName "
reportKind
"^^xsd:string
]
]) ;
sp:where ([ sp:object
...
...
@@ -710,113 +664,88 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ;
[ sp:varName "
productVolumeRef
"^^xsd:string
]
] [ sp:object
[ sp:varName "
installation
Ref
"^^xsd:string
[ sp:varName "
productVolume
Ref
"^^xsd:string
] ;
sp:predicate <http://www.
epim.no/schemas/mprml/1#installationRef
> ;
sp:predicate <http://www.
reportinghub.no/ep/schema/production-core#derivedFrom
> ;
sp:subject
[ sp:varName "
productVolumeRef
"^^xsd:string
[ 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 "
installation
Ref
"^^xsd:string
[ sp:varName "
name
Ref
"^^xsd:string
] ;
sp:predicate <http://www.
reportinghub.no/ep/schema/production-core#derivedFrom
> ;
sp:predicate <http://www.
epim.no/schemas/mprml/1#nameRef
> ;
sp:subject
[ sp:varName "
product
ionFacility
"^^xsd:string
[ sp:varName "
product
VolumeRef
"^^xsd:string
]
] [ sp:object
[ sp:varName "
productVolumeRef
"^^xsd:string
[ sp:varName "
name
"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#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.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "
temporalPartOfAProductionFacility
"^^xsd:string
[ sp:varName "
nameRef
"^^xsd:string
]
] [ sp:object
[ sp:varName "
productionFacilityToDate
"^^xsd:string
[ sp:varName "
kind
"^^xsd:string
] ;
sp:predicate <http://www.
reportinghub.no/ep/schema/core#temporalPartOf
> ;
sp:predicate <http://www.
epim.no/schemas/mprml/1#kind
> ;
sp:subject
[ sp:varName "
temporalPartOfAProductionFacility
"^^xsd:string
[ sp:varName "
productVolumeRef
"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "
productionFacilityToDate
"^^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
20030
Record
the
start
and
end
date-times
"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "
dTimStart
"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
sp:subject
[ sp:varName "
productionFlow
"^^xsd:string
]
] [ sp:object
[ sp:varName "
dTimEnd
"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
[ sp:varName "
productionFlow
"^^xsd:string
]
] [ sp:object
[ sp:varName "
dTimEnd
"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
[ sp:varName "
productionFlowToDate
"^^xsd:string
]
] [ sp:object
[ sp:varName "
dTimStart
"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
sp:subject
[ sp:varName "
productionInventory
"^^xsd:string
]
] [ sp:object
[ sp:varName "
dTimEnd
"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
[ sp:varName "
productionInventory
"^^xsd:string
]
] [ sp:object
[ sp:varName "
dTimEnd
"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
[ sp:varName "
productionInventoryToDate
"^^xsd:string
]
] [ sp:object
[ sp:varName "
dTimStart
"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
rdfs:comment "
STEP
20011
Create
the
period
ProductionFlow
and
the
ProductionFlowToDate
-
if
necessary
.
"^^xsd:string ;
sp:templates ([ sp:object _:b4 ;
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#ProductionFlow> ;
sp:predicate rdf:type ;
sp:subject _:b4
] [ sp:object
[ sp:varName "
dTimEnd
"^^xsd:string
[ sp:varName "
productVolumeRef
"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#derivedFrom> ;
sp:subject _:b4
] [ sp:object _:b5 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b4
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowToDate> ;
sp:predicate rdf:type ;
sp:subject _:b5
] [ sp:object _:b4 ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ;
sp:subject
[ sp:varName "
temporalPartOfAProductionFacility
"^^xsd:string
]
] [ sp:object
[ sp:varName "
dTimEnd
"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
] [ sp:object _:b5 ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ;
sp:subject
[ sp:varName "
productionFacilityToDate
"^^xsd:string
]
]) ;
sp:where ([ sp:object
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#derivedFrom> ;
sp:subject
[ sp:varName "
productionReport
"^^xsd:string
]
] [ sp:object
[ sp:varName "
productVolumeRef
"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
...
...
@@ -827,105 +756,110 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ;
[ sp:varName "
productVolumeRef
"^^xsd:string
]
] [ sp:object
[ sp:varName "
dTimStart
"^^xsd:string
[ sp:varName "
productVolumeRef
"^^xsd:string
] ;
sp:predicate <http://www.
epim.no/schemas/mprml/1#dTimStart
> ;
sp:predicate <http://www.
reportinghub.no/ep/schema/production-core#derivedFrom
> ;
sp:subject
[ sp:varName "
productVolumeRe
f
"^^xsd:string
[ sp:varName "
productVolumeRe
port
"^^xsd:string
]
] [ sp:object
[ sp:varName "
dTimEnd
"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dTimEnd> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductVolumeReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "
productVolumeRe
f
"^^xsd:string
[ sp:varName "
productVolumeRe
port
"^^xsd:string
]
] [ sp:object
[ sp:varName "
productVolumeRef
"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#derivedFrom> ;
sp:subject
[ sp:varName "
productionFlow
"^^xsd:string
[ sp:varName "
temporalPartOfAProductionFacility
"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/f
low#ProductionFlow
> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/f
acility#TemporalPartOfAProductionFacility
> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "
productionFlow
"^^xsd:string
[ sp:varName "
temporalPartOfAProductionFacility
"^^xsd:string
]
] [ sp:object
[ sp:varName "
productionF
low
ToDate
"^^xsd:string
[ sp:varName "
productionF
acility
ToDate
"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "
productionFlow
"^^xsd:string
[ sp:varName "
temporalPartOfAProductionFacility
"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/f
low#ProductionFlow
ToDate> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/f
acility#ProductionFacility
ToDate> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "
productionF
low
ToDate
"^^xsd:string
[ sp:varName "
productionF
acility
ToDate
"^^xsd:string
]
] [ rdf:type sp:NotExists ;
sp:elements ([ 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 "
flowRef
"^^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 _:b6
] [ sp:object
[ sp:varName "
product
VolumeRef
"^^xsd:string
[ sp:varName "
product
ionReport
"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#derivedFrom> ;
sp:subject
[ sp:varName "
productionInventory
"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionInventory> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "
productionInventory
"^^xsd:string
]
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject _:b6
] [ sp:object
[ sp:varName "
productionInventoryToDate
"^^xsd:string
[ sp:varName "
name
"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject _:b6
] [ sp:object
[ sp:varName "
reportPeriodType
"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "
productionInventory
"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionInventoryToDate> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "
productionInventoryToDate
"^^xsd:string
]
sp:subject _:b6
] [ sp:object
[ sp:varName "
productVolumeRef
"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#derivedFrom> ;
sp:subject
[ sp:varName "
temporalPartOfAProductionFacility
"^^xsd:string
]
sp:subject _:b6
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "
temporalPartOfAProductionFacility
"^^xsd:string
]
sp:subject _:b7
] [ sp:object
[ sp:varName "
product
ionFacilityToDate
"^^xsd:string
[ sp:varName "
product
VolumeRef
"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#derivedFrom> ;
sp:subject _:b7
] [ sp:object _:b8 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "
temporalPartOfAProductionFacility
"^^xsd:string
]
sp:subject _:b7
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "
productionFacilityToDate
"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "
STEP
20050
Set
the
context
facility
-
installation
is
always
specified
"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "
contextFacility
"^^xsd:string
sp:subject _:b8
] [ sp:object
[] ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ;
sp:subject _:b7
] [ sp:object
[] ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ;
sp:subject _:b8
] [ sp:object
[ sp:varName "
title
"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/geography#locatedWithin> ;
sp:predicate <http://purl.org/dc/elements/1.1/title> ;
sp:subject _:b6
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#derivedFrom> ;
sp:subject
[ sp:varName "
production
Facility
"^^xsd:string
[ sp:varName "
production
Report
"^^xsd:string
]
]) ;
sp:where ([ sp:object
] [ sp:object
[ sp:varName "
productVolumeRef
"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
...
...
@@ -936,37 +870,57 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ;
[ sp:varName "
productVolumeRef
"^^xsd:string
]
] [ sp:object
[ sp:varName "
installation
Ref
"^^xsd:string
[ sp:varName "
name
Ref
"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#
installation
Ref> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#
name
Ref> ;
sp:subject
[ sp:varName "
productVolumeRef
"^^xsd:string
]
] [ sp:object
[ sp:varName "
installationRef
"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#derivedFrom> ;
sp:subject
[ sp:varName "
productionFacility
"^^xsd:string
]
] [ sp:object
[ sp:varName "
contextFacilityRef
"^^xsd:string
[ sp:varName "
name
"^^xsd:string
] ;
sp:predicate <http://www.
epim.no/schemas/mprml/1#contextFacilityRef
> ;
sp:predicate <http://www.
linkedmodel.org/schema/dtype#value
> ;
sp:subject
[ sp:varName "
productVolu
meRef
"^^xsd:string
[ sp:varName "
na
meRef
"^^xsd:string
]
] [ sp:object
[ sp:varName "
contextFacilityRef
"^^xsd:string
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "
periodKindRef
"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#periodKindRef> ;
sp:subject
[ sp:varName "
productVolumeRef
"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "
titleRef
"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#titleRef> ;
sp:subject
[ sp:varName "
productVolumeRef
"^^xsd:string
]
] [ sp:object
[ sp:varName "
title
"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "
titleRef
"^^xsd:string
]
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:selectReportPeriodType ;
sp:arg1 [ sp:varName "
periodKindRef
"^^xsd:string
]
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#derivedFrom> ;
sp:subject
[ sp:varName "
contextFacility
"^^xsd:string
sp:variable
[ sp:varName "
reportPeriodType
"^^xsd:string
]
])
] .
<http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeReport-v1.0>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/
dpr/spin/1.1/lib> , <http://spinrdf.org/spin> , <http://www.epim.no/schemas/mprml/1> , <http://www.reportinghub.no/ep/m
pr/spin/1.1/lib> ;
owl:imports <http://www.reportinghub.no/ep/
mpr/spin/1.1/lib> , <http://www.epim.no/schemas/mprml/1> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/d
pr/spin/1.1/lib> ;
owl:versionInfo "
Created
with
TopBraid
Composer
"
^^
xsd:
string
.
...
...
Please
register
or
login
to post a comment