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-03-08 10:26:03 +0000
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
f71442836a5965887690710bbdf9bbd7fa040c52
f7144283
1 parent
5e0d985d
MPR Density data bug fix
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
199 additions
and
126 deletions
www.reportinghub.no/ep/transform/TRANSFORM_mpr-commonPropertiesProductVolume-v1.1.1.ttl
www.reportinghub.no/ep/transform/TRANSFORM_mpr-commonPropertiesProductVolume-v1.1.1.ttl
View file @
f714428
...
...
@@ -35,7 +35,7 @@
sp:
subject
_:
b1
])
;
sp:
where
([
sp:
object
spin:
_this
;
sp:
predicate
<http://www.epim.no/schemas/mprml/1#
volume
ValueRef>
;
sp:
predicate
<http://www.epim.no/schemas/mprml/1#
density
ValueRef>
;
sp:
subject
[
sp:
varName
"target"
^^
xsd:
string
]
...
...
@@ -71,89 +71,183 @@
<http://www.epim.no/schemas/mprml/1#Cs_volumeValue>
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 90000 Process volumeValue for a quantityOfMaterial"
^^
xsd:
string
;
sp:
templates
([
sp:
object
<http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b2
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/material#Fluid>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b2
]
[
sp:
object
[
sp:
varName
"quantityOfMaterial"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#temporalPartOf>
;
sp:
subject
_:
b2
]
[
sp:
object
_:
b3
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/flow#grossCalorificValue>
;
sp:
subject
_:
b2
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#EnergyPerVolume>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b3
]
[
sp:
object
[
sp:
varName
"realGrossCalorificValue"
^^
xsd:
string
]
;
sp:
predicate
[
sp:
varName
"grossCalorificValueScale"
^^
xsd:
string
]
;
sp:
subject
_:
b3
]
[
sp:
object
spin:
_this
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#derivedFrom>
;
sp:
subject
_:
b2
])
;
sp:
where
([
sp:
object
spin:
_this
;
sp:
predicate
<http://www.epim.no/schemas/mprml/1#volumeValueRef>
;
sp:
subject
[
sp:
varName
"target"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"target"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#derivedFrom>
;
sp:
subject
[
sp:
varName
"quantityOfMaterial"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"quantityOfMaterial"
^^
xsd:
string
]
]
[
rdf:
type
sp:
NotExists
;
sp:
elements
([
sp:
object
[
sp:
varName
"target"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#derivedFrom>
;
sp:
subject
[
sp:
varName
"classOfMaterialWithMassCriterion"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#ClassOfMaterialWithMassCriterion>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"classOfMaterialWithMassCriterion"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"grossCalorificValueRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.epim.no/schemas/mprml/1#grossCalorificValueRef>
;
sp:
subject
spin:
_this
]
[
sp:
object
[
sp:
varName
"realGrossCalorificValue"
^^
xsd:
string
]
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
[
sp:
varName
"grossCalorificValueRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"uomGrossCalorificValue"
^^
xsd:
string
]
;
sp:
predicate
<http://www.epim.no/schemas/mprml/1#uomRef>
;
sp:
subject
[
sp:
varName
"grossCalorificValueRef"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-mpr-spin-lib:
selectEnergyPerVolumeScale
;
sp:
arg1
[
sp:
varName
"uomGrossCalorificValue"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"grossCalorificValueScale"
^^
xsd:
string
]
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 90001 Process volumeValue for a quantityOfMaterial average amount of material"
^^
xsd:
string
;
sp:
templates
([
sp:
object
[
sp:
varName
"classOfMaterialWithMassCriterion"
^^
xsd:
string
]
;
sp:
predicate
rdfs:
subClassOf
;
sp:
subject
_:
b
2
]
[
sp:
object
_:
b
3
;
sp:
subject
_:
b
4
]
[
sp:
object
_:
b
5
;
sp:
predicate
rdfs:
subClassOf
;
sp:
subject
_:
b
2
sp:
subject
_:
b
4
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Volume>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b
3
sp:
subject
_:
b
5
]
[
sp:
object
[
sp:
varName
"realVolume"
^^
xsd:
string
]
;
sp:
predicate
[
sp:
varName
"volumeScale"
^^
xsd:
string
]
;
sp:
subject
_:
b
3
]
[
sp:
object
_:
b
4
;
sp:
subject
_:
b
5
]
[
sp:
object
_:
b
6
;
sp:
predicate
rdfs:
subClassOf
;
sp:
subject
_:
b
2
sp:
subject
_:
b
4
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Temperature>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b
4
sp:
subject
_:
b
6
]
[
sp:
object
[
sp:
varName
"realTemp"
^^
xsd:
string
]
;
sp:
predicate
[
sp:
varName
"temperatureScale"
^^
xsd:
string
]
;
sp:
subject
_:
b
4
]
[
sp:
object
_:
b
5
;
sp:
subject
_:
b
6
]
[
sp:
object
_:
b
7
;
sp:
predicate
rdfs:
subClassOf
;
sp:
subject
_:
b
2
sp:
subject
_:
b
4
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Pressure>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b
5
sp:
subject
_:
b
7
]
[
sp:
object
[
sp:
varName
"realPres"
^^
xsd:
string
]
;
sp:
predicate
[
sp:
varName
"pressureScale"
^^
xsd:
string
]
;
sp:
subject
_:
b
5
]
[
sp:
object
_:
b
6
;
sp:
subject
_:
b
7
]
[
sp:
object
_:
b
8
;
sp:
predicate
rdfs:
subClassOf
;
sp:
subject
_:
b
2
sp:
subject
_:
b
4
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#grossCalorificValue>
;
sp:
predicate
owl:
onProperty
;
sp:
subject
_:
b
6
]
[
sp:
object
_:
b
7
;
sp:
subject
_:
b
8
]
[
sp:
object
_:
b
9
;
sp:
predicate
owl:
allValuesFrom
;
sp:
subject
_:
b
6
sp:
subject
_:
b
8
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#EnergyPerVolume>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b
7
sp:
subject
_:
b
9
]
[
sp:
object
[
sp:
varName
"realGrossCalorificValue"
^^
xsd:
string
]
;
sp:
predicate
[
sp:
varName
"grossCalorificValueScale"
^^
xsd:
string
]
;
sp:
subject
_:
b
7
]
[
sp:
object
_:
b
8
;
sp:
subject
_:
b
9
]
[
sp:
object
_:
b
10
;
sp:
predicate
rdfs:
subClassOf
;
sp:
subject
_:
b
2
sp:
subject
_:
b
4
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#energyContent>
;
sp:
predicate
owl:
onProperty
;
sp:
subject
_:
b
8
]
[
sp:
object
_:
b
9
;
sp:
subject
_:
b
10
]
[
sp:
object
_:
b
11
;
sp:
predicate
owl:
allValuesFrom
;
sp:
subject
_:
b
8
sp:
subject
_:
b
10
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Work>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b
9
sp:
subject
_:
b
11
]
[
sp:
object
[
sp:
varName
"realWork"
^^
xsd:
string
]
;
sp:
predicate
[
sp:
varName
"workScale"
^^
xsd:
string
]
;
sp:
subject
_:
b
9
sp:
subject
_:
b
11
])
;
sp:
where
([
sp:
object
spin:
_this
;
sp:
predicate
<http://www.epim.no/schemas/mprml/1#volumeValueRef>
;
...
...
@@ -321,100 +415,6 @@
[
sp:
varName
"workScale"
^^
xsd:
string
]
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 90000 Process volumeValue for a quantityOfMaterial"
^^
xsd:
string
;
sp:
templates
([
sp:
object
<http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b10
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/material#Fluid>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b10
]
[
sp:
object
[
sp:
varName
"quantityOfMaterial"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#temporalPartOf>
;
sp:
subject
_:
b10
]
[
sp:
object
_:
b11
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/flow#grossCalorificValue>
;
sp:
subject
_:
b10
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#EnergyPerVolume>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b11
]
[
sp:
object
[
sp:
varName
"realGrossCalorificValue"
^^
xsd:
string
]
;
sp:
predicate
[
sp:
varName
"grossCalorificValueScale"
^^
xsd:
string
]
;
sp:
subject
_:
b11
]
[
sp:
object
spin:
_this
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#derivedFrom>
;
sp:
subject
_:
b10
])
;
sp:
where
([
sp:
object
spin:
_this
;
sp:
predicate
<http://www.epim.no/schemas/mprml/1#volumeValueRef>
;
sp:
subject
[
sp:
varName
"target"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"target"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#derivedFrom>
;
sp:
subject
[
sp:
varName
"quantityOfMaterial"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"quantityOfMaterial"
^^
xsd:
string
]
]
[
rdf:
type
sp:
NotExists
;
sp:
elements
([
sp:
object
[
sp:
varName
"target"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#derivedFrom>
;
sp:
subject
[
sp:
varName
"classOfMaterialWithMassCriterion"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#ClassOfMaterialWithMassCriterion>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"classOfMaterialWithMassCriterion"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"grossCalorificValueRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.epim.no/schemas/mprml/1#grossCalorificValueRef>
;
sp:
subject
spin:
_this
]
[
sp:
object
[
sp:
varName
"realGrossCalorificValue"
^^
xsd:
string
]
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
[
sp:
varName
"grossCalorificValueRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"uomGrossCalorificValue"
^^
xsd:
string
]
;
sp:
predicate
<http://www.epim.no/schemas/mprml/1#uomRef>
;
sp:
subject
[
sp:
varName
"grossCalorificValueRef"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-mpr-spin-lib:
selectEnergyPerVolumeScale
;
sp:
arg1
[
sp:
varName
"uomGrossCalorificValue"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"grossCalorificValueScale"
^^
xsd:
string
]
])
]
.
<http://www.epim.no/schemas/mprml/1#DensityMeasure>
...
...
@@ -782,25 +782,98 @@
])
]
.
<http://www.epim.no/schemas/mprml/1#VolumeQualifiedMeasure>
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 90070a Process volume for a quantity of material"
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b17
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"quantityOfMaterial"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Volume>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b17
]
[
sp:
object
[
sp:
varName
"realVolume"
^^
xsd:
string
]
;
sp:
predicate
[
sp:
varName
"volumeScale"
^^
xsd:
string
]
;
sp:
subject
_:
b17
])
;
sp:
where
([
sp:
object
spin:
_this
;
sp:
predicate
<http://www.epim.no/schemas/mprml/1#volumeRef>
;
sp:
subject
[
sp:
varName
"target"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"target"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#derivedFrom>
;
sp:
subject
[
sp:
varName
"quantityOfMaterial"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"quantityOfMaterial"
^^
xsd:
string
]
]
[
rdf:
type
sp:
NotExists
;
sp:
elements
([
sp:
object
[
sp:
varName
"target"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#derivedFrom>
;
sp:
subject
[
sp:
varName
"classOfMaterialWithMassCriterion"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#ClassOfMaterialWithMassCriterion>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"classOfMaterialWithMassCriterion"
^^
xsd:
string
]
])
]
[
sp:
object
[
sp:
varName
"realVolume"
^^
xsd:
string
]
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
spin:
_this
]
[
sp:
object
[
sp:
varName
"uomVolume"
^^
xsd:
string
]
;
sp:
predicate
<http://www.epim.no/schemas/mprml/1#uomRef>
;
sp:
subject
spin:
_this
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-mpr-spin-lib:
selectVolumeScale
;
sp:
arg1
[
sp:
varName
"uomVolume"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"volumeScale"
^^
xsd:
string
]
])
]
.
<http://www.epim.no/schemas/mprml/1#WorkMeasure>
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 90030 Process work for a quantity of material"
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b1
7
;
sp:
templates
([
sp:
object
_:
b1
8
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"quantityOfMaterial"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Work>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b1
7
sp:
subject
_:
b1
8
]
[
sp:
object
[
sp:
varName
"realWork"
^^
xsd:
string
]
;
sp:
predicate
[
sp:
varName
"workScale"
^^
xsd:
string
]
;
sp:
subject
_:
b1
7
sp:
subject
_:
b1
8
])
;
sp:
where
([
sp:
object
spin:
_this
;
sp:
predicate
<http://www.epim.no/schemas/mprml/1#workRef>
;
...
...
@@ -857,5 +930,5 @@
<http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-commonPropertiesProductVolume-v1.1.1>
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/core>
,
<http://www.reportinghub.no/ep/schema/1.0/material>
,
<http://www.reportinghub.no/ep/schema/1.0/flow
>
;
owl:
imports
<http://
www.reportinghub.no/ep/schema/1.0/flow>
,
<http://www.reportinghub.no/ep/schema/1.0/material>
,
<http://www.reportinghub.no/ep/schema/1.0/core>
,
<http://www.epim.no/schemas/mprml/1>
,
<http://spinrdf.org/spin
>
;
owl:
versionInfo
"Created with TopBraid Composer"
^^
xsd:
string
.
...
...
Please
register
or
login
to post a comment