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-10-05 19:09:47 +1000
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
9c2f0121d824f2a73e2ac18f764fa554c3abf326
9c2f0121
1 parent
c0d017c0
Replaced ddr:nameWell with ep-spin-lib:nameWell
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
47 additions
and
47 deletions
www.reportinghub.no/ep/spin/SPIN_EP-DDR-constraints.spin.ttl
www.reportinghub.no/ep/spin/SPIN_EPIM-lib-v1.1.spin.ttl
www.reportinghub.no/ep/transform/TRANSFORM_ddr-collector.ttl
www.reportinghub.no/ep/transform/TRANSFORM_ddr-drillReport-v1.1.1.ttl
www.reportinghub.no/ep/spin/SPIN_EP-DDR-constraints.spin.ttl
View file @
9c2f012
...
...
@@ -34,7 +34,7 @@ ddr:Obj_drillReport
]
[
sp:
object
spin:
_this
;
sp:
predicate
spin:
violationRoot
;
sp:
subject
_:
b1
]
[
sp:
object
ddr:
nameWell
bore
;
]
[
sp:
object
ddr:
nameWell
;
sp:
predicate
spin:
violationPath
;
sp:
subject
_:
b1
]
[
sp:
object
...
...
@@ -44,33 +44,35 @@ ddr:Obj_drillReport
sp:
subject
_:
b1
])
;
sp:
where
([
sp:
object
[
sp:
varName
"well
Bore
Name"
^^
xsd:
string
[
sp:
varName
"wellName"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/spin/lib#nameWell
bore
>
;
sp:
predicate
<http://www.reportinghub.no/ep/spin/lib#nameWell>
;
sp:
subject
spin:
_this
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
rhspin:
wellB
oreB
yName
;
arg:
well
Bore
Name
[
sp:
varName
"well
Bore
Name"
^^
xsd:
string
[
rdf:
type
rhspin:
wellByName
;
arg:
wellName
[
sp:
varName
"wellName"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"well
Bore
"
^^
xsd:
string
[
sp:
varName
"well"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Filter
;
sp:
expression
[
rdf:
type
sp:
not
;
sp:
arg1
[
rdf:
type
sp:
bound
;
sp:
arg1
[
sp:
varName
"wellBore"
^^
xsd:
string
]
sp:
arg1
[
rdf:
type
rhspin:
npdTripleExists
;
sp:
arg1
[
sp:
varName
"well"
^^
xsd:
string
]
;
sp:
arg2
rdf:
type
;
sp:
arg3
<http://www.reportinghub.no/ep/schema/well#Well>
]
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
fn:
concat
;
sp:
arg1
"Unregistered well
bore
name "
;
sp:
arg2
[
sp:
varName
"well
Bore
Name"
^^
xsd:
string
sp:
arg1
"Unregistered well name "
;
sp:
arg2
[
sp:
varName
"wellName"
^^
xsd:
string
]
]
;
sp:
variable
...
...
@@ -79,26 +81,6 @@ ddr:Obj_drillReport
])
]
;
spin:
constraint
[
rdf:
type
sp:
Ask
;
rdfs:
comment
"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
]
;
sp:
variable
[
sp:
varName
"companyName"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Filter
;
sp:
expression
[
rdf:
type
sp:
not
;
sp:
arg1
[
rdf:
type
sp:
bound
;
sp:
arg1
[
sp:
varName
"companyName"
^^
xsd:
string
]
]
]
])
]
;
spin:
constraint
[
rdf:
type
sp:
Construct
;
sp:
templates
([
sp:
object
spin:
ConstraintViolation
;
sp:
predicate
rdf:
type
;
...
...
@@ -106,7 +88,7 @@ ddr:Obj_drillReport
]
[
sp:
object
spin:
_this
;
sp:
predicate
spin:
violationRoot
;
sp:
subject
_:
b2
]
[
sp:
object
ddr:
nameWell
;
]
[
sp:
object
ddr:
nameWell
bore
;
sp:
predicate
spin:
violationPath
;
sp:
subject
_:
b2
]
[
sp:
object
...
...
@@ -116,39 +98,57 @@ ddr:Obj_drillReport
sp:
subject
_:
b2
])
;
sp:
where
([
sp:
object
[
sp:
varName
"wellName"
^^
xsd:
string
[
sp:
varName
"well
Bore
Name"
^^
xsd:
string
]
;
sp:
predicate
ddr:
nameWell
;
sp:
predicate
<http://www.reportinghub.no/ep/spin/lib#nameWellbore>
;
sp:
subject
spin:
_this
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
rhspin:
wellByName
;
arg:
wellName
[
sp:
varName
"wellName"
^^
xsd:
string
[
rdf:
type
rhspin:
wellB
oreB
yName
;
arg:
well
Bore
Name
[
sp:
varName
"well
Bore
Name"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"well"
^^
xsd:
string
[
sp:
varName
"well
Bore
"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Filter
;
sp:
expression
[
rdf:
type
sp:
not
;
sp:
arg1
[
rdf:
type
rhspin:
npdTripleExists
;
sp:
arg1
[
sp:
varName
"well"
^^
xsd:
string
]
;
sp:
arg2
rdf:
type
;
sp:
arg3
<http://www.reportinghub.no/ep/schema/well#Well>
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
"Unregistered well name "
;
sp:
arg2
[
sp:
varName
"wellName"
^^
xsd:
string
sp:
arg1
"Unregistered well
bore
name "
;
sp:
arg2
[
sp:
varName
"well
Bore
Name"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"message"
^^
xsd:
string
]
])
]
;
spin:
constraint
[
rdf:
type
sp:
Ask
;
rdfs:
comment
"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
]
;
sp:
variable
[
sp:
varName
"companyName"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Filter
;
sp:
expression
[
rdf:
type
sp:
not
;
sp:
arg1
[
rdf:
type
sp:
bound
;
sp:
arg1
[
sp:
varName
"companyName"
^^
xsd:
string
]
]
]
])
]
.
...
...
www.reportinghub.no/ep/spin/SPIN_EPIM-lib-v1.1.spin.ttl
View file @
9c2f012
This diff could not be displayed because it is too large.
www.reportinghub.no/ep/transform/TRANSFORM_ddr-collector.ttl
View file @
9c2f012
This diff is collapsed. Click to expand it.
www.reportinghub.no/ep/transform/TRANSFORM_ddr-drillReport-v1.1.1.ttl
View file @
9c2f012
...
...
@@ -416,7 +416,7 @@ Classify a DailyDrillingReport"""^^xsd:string ;
]
[
sp:
object
[
sp:
varName
"nameWell"
^^
xsd:
string
]
;
sp:
predicate
ddr
:
nameWell
;
sp:
predicate
ep-spin-lib
:
nameWell
;
sp:
subject
spin:
_this
]
[
sp:
object
[
sp:
varName
"dTimStart"
^^
xsd:
string
...
...
Please
register
or
login
to post a comment