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
2011-08-03 12:33:22 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
46edf5350b2d18f62d4b95ac4354baa8f6d5ef0d
46edf535
1 parent
6164d67b
Added classification of a DailyDrillingReport by status - normal,
preliminary, final.
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
371 additions
and
239 deletions
www.reportinghub.no/ep/transform/TRANSFORM_ddr-drillReport-(v1.1.1).ttl
www.reportinghub.no/ep/transform/TRANSFORM_ddr-drillReport-(v1.1.1).ttl.tbc
www.reportinghub.no/ep/transform/TRANSFORM_ddr-drillReport-(v1.1.1).ttl
View file @
46edf53
# Saved by TopBraid on Wed Aug 03
07:30
:51 BST 2011
# Saved by TopBraid on Wed Aug 03
12:31
:51 BST 2011
# baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport
# imports: http://www.reportinghub.no/ep/spin/1.1/lib
# imports: http://www.reportinghub.no/ep/transform/1.1/ddr
...
...
@@ -20,143 +20,101 @@
<http://www.reportinghub.no/ep/schema/ddr#Obj_drillReport>
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"""STEP 101 Create DailyDrillingReport, DailyDrillingActivity and WellBore
Minimum data - createDate, dTimStart, nameWellBore
Add a link from Obj_DrillReport to DailyDrillingReport to support other CONSTRUCT clauses (is this useful?)"""
^^
xsd:
string
;
sp:
templates
([
sp:
object
<http://www.reportinghub.no/ep/schema/activity#DailyDrillingReport>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b1
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/activity#DailyDrillingActivity>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b2
]
[
sp:
object
_:
b2
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#reportOn>
;
sp:
subject
_:
b1
]
[
sp:
object
_:
b3
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#createdAt>
;
sp:
subject
_:
b1
]
[
sp:
object
_:
b4
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#startedAt>
;
sp:
subject
_:
b2
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/well#WellBore>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b5
]
[
sp:
object
_:
b5
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#onWellBore>
;
rdfs:
comment
"STEP 102 Transfer dTimEnd"
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b1
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#finishedAt>
;
sp:
subject
_:
b2
]
[
sp:
object
_:
b6
;
sp:
predicate
rdfs:
label
;
sp:
subject
_:
b5
]
[
sp:
object
spin:
_this
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#derivedFrom>
;
sp:
subject
_:
b1
])
;
sp:
where
([
sp:
object
_:
b
6
;
sp:
where
([
sp:
object
_:
b
3
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#nameWellbore>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b4
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#dTimStart>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b
3
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#
createDate
>
;
]
[
sp:
object
_:
b
1
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#
dTimEnd
>
;
sp:
subject
spin:
_this
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizeString
;
sp:
arg1
_:
b6
]
;
sp:
variable
_:
b7
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildDailyDrillingReportURI
;
sp:
arg1
_:
b7
;
sp:
arg2
_:
b3
sp:
arg1
_:
b3
]
;
sp:
variable
_:
b
1
sp:
variable
_:
b
5
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildDailyDrillingActivityURI
;
sp:
arg1
_:
b
7
;
sp:
arg1
_:
b
5
;
sp:
arg2
_:
b4
]
;
sp:
variable
_:
b2
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildWellBoreURI
;
sp:
arg1
_:
b7
]
;
sp:
variable
_:
b5
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 10
6 Transfer distDrill
"
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b
8
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#
hasDistDrill
>
;
sp:
subject
_:
b
9
rdfs:
comment
"STEP 10
7 Transfer sum24Hr
"
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b
6
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#
sum24Hr
>
;
sp:
subject
_:
b
7
])
;
sp:
where
([
sp:
object
_:
b
10
;
sp:
where
([
sp:
object
_:
b
8
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#nameWellbore>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b
11
;
]
[
sp:
object
_:
b
9
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#dTimStart>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b1
2
;
]
[
sp:
object
_:
b1
0
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#hasStatusInfo>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b
8
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#
hasDistDrill
>
;
sp:
subject
_:
b1
2
]
[
sp:
object
_:
b
6
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#
sum24Hr
>
;
sp:
subject
_:
b1
0
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizeString
;
sp:
arg1
_:
b
10
sp:
arg1
_:
b
8
]
;
sp:
variable
_:
b1
3
sp:
variable
_:
b1
1
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildDailyDrillingActivityURI
;
sp:
arg1
_:
b1
3
;
sp:
arg2
_:
b
11
sp:
arg1
_:
b1
1
;
sp:
arg2
_:
b
9
]
;
sp:
variable
_:
b
9
sp:
variable
_:
b
7
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 10
9 Transfer md
"
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b1
4
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#has
Md
>
;
sp:
subject
_:
b1
5
rdfs:
comment
"STEP 10
6 Transfer distDrill
"
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b1
2
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#has
DistDrill
>
;
sp:
subject
_:
b1
3
])
;
sp:
where
([
sp:
object
_:
b1
6
;
sp:
where
([
sp:
object
_:
b1
4
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#nameWellbore>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b1
7
;
]
[
sp:
object
_:
b1
5
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#dTimStart>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b1
8
;
]
[
sp:
object
_:
b1
6
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#hasStatusInfo>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b15
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#onWellBore>
;
sp:
subject
_:
b19
]
[
sp:
object
_:
b14
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#hasMd>
;
sp:
subject
_:
b18
]
[
sp:
object
_:
b12
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#hasDistDrill>
;
sp:
subject
_:
b16
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizeString
;
sp:
arg1
_:
b1
6
sp:
arg1
_:
b1
4
]
;
sp:
variable
_:
b
20
sp:
variable
_:
b
17
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildDailyDrillingActivityURI
;
sp:
arg1
_:
b
20
;
sp:
arg2
_:
b1
7
sp:
arg1
_:
b
17
;
sp:
arg2
_:
b1
5
]
;
sp:
variable
_:
b1
9
sp:
variable
_:
b1
3
])
]
;
spin:
rule
...
...
@@ -164,335 +122,509 @@ Add a link from Obj_DrillReport to DailyDrillingReport to support other CONSTRUC
rdfs:
comment
"STEP 104 Create Well"
^^
xsd:
string
;
sp:
templates
([
sp:
object
<http://www.reportinghub.no/ep/schema/well#Well>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b
21
]
[
sp:
object
_:
b
22
;
sp:
subject
_:
b
18
]
[
sp:
object
_:
b
19
;
sp:
predicate
rdfs:
label
;
sp:
subject
_:
b
21
]
[
sp:
object
_:
b
21
;
sp:
subject
_:
b
18
]
[
sp:
object
_:
b
18
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#onWell>
;
sp:
subject
_:
b2
3
]
[
sp:
object
_:
b2
4
;
sp:
subject
_:
b2
0
]
[
sp:
object
_:
b2
1
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#hasPart>
;
sp:
subject
_:
b
21
sp:
subject
_:
b
18
])
;
sp:
where
([
sp:
object
_:
b2
5
;
sp:
where
([
sp:
object
_:
b2
2
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#nameWellbore>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b
22
;
]
[
sp:
object
_:
b
19
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#nameWell>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b2
6
;
]
[
sp:
object
_:
b2
3
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#dTimStart>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b2
4
;
]
[
sp:
object
_:
b2
1
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#onWellBore>
;
sp:
subject
_:
b2
3
sp:
subject
_:
b2
0
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizeString
;
sp:
arg1
_:
b2
5
sp:
arg1
_:
b2
2
]
;
sp:
variable
_:
b2
7
sp:
variable
_:
b2
4
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildDailyDrillingActivityURI
;
sp:
arg1
_:
b2
7
;
sp:
arg2
_:
b2
6
sp:
arg1
_:
b2
4
;
sp:
arg2
_:
b2
3
]
;
sp:
variable
_:
b2
3
sp:
variable
_:
b2
0
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizeString
;
sp:
arg1
_:
b
22
sp:
arg1
_:
b
19
]
;
sp:
variable
_:
b2
8
sp:
variable
_:
b2
5
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildWellURI
;
sp:
arg1
_:
b2
8
sp:
arg1
_:
b2
5
]
;
sp:
variable
_:
b
21
sp:
variable
_:
b
18
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 107 Transfer sum24Hr"
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b29
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#sum24Hr>
;
sp:
subject
_:
b30
rdfs:
comment
"""STEP 103b
Classify a DailyDrillingReport as preliminary"""
^^
xsd:
string
;
sp:
templates
([
sp:
object
<http://www.reportinghub.no/ep/schema/activity#PreliminaryDailyDrillingReport>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b26
])
;
sp:
where
([
sp:
object
_:
b
31
;
sp:
where
([
sp:
object
_:
b
27
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#nameWellbore>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b
32
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#
dTimStart
>
;
]
[
sp:
object
_:
b
28
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#
createDate
>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b33
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#has
StatusInfo
>
;
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/ddr#ORV_preliminary>
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#has
VersionKind
>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b29
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#sum24Hr>
;
sp:
subject
_:
b33
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizeString
;
sp:
arg1
_:
b
31
sp:
arg1
_:
b
27
]
;
sp:
variable
_:
b
34
sp:
variable
_:
b
29
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildDailyDrilling
Activity
URI
;
sp:
arg1
_:
b
34
;
sp:
arg2
_:
b
32
[
rdf:
type
ep-spin-lib:
buildDailyDrilling
Report
URI
;
sp:
arg1
_:
b
29
;
sp:
arg2
_:
b
28
]
;
sp:
variable
_:
b
30
sp:
variable
_:
b
26
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 105 Transfer ropCurrent"
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b35
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#hasRopCurrent>
;
sp:
subject
_:
b36
rdfs:
comment
"""STEP 101 Create DailyDrillingReport, DailyDrillingActivity and WellBore
Minimum data - createDate, dTimStart, nameWellBore
Add a link from Obj_DrillReport to DailyDrillingReport to support other CONSTRUCT clauses (is this useful?)"""
^^
xsd:
string
;
sp:
templates
([
sp:
object
<http://www.reportinghub.no/ep/schema/activity#DailyDrillingReport>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b30
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/activity#DailyDrillingActivity>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b31
]
[
sp:
object
_:
b31
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#reportOn>
;
sp:
subject
_:
b30
]
[
sp:
object
_:
b32
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#createdAt>
;
sp:
subject
_:
b30
]
[
sp:
object
_:
b33
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#startedAt>
;
sp:
subject
_:
b31
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/well#WellBore>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b34
]
[
sp:
object
_:
b34
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#onWellBore>
;
sp:
subject
_:
b31
]
[
sp:
object
_:
b35
;
sp:
predicate
rdfs:
label
;
sp:
subject
_:
b34
]
[
sp:
object
spin:
_this
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#derivedFrom>
;
sp:
subject
_:
b30
])
;
sp:
where
([
sp:
object
_:
b3
7
;
sp:
where
([
sp:
object
_:
b3
5
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#nameWellbore>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b3
8
;
]
[
sp:
object
_:
b3
3
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#dTimStart>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b3
9
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#
hasStatusInfo
>
;
]
[
sp:
object
_:
b3
2
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#
createDate
>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b35
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#hasRopCurrent>
;
sp:
subject
_:
b39
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizeString
;
sp:
arg1
_:
b3
7
sp:
arg1
_:
b3
5
]
;
sp:
variable
_:
b40
sp:
variable
_:
b36
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildDailyDrillingReportURI
;
sp:
arg1
_:
b36
;
sp:
arg2
_:
b32
]
;
sp:
variable
_:
b30
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildDailyDrillingActivityURI
;
sp:
arg1
_:
b
40
;
sp:
arg2
_:
b3
8
sp:
arg1
_:
b
36
;
sp:
arg2
_:
b3
3
]
;
sp:
variable
_:
b36
sp:
variable
_:
b31
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildWellBoreURI
;
sp:
arg1
_:
b36
]
;
sp:
variable
_:
b34
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 108 Transfer forecast24Hr"
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b
41
;
sp:
templates
([
sp:
object
_:
b
37
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#forecast24Hr>
;
sp:
subject
_:
b
42
sp:
subject
_:
b
38
])
;
sp:
where
([
sp:
object
_:
b
43
;
sp:
where
([
sp:
object
_:
b
39
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#nameWellbore>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b4
4
;
]
[
sp:
object
_:
b4
0
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#dTimStart>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b4
5
;
]
[
sp:
object
_:
b4
1
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#hasStatusInfo>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b
41
;
]
[
sp:
object
_:
b
37
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#forecast24Hr>
;
sp:
subject
_:
b4
5
sp:
subject
_:
b4
1
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizeString
;
sp:
arg1
_:
b
43
sp:
arg1
_:
b
39
]
;
sp:
variable
_:
b4
6
sp:
variable
_:
b4
2
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildDailyDrillingActivityURI
;
sp:
arg1
_:
b4
6
;
sp:
arg2
_:
b4
4
sp:
arg1
_:
b4
2
;
sp:
arg2
_:
b4
0
]
;
sp:
variable
_:
b
42
sp:
variable
_:
b
38
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 10
2 Transfer dTimEn
d"
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b4
7
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/
activity#finishedAt
>
;
sp:
subject
_:
b4
8
rdfs:
comment
"STEP 10
9 Transfer m
d"
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b4
3
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/
ddr#hasMd
>
;
sp:
subject
_:
b4
4
])
;
sp:
where
([
sp:
object
_:
b4
9
;
sp:
where
([
sp:
object
_:
b4
5
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#nameWellbore>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b
50
;
]
[
sp:
object
_:
b
46
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#dTimStart>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b47
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#
dTimEnd
>
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#
hasStatusInfo
>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b44
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#onWellBore>
;
sp:
subject
_:
b48
]
[
sp:
object
_:
b43
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#hasMd>
;
sp:
subject
_:
b47
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizeString
;
sp:
arg1
_:
b4
9
sp:
arg1
_:
b4
5
]
;
sp:
variable
_:
b
51
sp:
variable
_:
b
49
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildDailyDrillingActivityURI
;
sp:
arg1
_:
b
51
;
sp:
arg2
_:
b
50
sp:
arg1
_:
b
49
;
sp:
arg2
_:
b
46
]
;
sp:
variable
_:
b48
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"""STEP 103c
Classify a DailyDrillingReport as final"""
^^
xsd:
string
;
sp:
templates
([
sp:
object
<http://www.reportinghub.no/ep/schema/activity#FinalDailyDrillingReport>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b50
])
;
sp:
where
([
sp:
object
_:
b51
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#nameWellbore>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b52
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#createDate>
;
sp:
subject
spin:
_this
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/ddr#ORV_final>
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#hasVersionKind>
;
sp:
subject
spin:
_this
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizeString
;
sp:
arg1
_:
b51
]
;
sp:
variable
_:
b53
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildDailyDrillingReportURI
;
sp:
arg1
_:
b53
;
sp:
arg2
_:
b52
]
;
sp:
variable
_:
b50
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"""STEP 103a
Classify a DailyDrillingReport as normal"""
^^
xsd:
string
;
sp:
templates
([
sp:
object
<http://www.reportinghub.no/ep/schema/activity#NormalDailyDrillingReport>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b54
])
;
sp:
where
([
sp:
object
_:
b55
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#nameWellbore>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b56
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#createDate>
;
sp:
subject
spin:
_this
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/ddr#ORV_normal>
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#hasVersionKind>
;
sp:
subject
spin:
_this
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizeString
;
sp:
arg1
_:
b55
]
;
sp:
variable
_:
b57
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildDailyDrillingReportURI
;
sp:
arg1
_:
b57
;
sp:
arg2
_:
b56
]
;
sp:
variable
_:
b54
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 105 Transfer ropCurrent"
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b58
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#hasRopCurrent>
;
sp:
subject
_:
b59
])
;
sp:
where
([
sp:
object
_:
b60
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#nameWellbore>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b61
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#dTimStart>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b62
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#hasStatusInfo>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b58
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#hasRopCurrent>
;
sp:
subject
_:
b62
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizeString
;
sp:
arg1
_:
b60
]
;
sp:
variable
_:
b63
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildDailyDrillingActivityURI
;
sp:
arg1
_:
b63
;
sp:
arg2
_:
b61
]
;
sp:
variable
_:
b59
])
]
.
<http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport>
rdf:
type
owl:
Ontology
;
owl:
imports
<http://
www.reportinghub.no/ep/spin/1.1/lib>
,
<http://www.reportinghub.no/ep/transform/1.1/ddr>
,
<http://spinrdf.org/spin
>
;
owl:
imports
<http://
spinrdf.org/spin>
,
<http://www.reportinghub.no/ep/transform/1.1/ddr>
,
<http://www.reportinghub.no/ep/spin/1.1/lib
>
;
owl:
versionInfo
"Created with TopBraid Composer"
^^
xsd:
string
.
_:
b
47
sp:
varName
"d
TimEnd
"
^^
xsd:
string
.
_:
b
50
sp:
varName
"d
ailyDrillingReport
"
^^
xsd:
string
.
_:
b
48
sp:
varName
"
dailyDrillingActivity
"
^^
xsd:
string
.
_:
b
53
sp:
varName
"
normalizedWellBoreName
"
^^
xsd:
string
.
_:
b49
_:
b52
sp:
varName
"createDate"
^^
xsd:
string
.
_:
b51
sp:
varName
"nameWellBore"
^^
xsd:
string
.
_:
b
50
sp:
varName
"d
TimSta
rt"
^^
xsd:
string
.
_:
b
26
sp:
varName
"d
ailyDrillingRepo
rt"
^^
xsd:
string
.
_:
b
51
_:
b
29
sp:
varName
"normalizedWellBoreName"
^^
xsd:
string
.
_:
b
41
sp:
varName
"
forecast24Hr
"
^^
xsd:
string
.
_:
b
28
sp:
varName
"
createDate
"
^^
xsd:
string
.
_:
b
42
sp:
varName
"
dailyDrillingActivity
"
^^
xsd:
string
.
_:
b
27
sp:
varName
"
nameWellBore
"
^^
xsd:
string
.
_:
b43
_:
b54
sp:
varName
"dailyDrillingReport"
^^
xsd:
string
.
_:
b57
sp:
varName
"normalizedWellBoreName"
^^
xsd:
string
.
_:
b56
sp:
varName
"createDate"
^^
xsd:
string
.
_:
b55
sp:
varName
"nameWellBore"
^^
xsd:
string
.
_:
b44
sp:
varName
"dTimStart"
^^
xsd:
string
.
_:
b5
sp:
varName
"normalizedWellBoreName"
^^
xsd:
string
.
_:
b45
sp:
varName
"statusInfo"
^^
xsd:
string
.
_:
b4
sp:
varName
"dTimStart"
^^
xsd:
string
.
_:
b46
_:
b3
sp:
varName
"nameWellBore"
^^
xsd:
string
.
_:
b2
sp:
varName
"dailyDrillingActivity"
^^
xsd:
string
.
_:
b1
sp:
varName
"dTimEnd"
^^
xsd:
string
.
_:
b42
sp:
varName
"normalizedWellBoreName"
^^
xsd:
string
.
_:
b
35
sp:
varName
"
ropCurrentValue
"
^^
xsd:
string
.
_:
b
41
sp:
varName
"
statusInfo
"
^^
xsd:
string
.
_:
b
36
sp:
varName
"d
ailyDrillingActivity
"
^^
xsd:
string
.
_:
b
40
sp:
varName
"d
TimStart
"
^^
xsd:
string
.
_:
b3
7
_:
b3
9
sp:
varName
"nameWellBore"
^^
xsd:
string
.
_:
b38
sp:
varName
"d
TimStart
"
^^
xsd:
string
.
sp:
varName
"d
ailyDrillingActivity
"
^^
xsd:
string
.
_:
b3
9
sp:
varName
"
statusInfo
"
^^
xsd:
string
.
_:
b3
7
sp:
varName
"
forecast24Hr
"
^^
xsd:
string
.
_:
b
40
_:
b
63
sp:
varName
"normalizedWellBoreName"
^^
xsd:
string
.
_:
b
29
sp:
varName
"s
um24Hr
"
^^
xsd:
string
.
_:
b
62
sp:
varName
"s
tatusInfo
"
^^
xsd:
string
.
_:
b
30
sp:
varName
"d
ailyDrillingActivity
"
^^
xsd:
string
.
_:
b
61
sp:
varName
"d
TimStart
"
^^
xsd:
string
.
_:
b
31
_:
b
60
sp:
varName
"nameWellBore"
^^
xsd:
string
.
_:
b
32
sp:
varName
"d
TimStart
"
^^
xsd:
string
.
_:
b
59
sp:
varName
"d
ailyDrillingActivity
"
^^
xsd:
string
.
_:
b
33
sp:
varName
"
statusInfo
"
^^
xsd:
string
.
_:
b
58
sp:
varName
"
ropCurrentValue
"
^^
xsd:
string
.
_:
b
34
_:
b
11
sp:
varName
"normalizedWellBoreName"
^^
xsd:
string
.
_:
b
21
sp:
varName
"
well
"
^^
xsd:
string
.
_:
b
10
sp:
varName
"
statusInfo
"
^^
xsd:
string
.
_:
b22
sp:
varName
"nameWell"
^^
xsd:
string
.
_:
b9
sp:
varName
"dTimStart"
^^
xsd:
string
.
_:
b23
sp:
varName
"dailyDrillingActivity"
^^
xsd:
string
.
_:
b8
sp:
varName
"nameWellBore"
^^
xsd:
string
.
_:
b24
sp:
varName
"wellBore"
^^
xsd:
string
.
_:
b7
sp:
varName
"dailyDrillingActivity"
^^
xsd:
string
.
_:
b25
sp:
varName
"nameWellBore"
^^
xsd:
string
.
_:
b6
sp:
varName
"sum24Hr"
^^
xsd:
string
.
_:
b2
6
sp:
varName
"
dTimStart
"
^^
xsd:
string
.
_:
b2
5
sp:
varName
"
normalizedWellName
"
^^
xsd:
string
.
_:
b2
7
_:
b2
4
sp:
varName
"normalizedWellBoreName"
^^
xsd:
string
.
_:
b2
8
sp:
varName
"
normalizedWellName
"
^^
xsd:
string
.
_:
b2
3
sp:
varName
"
dTimStart
"
^^
xsd:
string
.
_:
b
14
sp:
varName
"
md
"
^^
xsd:
string
.
_:
b
22
sp:
varName
"
nameWellBore
"
^^
xsd:
string
.
_:
b
15
_:
b
21
sp:
varName
"wellBore"
^^
xsd:
string
.
_:
b
16
sp:
varName
"
nameWellBore
"
^^
xsd:
string
.
_:
b
20
sp:
varName
"
dailyDrillingActivity
"
^^
xsd:
string
.
_:
b1
7
sp:
varName
"
dTimStart
"
^^
xsd:
string
.
_:
b1
9
sp:
varName
"
nameWell
"
^^
xsd:
string
.
_:
b18
sp:
varName
"
statusInfo
"
^^
xsd:
string
.
sp:
varName
"
well
"
^^
xsd:
string
.
_:
b19
_:
b49
sp:
varName
"normalizedWellBoreName"
^^
xsd:
string
.
_:
b48
sp:
varName
"dailyDrillingActivity"
^^
xsd:
string
.
_:
b20
_:
b47
sp:
varName
"statusInfo"
^^
xsd:
string
.
_:
b46
sp:
varName
"dTimStart"
^^
xsd:
string
.
_:
b45
sp:
varName
"nameWellBore"
^^
xsd:
string
.
_:
b44
sp:
varName
"wellBore"
^^
xsd:
string
.
_:
b43
sp:
varName
"md"
^^
xsd:
string
.
_:
b17
sp:
varName
"normalizedWellBoreName"
^^
xsd:
string
.
_:
b8
sp:
varName
"distDrill"
^^
xsd:
string
.
_:
b16
sp:
varName
"statusInfo"
^^
xsd:
string
.
_:
b9
sp:
varName
"dailyDrillingActivity"
^^
xsd:
string
.
_:
b15
sp:
varName
"dTimStart"
^^
xsd:
string
.
_:
b1
0
_:
b1
4
sp:
varName
"nameWellBore"
^^
xsd:
string
.
_:
b1
1
sp:
varName
"d
TimStart
"
^^
xsd:
string
.
_:
b1
3
sp:
varName
"d
ailyDrillingActivity
"
^^
xsd:
string
.
_:
b12
sp:
varName
"
statusInfo
"
^^
xsd:
string
.
sp:
varName
"
distDrill
"
^^
xsd:
string
.
_:
b
13
_:
b
36
sp:
varName
"normalizedWellBoreName"
^^
xsd:
string
.
_:
b1
sp:
varName
"dailyDrillingReport"
^^
xsd:
string
.
_:
b2
sp:
varName
"dailyDrillingActivity"
^^
xsd:
string
.
_:
b35
sp:
varName
"nameWellBore"
^^
xsd:
string
.
_:
b3
sp:
varName
"createDate"
^^
xsd:
string
.
_:
b34
sp:
varName
"wellBore"
^^
xsd:
string
.
_:
b4
sp:
varName
"dTimStart"
^^
xsd:
string
.
_:
b33
sp:
varName
"dTimStart"
^^
xsd:
string
.
_:
b5
sp:
varName
"wellBore"
^^
xsd:
string
.
_:
b32
sp:
varName
"createDate"
^^
xsd:
string
.
_:
b6
sp:
varName
"nameWellBore"
^^
xsd:
string
.
_:
b31
sp:
varName
"dailyDrillingActivity"
^^
xsd:
string
.
_:
b7
sp:
varName
"normalizedWellBoreName"
^^
xsd:
string
.
_:
b30
sp:
varName
"dailyDrillingReport"
^^
xsd:
string
.
...
...
www.reportinghub.no/ep/transform/TRANSFORM_ddr-drillReport-(v1.1.1).ttl.tbc
View file @
46edf53
# Saved by TopBraid on Wed Aug 03
07:30
:51 BST 2011
# Saved by TopBraid on Wed Aug 03
12:31
:51 BST 2011
# baseURI: null
@prefix
composite:
<http://www.topbraid.org/2007/05/composite.owl#>
.
...
...
Please
register
or
login
to post a comment