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-03-06 10:41:32 +1000
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
be64be86d1ea6ac3c46903811e84bce204e00356
be64be86
1 parent
f0a145ad
Added error codes to constraints
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
www.reportinghub.no/ep/spin/SPIN_EP-DDR-constraints.spin.ttl
www.reportinghub.no/ep/spin/SPIN_EP-REPORT-constraints.spin.ttl
www.reportinghub.no/ep/spin/SPIN_EP-DDR-constraints.spin.ttl
View file @
be64be8
...
...
@@ -106,7 +106,7 @@ ddr:Cs_drillReportWellboreInfo
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
fn:
concat
;
sp:
arg1
"Mismatch for rig code "
;
sp:
arg1
"
[RH-19]
Mismatch for rig code "
;
sp:
arg2
[
sp:
varName
"code"
^^
xsd:
string
]
;
sp:
arg3
": The NPD name is "
;
...
...
@@ -125,7 +125,7 @@ ddr:Cs_drillReportWellboreInfo
ddr:
Obj_drillReport
spin:
constraint
[
rdf:
type
sp:
Ask
;
rdfs:
comment
"DDRs can only be submitted if a user is logged in"
^^
xsd:
string
;
rdfs:
comment
"
[RH-10]
DDRs can only be submitted if a user is logged in"
^^
xsd:
string
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
rhspin:
companyName
...
...
@@ -145,7 +145,7 @@ ddr:Obj_drillReport
]
;
spin:
constraint
[
rdf:
type
sp:
Ask
;
rdfs:
comment
"DDRs can only be submitted if the logged-in user is from a registered company"
^^
xsd:
string
;
rdfs:
comment
"
[RH-10]
DDRs can only be submitted if the logged-in user is from a registered company"
^^
xsd:
string
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
rhspin:
companyName
...
...
@@ -230,7 +230,7 @@ ddr:Obj_drillReport
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
fn:
concat
;
sp:
arg1
"Well bore number "
;
sp:
arg1
"
[RH-19]
Well bore number "
;
sp:
arg2
[
sp:
varName
"wellBoreNumber"
^^
xsd:
string
]
;
sp:
arg3
" mismatches well bore name "
;
...
...
@@ -285,7 +285,7 @@ ddr:Obj_drillReport
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
fn:
concat
;
sp:
arg1
"Unregistered well bore name "
;
sp:
arg1
"
[RH-21]
Unregistered well bore name "
;
sp:
arg2
[
sp:
varName
"wellBoreName"
^^
xsd:
string
]
]
;
...
...
www.reportinghub.no/ep/spin/SPIN_EP-REPORT-constraints.spin.ttl
View file @
be64be8
...
...
@@ -114,7 +114,7 @@
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
fn:
concat
;
sp:
arg1
"Your company ("
;
sp:
arg1
"
[RH-11]
Your company ("
;
sp:
arg2
[
sp:
varName
"companyName"
^^
xsd:
string
]
;
sp:
arg3
") is not the operator of the BAA or licence associated with well bore "
;
...
...
Please
register
or
login
to post a comment