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
Holger Knublauch
2012-05-18 11:20:59 +1000
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
3c7f376bf753c138caa14f0472c6ae44450d7b72
3c7f376b
1 parent
597f0c1b
Added constraints for platforms and generalizes constraint for Company Names
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
1 deletions
www.reportinghub.no/ep/spin/SPIN_MPR-proxy-constraints.spin.ttl
www.reportinghub.no/ep/spin/SPIN_MPR-proxy-constraints.spin.ttl
View file @
3c7f376
...
...
@@ -13,6 +13,7 @@
@prefix
rdfs:
<http://www.w3.org/2000/01/rdf-schema#>
.
@prefix
rhspin:
<http://www.reportinghub.no/spin/rh#>
.
@prefix
sp:
<http://spinrdf.org/sp#>
.
@prefix
spif:
<http://spinrdf.org/spif#>
.
@prefix
spin:
<http://spinrdf.org/spin#>
.
@prefix
spl:
<http://spinrdf.org/spl#>
.
@prefix
xsd:
<http://www.w3.org/2001/XMLSchema#>
.
...
...
@@ -48,7 +49,9 @@ arg:kindRef
]
[
rdf:
type
sp:
TriplePath
;
sp:
object
"Operating Company"
;
sp:
object
[
sp:
varName
"role"
^^
xsd:
string
;
]
;
sp:
path
[
rdf:
type
sp:
SeqPath
;
sp:
path1
<http://www.epim.no/schemas/mprml/1#roleRef>
;
...
...
@@ -57,6 +60,19 @@ arg:kindRef
sp:
subject
spin:
_this
;
]
[
rdf:
type
sp:
Filter
;
sp:
expression
[
rdf:
type
sp:
eq
;
sp:
arg1
[
rdf:
type
spif:
lowerCase
;
sp:
arg1
[
sp:
varName
"role"
^^
xsd:
string
;
]
;
]
;
sp:
arg2
"operating company"
;
]
;
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
rhspin:
companyWithName
;
...
...
@@ -104,6 +120,11 @@ arg:kindRef
]
;
spin:
constraint
[
rdf:
type
mpr-proxy-constraints:
CheckId
;
arg:
kindRef
<http://www.epim.no/schemas/mprml/1#RF_platform>
;
arg:
type
<http://www.reportinghub.no/ep/schema/facility#Facility>
;
]
;
spin:
constraint
[
rdf:
type
mpr-proxy-constraints:
CheckId
;
arg:
kindRef
<http://www.epim.no/schemas/mprml/1#RF_terminal>
;
arg:
type
<http://www.reportinghub.no/ep/schema/facility#Facility>
;
]
;
...
...
@@ -139,6 +160,11 @@ arg:kindRef
]
;
spin:
constraint
[
rdf:
type
mpr-proxy-constraints:
CheckName
;
arg:
kindRef
<http://www.epim.no/schemas/mprml/1#RF_platform>
;
arg:
type
<http://www.reportinghub.no/ep/schema/facility#Facility>
;
]
;
spin:
constraint
[
rdf:
type
mpr-proxy-constraints:
CheckName
;
arg:
kindRef
<http://www.epim.no/schemas/mprml/1#RF_terminal>
;
arg:
type
<http://www.reportinghub.no/ep/schema/facility#Facility>
;
]
;
...
...
Please
register
or
login
to post a comment