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-29 00:02:46 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a01e5056b593027d9679077c3dbbef10f146acca
a01e5056
1 parent
b3af4556
Added production flows all to work on
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
98 additions
and
1 deletions
www.reportinghub.no/ep/spin/SPIN_EP-MPR-tables-v1.0.spin.ttl
www.reportinghub.no/swp/MPRG.uispin.html
www.reportinghub.no/ep/spin/SPIN_EP-MPR-tables-v1.0.spin.ttl
View file @
a01e505
...
...
@@ -15,7 +15,7 @@
<http://www.reportinghub.no/ep/spin/mpr-tables>
rdf:
type
owl:
Ontology
;
owl:
imports
<http://
www.reportinghub.no/ep/schema/1.0/production>
,
<http://www.reportinghub.no/ep/spin/1.1/lib>
,
<http://spinrdf.org/spi
n>
;
owl:
imports
<http://
spinrdf.org/spin>
,
<http://www.reportinghub.no/ep/spin/1.1/lib>
,
<http://www.reportinghub.no/ep/schema/1.0/productio
n>
;
owl:
versionInfo
"Created with TopBraid Composer"
^^
xsd:
string
.
mpr-tables:
ProductionFlows
...
...
@@ -398,6 +398,102 @@ mpr-tables:ProductionFlows
]
;
rhspin:
tableHeaders
(
"facility"
^^
xsd:
string
"flow name"
^^
xsd:
string
"type"
^^
xsd:
string
"subtype"
^^
xsd:
string
"purpose"
^^
xsd:
string
"product"
^^
xsd:
string
"material type"
^^
xsd:
string
"gross or net"
^^
xsd:
string
"duration type"
^^
xsd:
string
"mass (kg)"
^^
xsd:
string
"pressure (atm)"
^^
xsd:
string
"temperature (C)"
^^
xsd:
string
"volume (m^3"
^^
xsd:
string
"gross calorific value (MJ/m^3)"
^^
xsd:
string
)
.
mpr-tables:
ProductionFlowsAll
rdf:
type
rhspin:
TableTemplate
;
rdfs:
label
"Production flows - All"
^^
xsd:
string
;
rdfs:
subClassOf
rhspin:
MPRGTableTemplates
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
([
sp:
varName
"productionFlowFacilityName"
^^
xsd:
string
]
[
sp:
varName
"productionFlowPurposeTypeName"
^^
xsd:
string
])
;
sp:
where
([
sp:
object
<http://www.reportinghub.no/ep/schema/report#ProductionReport>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"productionReport"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productionReport"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#partOf>
;
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
"productionFlowsInReportingPeriod"
^^
xsd:
string
]
;
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
[
sp:
varName
"productionFlowsInReportingPeriod"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productionFlowInReportingPeriod"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#hasPart>
;
sp:
subject
[
sp:
varName
"productionFlowsInReportingPeriod"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productionFlow"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#temporalPartOf>
;
sp:
subject
[
sp:
varName
"productionFlowInReportingPeriod"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#WholeLifeProductionFlow>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"productionFlow"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productionFlowFacility"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf>
;
sp:
subject
[
sp:
varName
"productionFlow"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productionFlowFacilityName"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/np/schema/npd#name>
;
sp:
subject
[
sp:
varName
"productionFlowFacility"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"productionFlowPurposeType"
^^
xsd:
string
]
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"productionFlow"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#ProductionFlowPurposeType>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"productionFlowPurposeType"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productionFlowPurposeTypeName"
^^
xsd:
string
]
;
sp:
predicate
rdfs:
label
;
sp:
subject
[
sp:
varName
"productionFlowPurposeType"
^^
xsd:
string
]
])
])
]
;
rhspin:
tableHeaders
(
"facility"
^^
xsd:
string
"purpose"
^^
xsd:
string
)
.
mpr-tables:
ProductionInventory
rdf:
type
rhspin:
TableTemplate
;
rdfs:
label
"Production inventory"
^^
xsd:
string
;
...
...
www.reportinghub.no/swp/MPRG.uispin.html
View file @
a01e505
...
...
@@ -160,6 +160,7 @@ OPTIONAL {
<mprgswp:Table
arg:report=
"{= ?report }"
arg:template=
"mpr-tables:ProductionFlows"
/>
<mprgswp:Table
arg:report=
"{= ?report }"
arg:template=
"mpr-tables:ProductionFlowsAll"
/>
<mprgswp:Table
arg:report=
"{= ?report }"
arg:template=
"mpr-tables:ProductionInventory"
/>
<mprgswp:Table
arg:report=
"{= ?report }"
arg:template=
"mpr-tables:ProductionInventoryAll"
/>
...
...
Please
register
or
login
to post a comment