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
MonkeyChap
2011-10-13 17:49:50 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
3126a254fc32d68d8e07c0def99fcedf7e4a1883
3126a254
1 parent
a78df266
added another buildURI function
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
143 additions
and
116 deletions
www.reportinghub.no/ep/spin/SPIN_EPIM-DPR-lib-v1.1.spin.ttl
www.reportinghub.no/ep/spin/SPIN_EPIM-DPR-lib-v1.1.spin.ttl.tbc
www.reportinghub.no/ep/spin/SPIN_EPIM-DPR-lib-v1.1.spin.ttl
View file @
3126a25
# Saved by TopBraid on Thu Oct 13 1
4:16:00
BST 2011
# Saved by TopBraid on Thu Oct 13 1
7:25:55
BST 2011
# baseURI: http://www.reportinghub.no/ep/dpr/spin/1.1/lib
# imports: http://www.reportinghub.no/ep/schema/1.0/geography
# imports: http://www.reportinghub.no/ep/schema/1.0/well
...
...
@@ -67,7 +67,7 @@ arg2 is report end date"""^^xsd:string ;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildURI
;
sp:
arg1
"https://www.reportinghub.no/ep/data/annualProduc
it
onActivityToEndOfReportingPeriod/"
;
sp:
arg1
"https://www.reportinghub.no/ep/data/annualProduc
ti
onActivityToEndOfReportingPeriod/"
;
sp:
arg2
[
rdf:
type
fn:
concat
;
sp:
arg1
[
rdf:
type
ep-spin-lib:
normalizeString
;
sp:
arg1
spin:
_arg1
...
...
@@ -80,13 +80,37 @@ arg2 is report end date"""^^xsd:string ;
])
]
.
ep-dpr-spin-lib:
buildAnnualProductionOperationsActivityToEndOfPeriodURI
rdf:
type
spin:
Function
;
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
rdfs:
comment
"""arg1 is name of the facility (this may to change when we sort out the identity lookup)
arg2 is report end date"""
^^
xsd:
string
;
sp:
resultVariables
(
_:
b3
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildURI
;
sp:
arg1
"https://www.reportinghub.no/ep/data/annualProductionOperationsActivityToEndOfReportingPeriod/"
;
sp:
arg2
[
rdf:
type
fn:
concat
;
sp:
arg1
[
rdf:
type
ep-spin-lib:
normalizeString
;
sp:
arg1
spin:
_arg1
]
;
sp:
arg2
"$"
;
sp:
arg3
spin:
_arg2
]
]
;
sp:
variable
_:
b3
])
]
.
ep-dpr-spin-lib:
buildCountryURI
rdf:
type
spin:
Function
;
rdfs:
label
"build Country URI"
^^
xsd:
string
;
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b
3
)
;
sp:
resultVariables
(
_:
b
4
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildURI
;
...
...
@@ -95,7 +119,7 @@ ep-dpr-spin-lib:buildCountryURI
sp:
arg1
spin:
_arg1
]
]
;
sp:
variable
_:
b
3
sp:
variable
_:
b
4
])
]
.
...
...
@@ -107,7 +131,7 @@ ep-dpr-spin-lib:buildDailyProductionActivityURI
rdfs:
comment
"""arg1 is name of facility (this is going to change when we sort out the identity lookup)
arg2 is start date
arg3 is end date"""
^^
xsd:
string
;
sp:
resultVariables
(
_:
b
4
)
;
sp:
resultVariables
(
_:
b
5
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildURI
;
...
...
@@ -122,7 +146,7 @@ arg3 is end date"""^^xsd:string ;
sp:
arg5
spin:
_arg3
]
]
;
sp:
variable
_:
b
4
sp:
variable
_:
b
5
])
]
.
...
...
@@ -134,7 +158,7 @@ ep-dpr-spin-lib:buildDailyProductionOperationsActivityURI
rdfs:
comment
"""arg1 is name of facility (this is going to change when we sort out the identity lookup)
arg2 is start date
arg3 is end date"""
^^
xsd:
string
;
sp:
resultVariables
(
_:
b
5
)
;
sp:
resultVariables
(
_:
b
6
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildURI
;
...
...
@@ -149,7 +173,7 @@ arg3 is end date"""^^xsd:string ;
sp:
arg5
spin:
_arg3
]
]
;
sp:
variable
_:
b
5
sp:
variable
_:
b
6
])
]
.
...
...
@@ -159,14 +183,14 @@ ep-dpr-spin-lib:buildFacilityURI
spin:
body
[
rdf:
type
sp:
Select
;
rdfs:
comment
"arg1 is name of facility (this is going to change when we sort out the identity lookup)"
^^
xsd:
string
;
sp:
resultVariables
(
_:
b
6
)
;
sp:
resultVariables
(
_:
b
7
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildURI
;
sp:
arg1
"https://www.reportinghub.no/ep/data/temporalPartOfAFacility/"
;
sp:
arg2
spin:
_arg1
]
;
sp:
variable
_:
b
6
sp:
variable
_:
b
7
])
]
.
...
...
@@ -176,7 +200,7 @@ ep-dpr-spin-lib:buildProductFlowURI
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b
7
)
;
sp:
resultVariables
(
_:
b
8
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildURI
;
...
...
@@ -187,7 +211,7 @@ ep-dpr-spin-lib:buildProductFlowURI
sp:
arg3
spin:
_arg2
]
]
;
sp:
variable
_:
b
7
sp:
variable
_:
b
8
])
]
.
...
...
@@ -197,7 +221,7 @@ ep-dpr-spin-lib:buildProductionFacilityURI
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b
8
)
;
sp:
resultVariables
(
_:
b
9
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildURI
;
...
...
@@ -206,7 +230,7 @@ ep-dpr-spin-lib:buildProductionFacilityURI
sp:
arg1
spin:
_arg1
]
]
;
sp:
variable
_:
b
8
sp:
variable
_:
b
9
])
]
.
...
...
@@ -216,7 +240,7 @@ ep-dpr-spin-lib:buildProductionFlowURI
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b
9
)
;
sp:
resultVariables
(
_:
b
10
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildURI
;
...
...
@@ -225,7 +249,7 @@ ep-dpr-spin-lib:buildProductionFlowURI
sp:
arg1
spin:
_arg1
]
]
;
sp:
variable
_:
b
9
sp:
variable
_:
b
10
])
]
.
...
...
@@ -235,7 +259,7 @@ ep-dpr-spin-lib:buildProductionFlowsForAPeriodURI
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b1
0
)
;
sp:
resultVariables
(
_:
b1
1
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildURI
;
...
...
@@ -248,7 +272,7 @@ ep-dpr-spin-lib:buildProductionFlowsForAPeriodURI
sp:
arg5
spin:
_arg3
]
]
;
sp:
variable
_:
b1
0
sp:
variable
_:
b1
1
])
]
.
...
...
@@ -258,7 +282,7 @@ ep-dpr-spin-lib:buildShipURI
spin:
body
[
rdf:
type
sp:
Select
;
rdfs:
comment
"arg1 is name of the ship - assumed to be unique in this scope"
^^
xsd:
string
;
sp:
resultVariables
(
_:
b1
1
)
;
sp:
resultVariables
(
_:
b1
2
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildURI
;
...
...
@@ -267,7 +291,7 @@ ep-dpr-spin-lib:buildShipURI
sp:
arg1
spin:
_arg1
]
]
;
sp:
variable
_:
b1
1
sp:
variable
_:
b1
2
])
]
.
...
...
@@ -277,7 +301,7 @@ ep-dpr-spin-lib:buildStateURI
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b1
2
)
;
sp:
resultVariables
(
_:
b1
3
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildURI
;
...
...
@@ -286,7 +310,7 @@ ep-dpr-spin-lib:buildStateURI
sp:
arg1
spin:
_arg1
]
]
;
sp:
variable
_:
b1
2
sp:
variable
_:
b1
3
])
]
.
...
...
@@ -298,7 +322,7 @@ ep-dpr-spin-lib:buildTemporalPartOfFacilityURI
rdfs:
comment
"""arg1 is name of facility (this is going to change when we sort out the identity lookup)
arg2 is start date
arg3 is end date"""
^^
xsd:
string
;
sp:
resultVariables
(
_:
b1
3
)
;
sp:
resultVariables
(
_:
b1
4
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildURI
;
...
...
@@ -313,7 +337,7 @@ arg3 is end date"""^^xsd:string ;
sp:
arg5
spin:
_arg3
]
]
;
sp:
variable
_:
b1
3
sp:
variable
_:
b1
4
])
]
.
...
...
@@ -323,7 +347,7 @@ ep-dpr-spin-lib:selectDurationScale
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b1
4
)
;
sp:
resultVariables
(
_:
b1
5
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -348,7 +372,7 @@ ep-dpr-spin-lib:selectDurationScale
]
]
]
;
sp:
variable
_:
b1
4
sp:
variable
_:
b1
5
])
]
.
...
...
@@ -358,7 +382,7 @@ ep-dpr-spin-lib:selectLengthScale
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b1
5
)
;
sp:
resultVariables
(
_:
b1
6
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -397,7 +421,7 @@ ep-dpr-spin-lib:selectLengthScale
]
]
]
;
sp:
variable
_:
b1
5
sp:
variable
_:
b1
6
])
]
.
...
...
@@ -407,7 +431,7 @@ ep-dpr-spin-lib:selectPressureScale
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b1
6
)
;
sp:
resultVariables
(
_:
b1
7
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -432,7 +456,7 @@ ep-dpr-spin-lib:selectPressureScale
]
]
]
;
sp:
variable
_:
b1
6
sp:
variable
_:
b1
7
])
]
.
...
...
@@ -442,7 +466,7 @@ ep-dpr-spin-lib:selectProductType
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b1
7
)
;
sp:
resultVariables
(
_:
b1
8
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -649,7 +673,7 @@ ep-dpr-spin-lib:selectProductType
]
]
]
;
sp:
variable
_:
b1
7
sp:
variable
_:
b1
8
])
]
.
...
...
@@ -659,7 +683,7 @@ ep-dpr-spin-lib:selectProductionFacilityType
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b1
8
)
;
sp:
resultVariables
(
_:
b1
9
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -838,7 +862,7 @@ ep-dpr-spin-lib:selectProductionFacilityType
]
]
]
;
sp:
variable
_:
b1
8
sp:
variable
_:
b1
9
])
]
.
...
...
@@ -848,7 +872,7 @@ ep-dpr-spin-lib:selectProductionFlowDefinitionType
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b
19
)
;
sp:
resultVariables
(
_:
b
20
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -908,7 +932,7 @@ ep-dpr-spin-lib:selectProductionFlowDefinitionType
]
]
]
;
sp:
variable
_:
b
19
sp:
variable
_:
b
20
])
]
.
...
...
@@ -918,7 +942,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionInverseRelationshipType
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b2
0
)
;
sp:
resultVariables
(
_:
b2
1
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -936,7 +960,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionInverseRelationshipType
sp:
arg3
<http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf>
]
]
;
sp:
variable
_:
b2
0
sp:
variable
_:
b2
1
])
]
.
...
...
@@ -946,7 +970,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionRelationshipType
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b2
1
)
;
sp:
resultVariables
(
_:
b2
2
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -964,7 +988,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionRelationshipType
sp:
arg3
<http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf>
]
]
;
sp:
variable
_:
b2
1
sp:
variable
_:
b2
2
])
]
.
...
...
@@ -974,7 +998,7 @@ ep-dpr-spin-lib:selectProductionFlowPurposeType
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b2
2
)
;
sp:
resultVariables
(
_:
b2
3
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -1125,7 +1149,7 @@ ep-dpr-spin-lib:selectProductionFlowPurposeType
]
]
]
;
sp:
variable
_:
b2
2
sp:
variable
_:
b2
3
])
]
.
...
...
@@ -1135,7 +1159,7 @@ ep-dpr-spin-lib:selectRelationshipToMeasure
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b2
3
)
;
sp:
resultVariables
(
_:
b2
4
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -1209,7 +1233,7 @@ ep-dpr-spin-lib:selectRelationshipToMeasure
]
]
]
;
sp:
variable
_:
b2
3
sp:
variable
_:
b2
4
])
]
.
...
...
@@ -1218,7 +1242,7 @@ ep-dpr-spin-lib:selectSafetyActivityType
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b2
4
)
;
sp:
resultVariables
(
_:
b2
5
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -1362,7 +1386,7 @@ ep-dpr-spin-lib:selectSafetyActivityType
]
]
]
;
sp:
variable
_:
b2
4
sp:
variable
_:
b2
5
])
]
.
...
...
@@ -1372,7 +1396,7 @@ ep-dpr-spin-lib:selectSpecificVolumeScale
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b2
5
)
;
sp:
resultVariables
(
_:
b2
6
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -1383,7 +1407,7 @@ ep-dpr-spin-lib:selectSpecificVolumeScale
sp:
arg2
<http://www.reportinghub.no/ep/schema/core#fractionByVolume>
;
sp:
arg3
<http://www.reportinghub.no/ep/schema/core#undefinedScale>
]
;
sp:
variable
_:
b2
5
sp:
variable
_:
b2
6
])
]
.
...
...
@@ -1393,7 +1417,7 @@ ep-dpr-spin-lib:selectTemperatureScale
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b2
6
)
;
sp:
resultVariables
(
_:
b2
7
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -1411,7 +1435,7 @@ ep-dpr-spin-lib:selectTemperatureScale
sp:
arg3
<http://www.reportinghub.no/ep/schema/core#undefinedScale>
]
]
;
sp:
variable
_:
b2
6
sp:
variable
_:
b2
7
])
]
.
...
...
@@ -1421,7 +1445,7 @@ ep-dpr-spin-lib:selectTemporalPartOfAFlowDurationType
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b2
7
)
;
sp:
resultVariables
(
_:
b2
8
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -1495,7 +1519,7 @@ ep-dpr-spin-lib:selectTemporalPartOfAFlowDurationType
]
]
]
;
sp:
variable
_:
b2
7
sp:
variable
_:
b2
8
])
]
.
...
...
@@ -1504,7 +1528,7 @@ ep-dpr-spin-lib:selectTemporalPartOfActivityDurationType
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b2
8
)
;
sp:
resultVariables
(
_:
b2
9
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -1578,7 +1602,7 @@ ep-dpr-spin-lib:selectTemporalPartOfActivityDurationType
]
]
]
;
sp:
variable
_:
b2
8
sp:
variable
_:
b2
9
])
]
.
...
...
@@ -1588,7 +1612,7 @@ ep-dpr-spin-lib:selectVolumeAtStandardTemperaturePressureType
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b
29
)
;
sp:
resultVariables
(
_:
b
30
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -1613,7 +1637,7 @@ ep-dpr-spin-lib:selectVolumeAtStandardTemperaturePressureType
]
]
]
;
sp:
variable
_:
b
29
sp:
variable
_:
b
30
])
]
.
...
...
@@ -1623,7 +1647,7 @@ ep-dpr-spin-lib:selectVolumeFlowRateAtStandardTemperaturePressureType
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b3
0
)
;
sp:
resultVariables
(
_:
b3
1
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -1648,7 +1672,7 @@ ep-dpr-spin-lib:selectVolumeFlowRateAtStandardTemperaturePressureType
]
]
]
;
sp:
variable
_:
b3
0
sp:
variable
_:
b3
1
])
]
.
...
...
@@ -1658,7 +1682,7 @@ ep-dpr-spin-lib:selectVolumeFlowRateScale
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b3
1
)
;
sp:
resultVariables
(
_:
b3
2
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -1683,7 +1707,7 @@ ep-dpr-spin-lib:selectVolumeFlowRateScale
]
]
]
;
sp:
variable
_:
b3
1
sp:
variable
_:
b3
2
])
]
.
...
...
@@ -1693,7 +1717,7 @@ ep-dpr-spin-lib:selectVolumeScale
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b3
2
)
;
sp:
resultVariables
(
_:
b3
3
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -1921,93 +1945,96 @@ ep-dpr-spin-lib:selectVolumeScale
]
]
]
;
sp:
variable
_:
b3
2
sp:
variable
_:
b3
3
])
]
.
_:
b32
sp:
varName
"volumeScale"
^^
xsd:
string
.
_:
b1
sp:
varName
"uri"
^^
xsd:
string
.
_:
b31
sp:
varName
"volumeFlowRateScale"
^^
xsd:
string
.
_:
b4
sp:
varName
"uri"
^^
xsd:
string
.
_:
b30
sp:
varName
"volumeFlowRateAtStdType"
^^
xsd:
string
.
_:
b5
sp:
varName
"uri"
^^
xsd:
string
.
_:
b29
sp:
varName
"volumeAtStdType"
^^
xsd:
string
.
_:
b6
sp:
varName
"uri"
^^
xsd:
string
.
_:
b28
sp:
varName
"prodActType"
^^
xsd:
string
.
_:
b7
sp:
varName
"uri"
^^
xsd:
string
.
_:
b27
sp:
varName
"temporalPartOfAFlowDurationType"
^^
xsd:
string
.
_:
b8
sp:
varName
"uri"
^^
xsd:
string
.
_:
b26
sp:
varName
"temperatureScale"
^^
xsd:
string
.
_:
b9
sp:
varName
"uri"
^^
xsd:
string
.
_:
b
25
sp:
varName
"
specificVolumeScale
"
^^
xsd:
string
.
_:
b
10
sp:
varName
"
uri
"
^^
xsd:
string
.
_:
b
24
sp:
varName
"
safetyActivityType
"
^^
xsd:
string
.
_:
b
11
sp:
varName
"
uri
"
^^
xsd:
string
.
_:
b
23
sp:
varName
"
relationshipToMeasure
"
^^
xsd:
string
.
_:
b
12
sp:
varName
"
uri
"
^^
xsd:
string
.
_:
b
22
sp:
varName
"
productionFlowPurposeType
"
^^
xsd:
string
.
_:
b
13
sp:
varName
"
uri
"
^^
xsd:
string
.
_:
b
21
sp:
varName
"
productionFlowDirectionRelationshipType
"
^^
xsd:
string
.
_:
b
14
sp:
varName
"
uri
"
^^
xsd:
string
.
_:
b
20
sp:
varName
"
productionFlowDirectionRelationshipTyp
e"
^^
xsd:
string
.
_:
b
15
sp:
varName
"
durationScal
e"
^^
xsd:
string
.
_:
b19
sp:
varName
"productionFlowDefinitionType"
^^
xsd:
string
.
_:
b16
sp:
varName
"lengthScale"
^^
xsd:
string
.
_:
b17
sp:
varName
"pressureScale"
^^
xsd:
string
.
_:
b18
sp:
varName
"productType"
^^
xsd:
string
.
_:
b19
sp:
varName
"productionFacilityType"
^^
xsd:
string
.
_:
b
17
sp:
varName
"productType"
^^
xsd:
string
.
_:
b
20
sp:
varName
"product
ionFlowDefinition
Type"
^^
xsd:
string
.
_:
b
16
sp:
varName
"pr
essureScal
e"
^^
xsd:
string
.
_:
b
21
sp:
varName
"pr
oductionFlowDirectionRelationshipTyp
e"
^^
xsd:
string
.
_:
b
15
sp:
varName
"
lengthScal
e"
^^
xsd:
string
.
_:
b
22
sp:
varName
"
productionFlowDirectionRelationshipTyp
e"
^^
xsd:
string
.
_:
b
14
sp:
varName
"
durationScal
e"
^^
xsd:
string
.
_:
b
23
sp:
varName
"
productionFlowPurposeTyp
e"
^^
xsd:
string
.
_:
b
13
sp:
varName
"
uri
"
^^
xsd:
string
.
_:
b
24
sp:
varName
"
relationshipToMeasure
"
^^
xsd:
string
.
_:
b
12
sp:
varName
"
uri
"
^^
xsd:
string
.
_:
b
25
sp:
varName
"
safetyActivityType
"
^^
xsd:
string
.
_:
b
11
sp:
varName
"
uri
"
^^
xsd:
string
.
_:
b
26
sp:
varName
"
specificVolumeScale
"
^^
xsd:
string
.
_:
b
10
sp:
varName
"
uri
"
^^
xsd:
string
.
_:
b
27
sp:
varName
"
temperatureScale
"
^^
xsd:
string
.
_:
b9
sp:
varName
"uri"
^^
xsd:
string
.
_:
b28
sp:
varName
"temporalPartOfAFlowDurationType"
^^
xsd:
string
.
_:
b8
sp:
varName
"uri"
^^
xsd:
string
.
_:
b29
sp:
varName
"prodActType"
^^
xsd:
string
.
_:
b7
sp:
varName
"uri"
^^
xsd:
string
.
_:
b30
sp:
varName
"volumeAtStdType"
^^
xsd:
string
.
_:
b5
sp:
varName
"uri"
^^
xsd:
string
.
_:
b31
sp:
varName
"volumeFlowRateAtStdType"
^^
xsd:
string
.
_:
b4
sp:
varName
"uri"
^^
xsd:
string
.
_:
b32
sp:
varName
"volumeFlowRateScale"
^^
xsd:
string
.
_:
b33
sp:
varName
"volumeScale"
^^
xsd:
string
.
_:
b3
sp:
varName
"uri"
^^
xsd:
string
.
_:
b2
sp:
varName
"uri"
^^
xsd:
string
.
_:
b1
sp:
varName
"uri"
^^
xsd:
string
.
_:
b6
sp:
varName
"uri"
^^
xsd:
string
.
...
...
www.reportinghub.no/ep/spin/SPIN_EPIM-DPR-lib-v1.1.spin.ttl.tbc
View file @
3126a25
# Saved by TopBraid on Thu Oct 13 1
4:16:00
BST 2011
# Saved by TopBraid on Thu Oct 13 1
7:25:56
BST 2011
# baseURI: null
@prefix
composite:
<http://www.topbraid.org/2007/05/composite.owl#>
.
...
...
Please
register
or
login
to post a comment