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-08-29 19:57:52 +0100
Browse Files
Options
Browse Files
Download
Plain Diff
Commit
f4c1e279ace5a30a343e00df7fd1c68a2e9bb027
f4c1e279
2 parents
9acd8bce
7478feb1
Merge branch 'MPR_08-29'
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
50 additions
and
9 deletions
www.reportinghub.no/ep/spin/SPIN_EPIM-DPR-lib-v1.1.spin.ttl
www.reportinghub.no/ep/transform/TRANSFORM_mpr-facilityIdentifierStructure-v1.1.1.ttl
www.reportinghub.no/ep/spin/SPIN_EPIM-DPR-lib-v1.1.spin.ttl
View file @
f4c1e27
...
...
@@ -881,6 +881,47 @@ ep-dpr-spin-lib:buildShipURI
])
]
.
ep-dpr-spin-lib:
buildSmallFacilityURI
rdf:
type
spin:
Function
;
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
rdfs:
comment
"""ar1 is the naming system
arg2 is name of facility"""
^^
xsd:
string
;
sp:
resultVariables
([
sp:
varName
"uri"
^^
xsd:
string
])
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
""
]
;
sp:
arg2
[
rdf:
type
ep-spin-lib:
buildURI
;
sp:
arg1
"https://www.reportinghub.no/ep/data/smallFacility/"
;
sp:
arg2
[
rdf:
type
ep-spin-lib:
normalizeString
;
sp:
arg1
spin:
_arg1
]
]
;
sp:
arg3
[
rdf:
type
ep-spin-lib:
buildURI
;
sp:
arg1
"https://www.reportinghub.no/ep/data/smallFacility/"
;
sp:
arg2
[
rdf:
type
fn:
concat
;
sp:
arg1
[
rdf:
type
ep-spin-lib:
normalizeString
;
sp:
arg1
spin:
_arg1
]
;
sp:
arg2
"$"
;
sp:
arg3
[
rdf:
type
ep-spin-lib:
normalizeString
;
sp:
arg1
spin:
_arg2
]
]
]
]
;
sp:
variable
[
sp:
varName
"uri"
^^
xsd:
string
]
])
]
.
ep-dpr-spin-lib:
buildStateURI
rdf:
type
spin:
Function
;
rdfs:
label
"build State URI"
^^
xsd:
string
;
...
...
@@ -7532,15 +7573,6 @@ ep-dpr-spin-lib:selectWorkScale
])
]
.
_:
b22
sp:
varName
"volumeFlowRateAtStdType"
^^
xsd:
string
.
_:
b21
sp:
varName
"specificVolumeScale"
^^
xsd:
string
.
_:
b20
sp:
varName
"safetyActivityType"
^^
xsd:
string
.
_:
b19
sp:
varName
"productionFlowPurposeType"
^^
xsd:
string
.
...
...
@@ -7588,3 +7620,12 @@ _:b3 sp:varName "uri"^^xsd:string .
_:
b2
sp:
varName
"UUID"
^^
xsd:
string
.
_:
b1
sp:
varName
"uri"
^^
xsd:
string
.
_:
b22
sp:
varName
"volumeFlowRateAtStdType"
^^
xsd:
string
.
_:
b21
sp:
varName
"specificVolumeScale"
^^
xsd:
string
.
_:
b20
sp:
varName
"safetyActivityType"
^^
xsd:
string
.
...
...
www.reportinghub.no/ep/transform/TRANSFORM_mpr-facilityIdentifierStructure-v1.1.1.ttl
View file @
f4c1e27
This diff is collapsed. Click to expand it.
Please
register
or
login
to post a comment