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-06-29 16:01:08 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
e4bf9f2318aed94a5f22af6a0621bb4e4147154a
e4bf9f23
1 parent
a7221590
Mass, Density, Volume in Production table, removed Temp
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
70 additions
and
30 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 @
e4bf9f2
...
...
@@ -19,7 +19,7 @@
<http://www.reportinghub.no/ep/spin/mpr-tables>
rdf:
type
owl:
Ontology
;
owl:
imports
<http://spinrdf.org/spin>
,
<http://www.reportinghub.no/ep/s
pin/1.1/lib>
,
<http://www.reportinghub.no/ep/schema/1.0/production>
,
<http://www.reportinghub.no/ep/transform/transform-helper-schema>
;
owl:
imports
<http://spinrdf.org/spin>
,
<http://www.reportinghub.no/ep/s
chema/1.0/production>
,
<http://www.reportinghub.no/ep/spin/1.1/lib>
,
<http://www.reportinghub.no/ep/transform/transform-helper-schema>
;
owl:
versionInfo
"Created with TopBraid Composer"
^^
xsd:
string
.
mpr-tables:
Cargo
...
...
@@ -1454,13 +1454,14 @@ mpr-tables:ProductionFlowsAll
[
rdf:
type
sp:
Select
;
sp:
orderBy
([
sp:
varName
"facilityName"
^^
xsd:
string
]
[
sp:
varName
"purposeTypeName"
^^
xsd:
string
]
[
sp:
varName
"materialTypeName"
^^
xsd:
string
])
;
sp:
resultVariables
([
sp:
varName
"facilityName"
^^
xsd:
string
]
[
sp:
varName
"purposeTypeName"
^^
xsd:
string
]
[
sp:
varName
"materialTypeName"
^^
xsd:
string
]
[
sp:
varName
"massValueString"
^^
xsd:
string
]
[
sp:
varName
"volumeValueString"
^^
xsd:
string
]
[
sp:
varName
"
temperatureInCelcius"
^^
xsd:
string
]
[
sp:
varName
"
densityValueString"
^^
xsd:
string
]
[
sp:
varName
"definitionTypeName"
^^
xsd:
string
]
[
sp:
varName
"definitionSubTypeName"
^^
xsd:
string
]
[
sp:
varName
"grossOrNet"
^^
xsd:
string
...
...
@@ -1553,8 +1554,7 @@ mpr-tables:ProductionFlowsAll
sp:
subject
[
sp:
varName
"productionFlowFacility"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
]
[
sp:
object
[
sp:
varName
"productionFlowMixedPart"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#temporalPartOf>
;
...
...
@@ -1592,7 +1592,8 @@ mpr-tables:ProductionFlowsAll
sp:
subject
[
sp:
varName
"flowDuringMonth"
^^
xsd:
string
]
]
[
sp:
object
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"materialQuantityValue"
^^
xsd:
string
]
;
sp:
predicate
rdf:
type
;
...
...
@@ -1641,82 +1642,121 @@ mpr-tables:ProductionFlowsAll
sp:
variable
[
sp:
varName
"massValueString"
^^
xsd:
string
]
]
[
sp:
object
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"flowDuringMonthMaterial"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#temporalPartOf>
;
sp:
subject
[
sp:
varName
"stateOfMaterialThatFlowsInPeriod
"
^^
xsd:
string
[
sp:
varName
"stateOfMaterialThatFlowsInPeriod
Volume"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"temperature"
^^
xsd:
string
]
[
sp:
object
[
sp:
varName
"stateVolume"
^^
xsd:
string
]
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"stateOfMaterialThatFlowsInPeriod"
^^
xsd:
string
[
sp:
varName
"stateOfMaterialThatFlowsInPeriodVolume"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Temperature>
;
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Volume>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"temperature"
^^
xsd:
string
[
sp:
varName
"stateVolume"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"temperatureInCelcius"
^^
xsd:
string
[
sp:
varName
"volumeValue"
^^
xsd:
string
]
;
sp:
predicate
[
sp:
varName
"volumePredicate"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#celsius>
;
sp:
subject
[
sp:
varName
"temperature"
^^
xsd:
string
[
sp:
varName
"stateVolume"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Scale>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"volumePredicate"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"volumeUnit"
^^
xsd:
string
]
;
sp:
predicate
rdfs:
label
;
sp:
subject
[
sp:
varName
"volumePredicate"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
fn:
concat
;
sp:
arg1
[
rdf:
type
spif:
decimalFormat
;
arg:
number
[
sp:
varName
"volumeValue"
^^
xsd:
string
]
;
arg:
pattern
"#.##"
]
;
sp:
arg2
" "
;
sp:
arg3
[
sp:
varName
"volumeUnit"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"volumeValueString"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"flowDuringMonthMaterial"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#temporalPartOf>
;
sp:
subject
[
sp:
varName
"stateOfMaterialThatFlowsInPeriodDensity"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"
volume"
^^
xsd:
string
[
sp:
varName
"
stateDensity"
^^
xsd:
string
]
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"stateOfMaterialThatFlowsInPeriod
"
^^
xsd:
string
[
sp:
varName
"stateOfMaterialThatFlowsInPeriod
Density"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#
Volume>
;
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#
Density>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"
volume"
^^
xsd:
string
[
sp:
varName
"
stateDensity"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"
volumeValue"
^^
xsd:
string
[
sp:
varName
"
densityValue"
^^
xsd:
string
]
;
sp:
predicate
[
sp:
varName
"
volumePredicate"
^^
xsd:
string
[
sp:
varName
"
densityPredicate"
^^
xsd:
string
]
;
sp:
subject
[
sp:
varName
"
volume"
^^
xsd:
string
[
sp:
varName
"
stateDensity"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Scale>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"
volumePredicate"
^^
xsd:
string
[
sp:
varName
"
densityPredicate"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"
volumeUnit"
^^
xsd:
string
[
sp:
varName
"
densityUnit"
^^
xsd:
string
]
;
sp:
predicate
rdfs:
label
;
sp:
subject
[
sp:
varName
"
volumePredicate"
^^
xsd:
string
[
sp:
varName
"
densityPredicate"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
fn:
concat
;
sp:
arg1
[
rdf:
type
spif:
decimalFormat
;
arg:
number
[
sp:
varName
"
volumeValue"
^^
xsd:
string
[
sp:
varName
"
densityValue"
^^
xsd:
string
]
;
arg:
pattern
"#.##"
]
;
sp:
arg2
" "
;
sp:
arg3
[
sp:
varName
"
volumeUnit"
^^
xsd:
string
sp:
arg3
[
sp:
varName
"
densityUnit"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"
volumeValueString"
^^
xsd:
string
[
sp:
varName
"
densityValueString"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Optional
;
...
...
@@ -1826,7 +1866,7 @@ mpr-tables:ProductionFlowsAll
])
])
]
;
rhspin:
tableHeaders
(
"Facility"
^^
xsd:
string
"Purpose"
^^
xsd:
string
"Material"
^^
xsd:
string
"Mass"
^^
xsd:
string
"Volume"
^^
xsd:
string
"
Temperature C"
^^
xsd:
string
"Flow type"
^^
xsd:
string
"Flow subtype"
^^
xsd:
string
"Gross/Net"
^^
xsd:
string
)
.
rhspin:
tableHeaders
(
"Facility"
^^
xsd:
string
"Purpose"
^^
xsd:
string
"Material"
^^
xsd:
string
"Mass"
^^
xsd:
string
"Volume"
^^
xsd:
string
"
Density"
^^
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