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
2011-10-11 22:33:30 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
d21505a007806ac98323dabec6de9d863f822af8
d21505a0
1 parent
98e4496c
Debugged productVolume transform
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
91 additions
and
47 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/transform/TRANSFORM_dpr-productVolume-v1.1.1.ttl
www.reportinghub.no/ep/spin/SPIN_EPIM-DPR-lib-v1.1.spin.ttl
View file @
d21505a
# Saved by TopBraid on Tue Oct 11 2
1:13:43 BST 2011
# Saved by TopBraid on Tue Oct 11 2
2:30:58 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
...
...
@@ -32,13 +32,32 @@ ep-dpr-spin-lib:Function
rdfs:
label
"function"
^^
xsd:
string
;
rdfs:
subClassOf
spin:
Functions
.
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
(
_:
b1
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildURI
;
sp:
arg1
"https://www.reportinghub.no/ep/data/country/"
;
sp:
arg2
[
rdf:
type
fn:
concat
;
sp:
arg1
spin:
_arg1
]
]
;
sp:
variable
_:
b1
])
]
.
ep-dpr-spin-lib:
buildProductFlowURI
rdf:
type
spin:
Function
;
rdfs:
label
"build ProductFlow URI"
^^
xsd:
string
;
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b
1
)
;
sp:
resultVariables
(
_:
b
2
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildURI
;
...
...
@@ -49,7 +68,7 @@ ep-dpr-spin-lib:buildProductFlowURI
sp:
arg3
spin:
_arg2
]
]
;
sp:
variable
_:
b
1
sp:
variable
_:
b
2
])
]
.
...
...
@@ -59,7 +78,7 @@ ep-dpr-spin-lib:buildProductionFacilityURI
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b
2
)
;
sp:
resultVariables
(
_:
b
3
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildURI
;
...
...
@@ -68,7 +87,7 @@ ep-dpr-spin-lib:buildProductionFacilityURI
sp:
arg1
spin:
_arg1
]
]
;
sp:
variable
_:
b
2
sp:
variable
_:
b
3
])
]
.
...
...
@@ -78,7 +97,7 @@ ep-dpr-spin-lib:buildProductionFlowURI
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
;
...
...
@@ -87,7 +106,7 @@ ep-dpr-spin-lib:buildProductionFlowURI
sp:
arg1
spin:
_arg1
]
]
;
sp:
variable
_:
b
3
sp:
variable
_:
b
4
])
]
.
...
...
@@ -97,7 +116,7 @@ ep-dpr-spin-lib:buildProductionFlowsForAPeriodURI
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b
4
)
;
sp:
resultVariables
(
_:
b
5
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildURI
;
...
...
@@ -110,7 +129,26 @@ ep-dpr-spin-lib:buildProductionFlowsForAPeriodURI
sp:
arg5
spin:
_arg3
]
]
;
sp:
variable
_:
b4
sp:
variable
_:
b5
])
]
.
ep-dpr-spin-lib:
buildStateURI
rdf:
type
spin:
Function
;
rdfs:
label
"build State URI"
^^
xsd:
string
;
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b6
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildURI
;
sp:
arg1
"https://www.reportinghub.no/ep/data/state/"
;
sp:
arg2
[
rdf:
type
fn:
concat
;
sp:
arg1
spin:
_arg1
]
]
;
sp:
variable
_:
b6
])
]
.
...
...
@@ -120,7 +158,7 @@ ep-dpr-spin-lib:selectProductType
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b
5
)
;
sp:
resultVariables
(
_:
b
7
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -327,7 +365,7 @@ ep-dpr-spin-lib:selectProductType
]
]
]
;
sp:
variable
_:
b
5
sp:
variable
_:
b
7
])
]
.
...
...
@@ -337,7 +375,7 @@ ep-dpr-spin-lib:selectProductionFacilityType
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b
6
)
;
sp:
resultVariables
(
_:
b
8
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -516,7 +554,7 @@ ep-dpr-spin-lib:selectProductionFacilityType
]
]
]
;
sp:
variable
_:
b
6
sp:
variable
_:
b
8
])
]
.
...
...
@@ -526,7 +564,7 @@ ep-dpr-spin-lib:selectProductionFlowDefinitionType
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b
7
)
;
sp:
resultVariables
(
_:
b
9
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -586,7 +624,7 @@ ep-dpr-spin-lib:selectProductionFlowDefinitionType
]
]
]
;
sp:
variable
_:
b
7
sp:
variable
_:
b
9
])
]
.
...
...
@@ -596,7 +634,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionInverseRelationshipType
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b
8
)
;
sp:
resultVariables
(
_:
b
10
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -614,7 +652,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionInverseRelationshipType
sp:
arg3
<http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf>
]
]
;
sp:
variable
_:
b
8
sp:
variable
_:
b
10
])
]
.
...
...
@@ -624,7 +662,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionRelationshipType
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b
9
)
;
sp:
resultVariables
(
_:
b
11
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -642,7 +680,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionRelationshipType
sp:
arg3
<http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf>
]
]
;
sp:
variable
_:
b
9
sp:
variable
_:
b
11
])
]
.
...
...
@@ -652,7 +690,7 @@ ep-dpr-spin-lib:selectProductionFlowPurposeType
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b1
0
)
;
sp:
resultVariables
(
_:
b1
2
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -803,7 +841,7 @@ ep-dpr-spin-lib:selectProductionFlowPurposeType
]
]
]
;
sp:
variable
_:
b1
0
sp:
variable
_:
b1
2
])
]
.
...
...
@@ -813,7 +851,7 @@ ep-dpr-spin-lib:selectRelationshipToMeasure
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b1
1
)
;
sp:
resultVariables
(
_:
b1
3
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -887,7 +925,7 @@ ep-dpr-spin-lib:selectRelationshipToMeasure
]
]
]
;
sp:
variable
_:
b1
1
sp:
variable
_:
b1
3
])
]
.
...
...
@@ -896,7 +934,7 @@ ep-dpr-spin-lib:selectSafetyActivityType
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b1
2
)
;
sp:
resultVariables
(
_:
b1
4
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -1040,7 +1078,7 @@ ep-dpr-spin-lib:selectSafetyActivityType
]
]
]
;
sp:
variable
_:
b1
2
sp:
variable
_:
b1
4
])
]
.
...
...
@@ -1050,7 +1088,7 @@ ep-dpr-spin-lib:selectTemporalPartOfAFlowDurationType
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b1
3
)
;
sp:
resultVariables
(
_:
b1
5
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -1124,7 +1162,7 @@ ep-dpr-spin-lib:selectTemporalPartOfAFlowDurationType
]
]
]
;
sp:
variable
_:
b1
3
sp:
variable
_:
b1
5
])
]
.
...
...
@@ -1134,7 +1172,7 @@ ep-dpr-spin-lib:selectVolumeAtStandardTemperaturePressureType
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b1
4
)
;
sp:
resultVariables
(
_:
b1
6
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -1159,7 +1197,7 @@ ep-dpr-spin-lib:selectVolumeAtStandardTemperaturePressureType
]
]
]
;
sp:
variable
_:
b1
4
sp:
variable
_:
b1
6
])
]
.
...
...
@@ -1169,7 +1207,7 @@ ep-dpr-spin-lib:selectVolumeScale
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b1
5
)
;
sp:
resultVariables
(
_:
b1
7
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -1397,42 +1435,48 @@ ep-dpr-spin-lib:selectVolumeScale
]
]
]
;
sp:
variable
_:
b1
5
sp:
variable
_:
b1
7
])
]
.
_:
b15
_:
b6
sp:
varName
"uri"
^^
xsd:
string
.
_:
b1
sp:
varName
"uri"
^^
xsd:
string
.
_:
b17
sp:
varName
"volumeScale"
^^
xsd:
string
.
_:
b1
4
_:
b1
6
sp:
varName
"volumeAtStdType"
^^
xsd:
string
.
_:
b1
3
_:
b1
5
sp:
varName
"temporalPartOfAFlowDurationType"
^^
xsd:
string
.
_:
b11
_:
b14
sp:
varName
"safetyActivityType"
^^
xsd:
string
.
_:
b13
sp:
varName
"relationshipToMeasure"
^^
xsd:
string
.
_:
b1
0
_:
b1
2
sp:
varName
"productionFlowPurposeType"
^^
xsd:
string
.
_:
b9
sp:
varName
"productionFlowDirectionRelationshipType"
^^
xsd:
string
.
_:
b11
sp:
varName
"productionFlowDirectionRelationshipType"
^^
xsd:
string
.
_:
b8
sp:
varName
"productionFlowDirectionRelationshipType"
^^
xsd:
string
.
_:
b10
sp:
varName
"productionFlowDirectionRelationshipType"
^^
xsd:
string
.
_:
b
7
sp:
varName
"productionFlowDefinitionType"
^^
xsd:
string
.
_:
b
9
sp:
varName
"productionFlowDefinitionType"
^^
xsd:
string
.
_:
b
6
sp:
varName
"productionFacilityType"
^^
xsd:
string
.
_:
b
8
sp:
varName
"productionFacilityType"
^^
xsd:
string
.
_:
b5
sp:
varName
"productType"
^^
xsd:
string
.
_:
b7
sp:
varName
"productType"
^^
xsd:
string
.
_:
b5
sp:
varName
"uri"
^^
xsd:
string
.
_:
b4
sp:
varName
"uri"
^^
xsd:
string
.
_:
b3
sp:
varName
"uri"
^^
xsd:
string
.
_:
b2
sp:
varName
"uri"
^^
xsd:
string
.
_:
b1
sp:
varName
"uri"
^^
xsd:
string
.
_:
b12
sp:
varName
"safetyActivityType"
^^
xsd:
string
.
...
...
www.reportinghub.no/ep/spin/SPIN_EPIM-DPR-lib-v1.1.spin.ttl.tbc
View file @
d21505a
# Saved by TopBraid on Tue Oct 11 2
1:13:43
BST 2011
# Saved by TopBraid on Tue Oct 11 2
2:30:58
BST 2011
# baseURI: null
@prefix
composite:
<http://www.topbraid.org/2007/05/composite.owl#>
.
...
...
www.reportinghub.no/ep/transform/TRANSFORM_dpr-productVolume-v1.1.1.ttl
View file @
d21505a
This diff could not be displayed because it is too large.
Please
register
or
login
to post a comment