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
2014-02-20 20:01:31 +0000
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
54ed7ffe77966b192482d353e23dad6e45ac99f5
54ed7ffe
1 parent
951e2e7a
Component content committed
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
670 additions
and
45 deletions
www.reportinghub.no/ep/transform/TRANSFORM_mpr-componentContent-v1.1.1.ttl
www.reportinghub.no/ep/transform/TRANSFORM_mpr-componentContent-v1.1.1.ttl.tbc
www.reportinghub.no/test/dpr2/testcase/TEST_dpr2-xml-ingest.ttl
www.reportinghub.no/test/mpr/TEST_mpr-xml-ingest-NoFacts.ttl
www.reportinghub.no/ep/transform/TRANSFORM_mpr-componentContent-v1.1.1.ttl
0 → 100644
View file @
54ed7ff
# baseURI: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-componentContent-v1.0
# imports: http://spinrdf.org/spin
# imports: http://www.epim.no/schemas/mprml/1
# imports: http://www.reportinghub.no/ep/schema/1.0/core
# imports: http://www.reportinghub.no/ep/schema/1.0/flow
# imports: http://www.reportinghub.no/ep/schema/1.0/scale-maps-to-mpr-enumeration
@prefix
:
<http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-componentContent-v1.0#>
.
@prefix
ep-mpr-spin-lib:
<http://www.reportinghub.no/ep/mpr/spin/1.1/lib#>
.
@prefix
ep-spin-lib:
<http://www.reportinghub.no/ep/spin/lib#>
.
@prefix
fn:
<http://www.w3.org/2005/xpath-functions#>
.
@prefix
owl:
<http://www.w3.org/2002/07/owl#>
.
@prefix
rdf:
<http://www.w3.org/1999/02/22-rdf-syntax-ns#>
.
@prefix
rdfs:
<http://www.w3.org/2000/01/rdf-schema#>
.
@prefix
scale-maps-to-mpr-enumeration:
<http://www.reportinghub.no/ep/schema/1.0/scale-maps-to-mpr-enumeration#>
.
@prefix
sp:
<http://spinrdf.org/sp#>
.
@prefix
spin:
<http://spinrdf.org/spin#>
.
@prefix
spl:
<http://spinrdf.org/spl#>
.
@prefix
xsd:
<http://www.w3.org/2001/XMLSchema#>
.
<http://www.epim.no/schemas/mprml/1#Cs_productVolumeComponentContent>
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 70101 Set the component flow measuring facility"
^^
xsd:
string
;
sp:
templates
([
sp:
object
[
sp:
varName
"componentFlow"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#spatialPartOf>
;
sp:
subject
[
sp:
varName
"measuredComponentFlow"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#Flow>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"measuredComponentFlow"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"wholeFlowMeasurementFacility"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/flow#flowMeasuredOrCalculatedAt>
;
sp:
subject
[
sp:
varName
"measuredComponentFlow"
^^
xsd:
string
]
])
;
sp:
where
([
sp:
object
spin:
_this
;
sp:
predicate
<http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom>
;
sp:
subject
[
sp:
varName
"componentFlow"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#Flow>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"componentFlow"
^^
xsd:
string
]
]
[
sp:
object
spin:
_this
;
sp:
predicate
<http://www.epim.no/schemas/mprml/1#componentContentRef>
;
sp:
subject
[
sp:
varName
"target"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"target"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom>
;
sp:
subject
[
sp:
varName
"wholeFlow"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#Flow>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"wholeFlow"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"wholeFlow"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#spatialPartOf>
;
sp:
subject
[
sp:
varName
"measuredWholeFlow"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"wholeFlowMeasurementFacility"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/flow#flowMeasuredOrCalculatedAt>
;
sp:
subject
[
sp:
varName
"measuredWholeFlow"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"measurementFacility"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#temporalPartOf>
;
sp:
subject
[
sp:
varName
"wholeFlowMeasurementFacility"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/facility#ProductionFacility>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"measurementFacility"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
iri
;
sp:
arg1
[
rdf:
type
fn:
concat
;
sp:
arg1
[
rdf:
type
xsd:
string
;
sp:
arg1
[
sp:
varName
"componentFlow"
^^
xsd:
string
]
]
;
sp:
arg2
"/"
;
sp:
arg3
[
rdf:
type
xsd:
string
;
sp:
arg1
[
sp:
varName
"measurementFacility"
^^
xsd:
string
]
]
]
]
;
sp:
variable
[
sp:
varName
"measuredComponentFlow"
^^
xsd:
string
]
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 70102 record the product flow components - where \"flow\" means inventory and not a flow"
^^
xsd:
string
;
sp:
templates
([
sp:
object
<http://www.reportinghub.no/ep/schema/flow#Inventory>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"componentInventory"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"componentInventory"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"componentInventory"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/material#hasComponent>
;
sp:
subject
[
sp:
varName
"wholeInventory"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"intervalStart"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#startedAt>
;
sp:
subject
[
sp:
varName
"componentInventory"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"intervalEnd"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#finishedAt>
;
sp:
subject
[
sp:
varName
"componentInventory"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"interval"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#existsThroughout>
;
sp:
subject
[
sp:
varName
"componentInventory"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"temporalPartDurationType"
^^
xsd:
string
]
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"componentInventory"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"componentInventory"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#hasSpatialPart>
;
sp:
subject
[
sp:
varName
"wholeInventoryFacility"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"componentMaterialType"
^^
xsd:
string
]
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"componentInventory"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"componentName"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#name>
;
sp:
subject
[
sp:
varName
"componentInventory"
^^
xsd:
string
]
]
[
sp:
object
spin:
_this
;
sp:
predicate
<http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom>
;
sp:
subject
[
sp:
varName
"componentInventory"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"intervalIdentifier"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalIdentifier>
;
sp:
subject
spin:
_this
])
;
sp:
where
([
sp:
object
[
sp:
varName
"componentKind"
^^
xsd:
string
]
;
sp:
predicate
<http://www.epim.no/schemas/mprml/1#kindRef>
;
sp:
subject
spin:
_this
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-mpr-spin-lib:
selectProductMaterialType
;
sp:
arg1
[
sp:
varName
"componentKind"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"componentMaterialType"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
spl:
object
;
sp:
arg1
[
sp:
varName
"componentMaterialType"
^^
xsd:
string
]
;
sp:
arg2
rdfs:
label
]
;
sp:
variable
[
sp:
varName
"componentMaterialName"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"componentNameRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.epim.no/schemas/mprml/1#nameRef>
;
sp:
subject
spin:
_this
]
[
sp:
object
[
sp:
varName
"componentName"
^^
xsd:
string
]
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
[
sp:
varName
"componentNameRef"
^^
xsd:
string
]
])
]
[
sp:
object
spin:
_this
;
sp:
predicate
<http://www.epim.no/schemas/mprml/1#componentContentRef>
;
sp:
subject
[
sp:
varName
"target"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"intervalIdentifier"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalIdentifier>
;
sp:
subject
[
sp:
varName
"target"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"target"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom>
;
sp:
subject
[
sp:
varName
"wholeInventory"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#Inventory>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"wholeInventory"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
fn:
concat
;
sp:
arg1
"/"
;
sp:
arg2
[
rdf:
type
ep-spin-lib:
normalizeString
;
sp:
arg1
[
sp:
varName
"componentMaterialName"
^^
xsd:
string
]
]
]
;
sp:
variable
[
sp:
varName
"separatedComponentURISuffix"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
iri
;
sp:
arg1
[
rdf:
type
fn:
concat
;
sp:
arg1
[
rdf:
type
xsd:
string
;
sp:
arg1
[
sp:
varName
"wholeInventory"
^^
xsd:
string
]
]
;
sp:
arg2
[
sp:
varName
"separatedComponentURISuffix"
^^
xsd:
string
]
]
]
;
sp:
variable
[
sp:
varName
"componentInventory"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"intervalStart"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#startedAt>
;
sp:
subject
[
sp:
varName
"wholeInventory"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"intervalEnd"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#finishedAt>
;
sp:
subject
[
sp:
varName
"wholeInventory"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"interval"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#existsThroughout>
;
sp:
subject
[
sp:
varName
"wholeInventory"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"temporalPartDurationType"
^^
xsd:
string
]
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"wholeInventory"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#TemporalPartDurationType>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"temporalPartDurationType"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"wholeInventory"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#hasSpatialPart>
;
sp:
subject
[
sp:
varName
"wholeInventoryFacility"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"wholeInventoryFacility"
^^
xsd:
string
]
])
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 70111 associate standard conditions with a component"
^^
xsd:
string
;
sp:
templates
([
sp:
object
[
sp:
varName
"standardTempPresRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/transform/transform-helper-schema#standardTempPres>
;
sp:
subject
spin:
_this
])
;
sp:
where
([
sp:
object
spin:
_this
;
sp:
predicate
<http://www.epim.no/schemas/mprml/1#componentContentRef>
;
sp:
subject
[
sp:
varName
"target"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"standardTempPresRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/transform/transform-helper-schema#standardTempPres>
;
sp:
subject
[
sp:
varName
"target"
^^
xsd:
string
]
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 70100 record the component - actually flow and not inventory"
^^
xsd:
string
;
sp:
templates
([
sp:
object
<http://www.reportinghub.no/ep/schema/flow#Flow>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"componentFlow"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"componentFlow"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/flow#hasMixedPart>
;
sp:
subject
[
sp:
varName
"wholeFlow"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"intervalStart"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#startedAt>
;
sp:
subject
[
sp:
varName
"componentFlow"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"intervalEnd"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#finishedAt>
;
sp:
subject
[
sp:
varName
"componentFlow"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"interval"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#existsThroughout>
;
sp:
subject
[
sp:
varName
"componentFlow"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"temporalPartDurationType"
^^
xsd:
string
]
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"componentFlow"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"wholeFlowSourceOrDestination"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf>
;
sp:
subject
[
sp:
varName
"componentFlow"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"componentFlow"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow>
;
sp:
subject
[
sp:
varName
"wholeFlowContainingFacility"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"componentMaterialType"
^^
xsd:
string
]
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"componentFlow"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"componentName"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#name>
;
sp:
subject
[
sp:
varName
"componentFlow"
^^
xsd:
string
]
]
[
sp:
object
spin:
_this
;
sp:
predicate
<http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom>
;
sp:
subject
[
sp:
varName
"componentFlow"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"intervalIdentifier"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalIdentifier>
;
sp:
subject
spin:
_this
])
;
sp:
where
([
sp:
object
[
sp:
varName
"componentKind"
^^
xsd:
string
]
;
sp:
predicate
<http://www.epim.no/schemas/mprml/1#kindRef>
;
sp:
subject
spin:
_this
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-mpr-spin-lib:
selectProductMaterialType
;
sp:
arg1
[
sp:
varName
"componentKind"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"componentMaterialType"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
spl:
object
;
sp:
arg1
[
sp:
varName
"componentMaterialType"
^^
xsd:
string
]
;
sp:
arg2
rdfs:
label
]
;
sp:
variable
[
sp:
varName
"componentMaterialName"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"componentNameRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.epim.no/schemas/mprml/1#nameRef>
;
sp:
subject
spin:
_this
]
[
sp:
object
[
sp:
varName
"componentName"
^^
xsd:
string
]
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
[
sp:
varName
"componentNameRef"
^^
xsd:
string
]
])
]
[
sp:
object
spin:
_this
;
sp:
predicate
<http://www.epim.no/schemas/mprml/1#componentContentRef>
;
sp:
subject
[
sp:
varName
"target"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"intervalIdentifier"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalIdentifier>
;
sp:
subject
[
sp:
varName
"target"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"target"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom>
;
sp:
subject
[
sp:
varName
"wholeFlow"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#Flow>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"wholeFlow"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
fn:
concat
;
sp:
arg1
"/"
;
sp:
arg2
[
rdf:
type
ep-spin-lib:
normalizeString
;
sp:
arg1
[
sp:
varName
"componentMaterialName"
^^
xsd:
string
]
]
]
;
sp:
variable
[
sp:
varName
"separatedComponentURISuffix"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
iri
;
sp:
arg1
[
rdf:
type
fn:
concat
;
sp:
arg1
[
rdf:
type
xsd:
string
;
sp:
arg1
[
sp:
varName
"wholeFlow"
^^
xsd:
string
]
]
;
sp:
arg2
[
sp:
varName
"separatedComponentURISuffix"
^^
xsd:
string
]
]
]
;
sp:
variable
[
sp:
varName
"componentFlow"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"intervalStart"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#startedAt>
;
sp:
subject
[
sp:
varName
"wholeFlow"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"intervalEnd"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#finishedAt>
;
sp:
subject
[
sp:
varName
"wholeFlow"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"interval"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#existsThroughout>
;
sp:
subject
[
sp:
varName
"wholeFlow"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"temporalPartDurationType"
^^
xsd:
string
]
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"wholeFlow"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#TemporalPartDurationType>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"temporalPartDurationType"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"wholeFlowSourceOrDestination"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf>
;
sp:
subject
[
sp:
varName
"wholeFlow"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"wholeFlow"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow>
;
sp:
subject
[
sp:
varName
"wholeFlowContainingFacility"
^^
xsd:
string
]
])
])
]
.
<http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-componentContent-v1.0>
rdf:
type
owl:
Ontology
;
owl:
imports
<http://www.reportinghub.no/ep/schema/1.0/scale-maps-to-mpr-enumeration>
,
<http://www.reportinghub.no/ep/schema/1.0/flow>
,
<http://www.reportinghub.no/ep/schema/1.0/core>
,
<http://spinrdf.org/spin>
,
<http://www.epim.no/schemas/mprml/1>
;
owl:
versionInfo
"Created with TopBraid Composer"
^^
xsd:
string
.
www.reportinghub.no/ep/transform/TRANSFORM_mpr-componentContent-v1.1.1.ttl.tbc
0 → 100644
View file @
54ed7ff
# baseURI: null
@prefix
composite:
<http://www.topbraid.org/2007/05/composite.owl#>
.
@prefix
forms:
<http://www.topbraid.org/2007/01/forms.owl#>
.
@prefix
inference:
<http://www.topbraid.org/2007/06/inference.owl#>
.
@prefix
owl:
<http://www.w3.org/2002/07/owl#>
.
@prefix
rdf:
<http://www.w3.org/1999/02/22-rdf-syntax-ns#>
.
@prefix
rdfs:
<http://www.w3.org/2000/01/rdf-schema#>
.
@prefix
visual:
<http://topbraid.org/visual#>
.
@prefix
xsd:
<http://www.w3.org/2001/XMLSchema#>
.
[]
rdf:
type
inference:
Configuration
;
composite:
child
[
rdf:
type
<http://spinrdf.org/spin#TopSPIN>
;
composite:
index
"0"
^^
xsd:
int
]
.
www.reportinghub.no/test/dpr2/testcase/TEST_dpr2-xml-ingest.ttl
View file @
54ed7ff
# baseURI: http://www.reportinghub.no/test/dpr2/testcase/TEST_dpr2-xml-ingest
# imports: http://spinrdf.org/spin
# imports: http://www.reportinghub.no/data/erh
# imports: http://www.reportinghub.no/ep/spin/prod-property
# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector
# imports: http://www.reportinghub.no/np/data/npd
@prefix
:
<http://www.reportinghub.no/test/dpr2/testcase/TEST_dpr2-xml-ingest#>
.
@prefix
TRANSFORM_mpr-collector:
<http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector#>
.
@prefix
owl:
<http://www.w3.org/2002/07/owl#>
.
@prefix
rdf:
<http://www.w3.org/1999/02/22-rdf-syntax-ns#>
.
@prefix
rdfs:
<http://www.w3.org/2000/01/rdf-schema#>
.
@prefix
sp:
<http://spinrdf.org/sp#>
.
@prefix
spin:
<http://spinrdf.org/spin#>
.
@prefix
spl:
<http://spinrdf.org/spl#>
.
@prefix
xsd:
<http://www.w3.org/2001/XMLSchema#>
.
<http://www.reportinghub.no/test/dpr2/testcase/TEST_dpr2-xml-ingest>
rdf:
type
owl:
Ontology
;
owl:
imports
<http://spinrdf.org/spin>
,
<http://www.reportinghub.no/data/erh>
,
<http://www.reportinghub.no/ep/spin/prod-property>
,
<http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector>
,
<http://www.reportinghub.no/np/data/npd>
;
owl:
versionInfo
"Created with TopBraid Composer"
^^
xsd:
string
.
# baseURI: http://www.reportinghub.no/test/dpr2/testcase/TEST_dpr2-xml-ingest
# imports: http://spinrdf.org/spin
# imports: http://www.reportinghub.no/data/erh
# imports: http://www.reportinghub.no/ep/spin/prod-property
# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector
# imports: http://www.reportinghub.no/np/data/npd
@prefix
:
<http://www.reportinghub.no/test/dpr2/testcase/TEST_dpr2-xml-ingest#>
.
@prefix
ASGARD_DAY_2012-03-01_final:
<file:///www.reportinghub.no/test/dpr2/testcase/epim-dpr2/BA_ASGARD/ASGARD_DAY_2012-03-01_final.xml#>
.
@prefix
ASGARD_DAY_2012-03-01_final-production-flow-parameterSet:
<file:///www.reportinghub.no/test/dpr2/testcase/epim-dpr2/BA_ASGARD/ASGARD_DAY_2012-03-01_final-production-flow-parameterSet.xml#>
.
@prefix
TRANSFORM_mpr-collector:
<http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector#>
.
@prefix
owl:
<http://www.w3.org/2002/07/owl#>
.
@prefix
rdf:
<http://www.w3.org/1999/02/22-rdf-syntax-ns#>
.
@prefix
rdfs:
<http://www.w3.org/2000/01/rdf-schema#>
.
@prefix
sp:
<http://spinrdf.org/sp#>
.
@prefix
spin:
<http://spinrdf.org/spin#>
.
@prefix
spl:
<http://spinrdf.org/spl#>
.
@prefix
xsd:
<http://www.w3.org/2001/XMLSchema#>
.
<http://www.reportinghub.no/test/dpr2/testcase/TEST_dpr2-xml-ingest>
rdf:
type
owl:
Ontology
;
owl:
imports
<http://www.reportinghub.no/np/data/npd>
,
<http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector>
,
<http://www.reportinghub.no/ep/spin/prod-property>
,
<http://www.reportinghub.no/data/erh>
,
<http://spinrdf.org/spin>
;
owl:
versionInfo
"Created with TopBraid Composer"
^^
xsd:
string
.
...
...
www.reportinghub.no/test/mpr/TEST_mpr-xml-ingest-NoFacts.ttl
View file @
54ed7ff
# baseURI: http://www.reportinghub.no/test/mpr/TEST_mpr-xml-ingest-NoFacts
# imports: http://spinrdf.org/spin
# imports: http://www.epim.no/schemas/mprml/1
# imports: http://www.reportinghub.no/ep/schema/1.0/erhfacts
# imports: http://www.reportinghub.no/ep/spin/prod-property
# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector
# imports: http://www.reportinghub.no/np/schema/1.0/npd
@prefix
:
<http://www.reportinghub.no/test/mpr/TEST_mpr-xml-ingest-NoFacts#>
.
@prefix
TRANSFORM_mpr-collector:
<http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector#>
.
@prefix
TRYM-MONTH_2012-02-01_final-mprg:
<file:///www.reportinghub.no/test/mpr/testcase/epim-mpr-govt/PL147/tqedits/TRYM-MONTH_2012-02-01_final-mprg.xml#>
.
@prefix
TRYM-volumes_2011-08-27_final:
<file:///EPIM-Ontologies/www.reportinghub.no/test/mpr/testcase/DongEnergy/dpr-mprformat/TRYM-volumes_2011-08-27_final.xml#>
.
@prefix
owl:
<http://www.w3.org/2002/07/owl#>
.
@prefix
rdf:
<http://www.w3.org/1999/02/22-rdf-syntax-ns#>
.
@prefix
rdfs:
<http://www.w3.org/2000/01/rdf-schema#>
.
@prefix
sp:
<http://spinrdf.org/sp#>
.
@prefix
spin:
<http://spinrdf.org/spin#>
.
@prefix
spl:
<http://spinrdf.org/spl#>
.
@prefix
xsd:
<http://www.w3.org/2001/XMLSchema#>
.
<http://www.reportinghub.no/test/mpr/TEST_mpr-xml-ingest-NoFacts>
rdf:
type
owl:
Ontology
;
owl:
imports
<http://spinrdf.org/spin>
,
<http://www.epim.no/schemas/mprml/1>
,
<http://www.reportinghub.no/ep/schema/1.0/erhfacts>
,
<http://www.reportinghub.no/ep/spin/prod-property>
,
<http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector>
,
<http://www.reportinghub.no/np/schema/1.0/npd>
;
owl:
versionInfo
"Created with TopBraid Composer"
^^
xsd:
string
.
# baseURI: http://www.reportinghub.no/test/mpr/TEST_mpr-xml-ingest-NoFacts
# imports: file:///www.reportinghub.no/test/mpr/testcase/epim-mpr-partner/MPRP1.0/PL147/TRYM-MONTH_AND_DAY_2012-03-01_final-dl-parameterSet.xml
# imports: http://spinrdf.org/spin
# imports: http://www.epim.no/schemas/mprml/1
# imports: http://www.reportinghub.no/ep/schema/1.0/erhfacts
# imports: http://www.reportinghub.no/ep/spin/prod-property
# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector
# imports: http://www.reportinghub.no/np/schema/1.0/npd
@prefix
:
<http://www.reportinghub.no/test/mpr/TEST_mpr-xml-ingest-NoFacts#>
.
@prefix
TRANSFORM_mpr-collector:
<http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector#>
.
@prefix
TRYM-MONTH_2012-02-01_final-mprg:
<file:///www.reportinghub.no/test/mpr/testcase/epim-mpr-govt/PL147/tqedits/TRYM-MONTH_2012-02-01_final-mprg.xml#>
.
@prefix
TRYM-MONTH_AND_DAY_2012-03-01_final-dl-parameterSet:
<file:///www.reportinghub.no/test/mpr/testcase/epim-mpr-partner/MPRP1.0/PL147/TRYM-MONTH_AND_DAY_2012-03-01_final-dl-parameterSet.xml#>
.
@prefix
TRYM-volumes_2011-08-27_final:
<file:///EPIM-Ontologies/www.reportinghub.no/test/mpr/testcase/DongEnergy/dpr-mprformat/TRYM-volumes_2011-08-27_final.xml#>
.
@prefix
owl:
<http://www.w3.org/2002/07/owl#>
.
@prefix
p20DL:
<file:///www.reportinghub.no/test/mpr/testcase/epim-mpr-partner/MPRP1.0/PL147/tqedits/TRYM-MONTH_AND_DAY_2012-03-01_final-mprp-parameterSet%20-%20DL.xml#>
.
@prefix
p20available:
<file:///www.reportinghub.no/test/mpr/testcase/epim-mpr-partner/MPRP1.0/PL147/tqedits/TRYM-MONTH_AND_DAY_2012-03-01_final-mprp-parameterSet%20-%20DL%20-%20available.xml#>
.
@prefix
rdf:
<http://www.w3.org/1999/02/22-rdf-syntax-ns#>
.
@prefix
rdfs:
<http://www.w3.org/2000/01/rdf-schema#>
.
@prefix
sp:
<http://spinrdf.org/sp#>
.
@prefix
spin:
<http://spinrdf.org/spin#>
.
@prefix
spl:
<http://spinrdf.org/spl#>
.
@prefix
xsd:
<http://www.w3.org/2001/XMLSchema#>
.
<http://www.reportinghub.no/test/mpr/TEST_mpr-xml-ingest-NoFacts>
rdf:
type
owl:
Ontology
;
owl:
imports
<file:///www.reportinghub.no/test/mpr/testcase/epim-mpr-partner/MPRP1.0/PL147/TRYM-MONTH_AND_DAY_2012-03-01_final-dl-parameterSet.xml>
,
<http://spinrdf.org/spin>
,
<http://www.epim.no/schemas/mprml/1>
,
<http://www.reportinghub.no/ep/schema/1.0/erhfacts>
,
<http://www.reportinghub.no/ep/spin/prod-property>
,
<http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector>
,
<http://www.reportinghub.no/np/schema/1.0/npd>
;
owl:
versionInfo
"Created with TopBraid Composer"
^^
xsd:
string
.
...
...
Please
register
or
login
to post a comment