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 Price
2012-05-30 16:23:48 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
b8fa9ff089ee73d66187effcd6a1826eda998836
b8fa9ff0
1 parent
e8aa6e91
Added to Flow All
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
107 additions
and
2 deletions
www.reportinghub.no/ep/spin/SPIN_EP-MPR-tables-v1.0.spin.ttl
www.reportinghub.no/ep/spin/SPIN_EP-MPR-tables-v1.0.spin.ttl
View file @
b8fa9ff
...
...
@@ -16,7 +16,7 @@
<http://www.reportinghub.no/ep/spin/mpr-tables>
rdf:
type
owl:
Ontology
;
owl:
imports
<http://
spinrdf.org/spin>
,
<http://www.reportinghub.no/ep/spin/1.1/lib>
,
<http://www.reportinghub.no/ep/schema/1.0/production>
,
<http://www.reportinghub.no/ep/transform/transform-helper-schema
>
;
owl:
imports
<http://
www.reportinghub.no/ep/transform/transform-helper-schema>
,
<http://www.reportinghub.no/ep/schema/1.0/production>
,
<http://www.reportinghub.no/ep/spin/1.1/lib>
,
<http://spinrdf.org/spin
>
;
owl:
versionInfo
"Created with TopBraid Composer"
^^
xsd:
string
.
mpr-tables:
ProductionFlows
...
...
@@ -405,8 +405,15 @@ mpr-tables:ProductionFlowsAll
rdfs:
subClassOf
rhspin:
MPRGTableTemplates
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
orderBy
([
sp:
varName
"productionFlowFacilityName"
^^
xsd:
string
]
[
sp:
varName
"productionFlowPurposeTypeName"
^^
xsd:
string
])
;
sp:
resultVariables
([
sp:
varName
"productionFlowFacilityName"
^^
xsd:
string
]
[
sp:
varName
"productionFlowPurposeTypeName"
^^
xsd:
string
]
[
sp:
varName
"productFlowMaterialTypeName"
^^
xsd:
string
]
[
sp:
varName
"productionFlowDefinitionTypeName"
^^
xsd:
string
]
[
sp:
varName
"productionFlowDefinitionSubTypeName"
^^
xsd:
string
]
[
sp:
varName
"productionFlowPartGrossOrNetTypeName"
^^
xsd:
string
])
;
sp:
where
([
sp:
object
<http://www.reportinghub.no/ep/schema/report#ProductionReport>
;
sp:
predicate
rdf:
type
;
...
...
@@ -444,6 +451,11 @@ mpr-tables:ProductionFlowsAll
sp:
subject
[
sp:
varName
"productionFlowsInReportingPeriod"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#ProductionFlow>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"productionFlowInReportingPeriod"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productionFlow"
^^
xsd:
string
]
;
...
...
@@ -491,9 +503,102 @@ mpr-tables:ProductionFlowsAll
[
sp:
varName
"productionFlowPurposeType"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"productionFlowPart"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/flow#hasMixedPart>
;
sp:
subject
[
sp:
varName
"productionFlow"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"productionFlowPartGrossOrNetType"
^^
xsd:
string
]
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"productionFlowPart"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#ProductFlowGrossOrNetType>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"productionFlowPartGrossOrNetType"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productionFlowPartGrossOrNetTypeName"
^^
xsd:
string
]
;
sp:
predicate
rdfs:
label
;
sp:
subject
[
sp:
varName
"productionFlowPartGrossOrNetType"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"productFlowMaterialType"
^^
xsd:
string
]
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"productionFlowPart"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#ProductMaterialType>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"productFlowMaterialType"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productFlowMaterialTypeName"
^^
xsd:
string
]
;
sp:
predicate
rdfs:
label
;
sp:
subject
[
sp:
varName
"productFlowMaterialType"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"productionFlowDefinitionType"
^^
xsd:
string
]
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"productionFlowPart"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#ProductionFlowDefinitionType>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"productionFlowDefinitionType"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productionFlowDefinitionTypeName"
^^
xsd:
string
]
;
sp:
predicate
rdfs:
label
;
sp:
subject
[
sp:
varName
"productionFlowDefinitionType"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"productionFlowDefinitionSubType"
^^
xsd:
string
]
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"productionFlowPart"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#ProductionFlowDefinitionSubType>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"productionFlowDefinitionSubType"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productionFlowDefinitionSubTypeName"
^^
xsd:
string
]
;
sp:
predicate
rdfs:
label
;
sp:
subject
[
sp:
varName
"productionFlowDefinitionSubType"
^^
xsd:
string
]
])
])
])
]
;
rhspin:
tableHeaders
(
"
facility"
^^
xsd:
string
"purpose
"
^^
xsd:
string
)
.
rhspin:
tableHeaders
(
"
Facility"
^^
xsd:
string
"Purpose"
^^
xsd:
string
"Material"
^^
xsd:
string
"Flow type"
^^
xsd:
string
"Flow subtype"
^^
xsd:
string
"Gross/Net
"
^^
xsd:
string
)
.
mpr-tables:
ProductionInventory
rdf:
type
rhspin:
TableTemplate
;
...
...
Please
register
or
login
to post a comment