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
Bob DuCharme
2012-10-31 15:14:36 -0400
Browse Files
Options
Browse Files
Download
Plain Diff
Commit
a678cf5de47942e6b6993106bcd4b76d83d27f13
a678cf5d
2 parents
3af9a756
7e9b59ca
Merge branch 'bob-oct31'
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
56 additions
and
16 deletions
www.reportinghub.no/ep/spin/SPIN_EP-DPR-tables-v1.0.spin.ttl
www.reportinghub.no/ep/spin/SPIN_EP-DPR-tables-v1.0.spin.ttl
View file @
a678cf5
...
...
@@ -252,6 +252,7 @@ dpr-tables:FluidSampleAnalysisResults
rdfs:
subClassOf
rhspin:
DPRTableTemplates
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
distinct
"true"
^^
xsd:
boolean
;
sp:
orderBy
([
sp:
varName
"sampledFluidName"
^^
xsd:
string
])
;
sp:
resultVariables
([
sp:
varName
"sampledFluidName"
^^
xsd:
string
...
...
@@ -347,48 +348,87 @@ dpr-tables:FluidSampleAnalysisResults
sp:
subject
[
sp:
varName
"componentType"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
]
[
sp:
object
[
sp:
varName
"firstOfPair"
^^
xsd:
string
]
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"component"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#MolePair>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"molePair"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"firstOfPair"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/material#partMaterial
OfPair>
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#first
OfPair>
;
sp:
subject
[
sp:
varName
"material
Pair"
^^
xsd:
string
[
sp:
varName
"mole
Pair"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"massRatio"
^^
xsd:
string
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Mole>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"firstOfPair"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"secondOfPair"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/material#massRatio
>
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#secondOfPair
>
;
sp:
subject
[
sp:
varName
"materialPair"
^^
xsd:
string
[
sp:
varName
"molePair"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Mole>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"secondOfPair"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"ratio"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#divide>
;
sp:
subject
[
sp:
varName
"molePair"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Ratio>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"ratio"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizePropertyUnitAndValue
;
sp:
arg1
[
sp:
varName
"massR
atio"
^^
xsd:
string
sp:
arg1
[
sp:
varName
"r
atio"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"mass
RatioPercent"
^^
xsd:
string
[
sp:
varName
"mole
RatioPercent"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"moleRatio
"
^^
xsd:
string
[
sp:
varName
"component
"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/material#moleRatio>
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/material#partMaterialOfPair>
;
sp:
subject
[
sp:
varName
"materialPair"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"massRatio"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/material#massRatio>
;
sp:
subject
[
sp:
varName
"materialPair"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizePropertyUnitAndValue
;
sp:
arg1
[
sp:
varName
"m
ole
Ratio"
^^
xsd:
string
sp:
arg1
[
sp:
varName
"m
ass
Ratio"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"m
ole
RatioPercent"
^^
xsd:
string
[
sp:
varName
"m
ass
RatioPercent"
^^
xsd:
string
]
])
])
...
...
Please
register
or
login
to post a comment