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
2011-12-15 10:50:24 +1000
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
9c258c38f97e1e5b6cce51154ee026d9b33ee01e
9c258c38
1 parent
a63b3608
Rig checking now case insensitive
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
31 deletions
www.reportinghub.no/ep/spin/SPIN_EP-DDR-constraints.spin.ttl
www.reportinghub.no/ep/spin/SPIN_EP-DDR-constraints.spin.ttl
View file @
9c258c3
...
...
@@ -15,6 +15,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#>
.
...
...
@@ -93,9 +94,13 @@ ddr:Cs_drillReportWellboreInfo
]
[
rdf:
type
sp:
Filter
;
sp:
expression
[
rdf:
type
sp:
ne
;
sp:
arg1
[
sp:
varName
"npdName"
^^
xsd:
string
sp:
arg1
[
rdf:
type
spif:
lowerCase
;
sp:
arg1
[
sp:
varName
"npdName"
^^
xsd:
string
]
]
;
sp:
arg2
[
sp:
varName
"name"
^^
xsd:
string
sp:
arg2
[
rdf:
type
spif:
lowerCase
;
sp:
arg1
[
sp:
varName
"name"
^^
xsd:
string
]
]
]
]
[
rdf:
type
sp:
Bind
;
...
...
@@ -140,11 +145,6 @@ ddr:Obj_drillReport
]
;
sp:
predicate
<http://www.reportinghub.no/ep/spin/lib#nameWellbore>
;
sp:
subject
spin:
_this
]
[
sp:
object
[
sp:
varName
"wellBoreNumber"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/spin/lib#numberWellbore>
;
sp:
subject
spin:
_this
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
rhspin:
wellBoreByName
;
...
...
@@ -155,31 +155,19 @@ ddr:Obj_drillReport
sp:
variable
[
sp:
varName
"wellBore"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
rhspin:
wellBoreById
;
arg:
id
[
sp:
varName
"wellBoreNumber"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"wellBore2"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Filter
;
sp:
expression
[
rdf:
type
sp:
n
e
;
sp:
arg1
[
sp:
varName
"wellBore"
^^
xsd:
string
]
;
sp:
arg2
[
sp:
varName
"wellBore2"
^^
xsd:
string
[
rdf:
type
sp:
n
ot
;
sp:
arg1
[
rdf:
type
sp:
bound
;
sp:
arg1
[
sp:
varName
"wellBore"
^^
xsd:
string
]
]
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
fn:
concat
;
sp:
arg1
"Well bore number "
;
sp:
arg2
[
sp:
varName
"wellBoreNumber"
^^
xsd:
string
]
;
sp:
arg3
"mismatches well bore name "
;
sp:
arg4
[
sp:
varName
"wellBoreName"
^^
xsd:
string
sp:
arg1
"Unregistered well bore name "
;
sp:
arg2
[
sp:
varName
"wellBoreName"
^^
xsd:
string
]
]
;
sp:
variable
...
...
@@ -229,6 +217,11 @@ ddr:Obj_drillReport
]
;
sp:
predicate
<http://www.reportinghub.no/ep/spin/lib#nameWellbore>
;
sp:
subject
spin:
_this
]
[
sp:
object
[
sp:
varName
"wellBoreNumber"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/spin/lib#numberWellbore>
;
sp:
subject
spin:
_this
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
rhspin:
wellBoreByName
;
...
...
@@ -239,19 +232,31 @@ ddr:Obj_drillReport
sp:
variable
[
sp:
varName
"wellBore"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
rhspin:
wellBoreById
;
arg:
id
[
sp:
varName
"wellBoreNumber"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"wellBore2"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Filter
;
sp:
expression
[
rdf:
type
sp:
n
ot
;
sp:
arg1
[
rdf:
type
sp:
bound
;
sp:
arg1
[
sp:
varName
"wellBore"
^^
xsd:
string
]
[
rdf:
type
sp:
n
e
;
sp:
arg1
[
sp:
varName
"wellBore"
^^
xsd:
string
]
;
sp:
arg2
[
sp:
varName
"wellBore2"
^^
xsd:
string
]
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
fn:
concat
;
sp:
arg1
"Unregistered well bore name "
;
sp:
arg2
[
sp:
varName
"wellBoreName"
^^
xsd:
string
sp:
arg1
"Well bore number "
;
sp:
arg2
[
sp:
varName
"wellBoreNumber"
^^
xsd:
string
]
;
sp:
arg3
"mismatches well bore name "
;
sp:
arg4
[
sp:
varName
"wellBoreName"
^^
xsd:
string
]
]
;
sp:
variable
...
...
Please
register
or
login
to post a comment