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 Price
2011-08-15 00:12:18 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
f208104a8f51c0d5d0e592a66370008751d5aca8
f208104a
1 parent
c1dec8c8
Added BitRecord ddr table template placeholder
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
149 additions
and
67 deletions
www.reportinghub.no/ep/spin/SPIN_EP-DDR-tables-v1.0.spin.ttl
www.reportinghub.no/ep/spin/SPIN_EP-DDR-tables-v1.0.spin.ttl.tbc
www.reportinghub.no/swp/DailyDrillingReport.uispin.html
www.reportinghub.no/ep/spin/SPIN_EP-DDR-tables-v1.0.spin.ttl
View file @
f208104
# Saved by TopBraid on
Sun Aug 14 23:37:07
BST 2011
# Saved by TopBraid on
Mon Aug 15 00:07:43
BST 2011
# baseURI: http://www.reportinghub.no/ep/spin/ddr-tables-v1.0
# imports: http://www.reportinghub.no/ep/schema/1.0/activity-purpose
# imports: http://www.reportinghub.no/ep/schema/1.0/ddr
...
...
@@ -15,57 +15,117 @@
@prefix
spl:
<http://spinrdf.org/spl#>
.
@prefix
xsd:
<http://www.w3.org/2001/XMLSchema#>
.
ddr-tables:
BitRecord
rdf:
type
rhspin:
TableTemplate
;
rdfs:
label
"Bit Record"
^^
xsd:
string
;
rdfs:
subClassOf
rhspin:
DDRTableTemplates
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
([
sp:
varName
"bitSize"
^^
xsd:
string
]
[
sp:
varName
"runNop"
^^
xsd:
string
]
[
sp:
varName
"startDepth"
^^
xsd:
string
]
[
sp:
varName
"endDepth"
^^
xsd:
string
]
_:
b1
_:
b2
[
sp:
varName
"state"
^^
xsd:
string
]
_:
b3
[
sp:
varName
"drill24h"
^^
xsd:
string
]
[
sp:
varName
"rop"
^^
xsd:
string
])
;
sp:
where
([
sp:
object
_:
b4
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#reportOn>
;
sp:
subject
[
sp:
varName
"report"
^^
xsd:
string
]
]
[
sp:
object
_:
b5
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#hasPart>
;
sp:
subject
_:
b4
]
[
sp:
object
[
sp:
varName
"startTime"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#dTimStart>
;
sp:
subject
_:
b5
]
[
sp:
object
[
sp:
varName
"endTime"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#dTimEnd>
;
sp:
subject
_:
b5
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
_:
b2
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b5
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/activity-purpose#DailyDrillingActivityPurposeType>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b2
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
_:
b6
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#onWellBore>
;
sp:
subject
_:
b5
]
[
sp:
object
_:
b7
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#md>
;
sp:
subject
_:
b6
]
[
sp:
object
_:
b1
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
_:
b7
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
_:
b3
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#comments>
;
sp:
subject
_:
b5
])
])
]
;
rhspin:
tableHeaders
(
"Bit Size in"
^^
xsd:
string
"Run No."
^^
xsd:
string
"Manufacturer"
^^
xsd:
string
"Model"
^^
xsd:
string
"Hours Drilled"
^^
xsd:
string
"MD Start m"
^^
xsd:
string
"MD End m"
^^
xsd:
string
"Hole Made (last 24H)"
^^
xsd:
string
"Hours Drilled (last24H)"
^^
xsd:
string
"ROP m/h"
^^
xsd:
string
)
.
ddr-tables:
EquipmentFailure
rdf:
type
rhspin:
TableTemplate
;
rdfs:
label
"Equipment Failure Information"
^^
xsd:
string
;
rdfs:
subClassOf
rhspin:
DDRTableTemplates
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
orderBy
(
_:
b
1
)
;
sp:
resultVariables
(
_:
b
1
_:
b2
_:
b3
[
sp:
varName
"activity"
^^
xsd:
string
sp:
orderBy
(
_:
b
8
)
;
sp:
resultVariables
(
_:
b
8
_:
b9
_:
b10
[
sp:
varName
"activity"
^^
xsd:
string
]
[
sp:
varName
"downtime"
^^
xsd:
string
]
[
sp:
varName
"repairedTime"
^^
xsd:
string
]
_:
b
4
)
;
sp:
where
([
sp:
object
_:
b
5
;
]
_:
b
11
)
;
sp:
where
([
sp:
object
_:
b
12
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#reportOn>
;
sp:
subject
[
sp:
varName
"report"
^^
xsd:
string
]
]
[
sp:
object
_:
b
6
;
]
[
sp:
object
_:
b
13
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#hasPart>
;
sp:
subject
_:
b
5
]
[
sp:
object
_:
b
1
;
sp:
subject
_:
b
12
]
[
sp:
object
_:
b
8
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#dTimStart>
;
sp:
subject
_:
b
6
sp:
subject
_:
b
13
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/activity#DrillingActivity-equipment_failure>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b
6
sp:
subject
_:
b
13
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
_:
b
7
;
sp:
elements
([
sp:
object
_:
b
14
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#onWellBore>
;
sp:
subject
_:
b
6
]
[
sp:
object
_:
b
8
;
sp:
subject
_:
b
13
]
[
sp:
object
_:
b
15
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#md>
;
sp:
subject
_:
b
7
]
[
sp:
object
_:
b
2
;
sp:
subject
_:
b
14
]
[
sp:
object
_:
b
9
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
_:
b
8
sp:
subject
_:
b
15
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
_:
b
7
;
sp:
elements
([
sp:
object
_:
b
14
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#onWellBore>
;
sp:
subject
_:
b
6
]
[
sp:
object
_:
b
9
;
sp:
subject
_:
b
13
]
[
sp:
object
_:
b
16
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#tvd>
;
sp:
subject
_:
b
7
]
[
sp:
object
_:
b
3
;
sp:
subject
_:
b
14
]
[
sp:
object
_:
b
10
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
_:
b
9
sp:
subject
_:
b
16
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
_:
b
4
;
sp:
elements
([
sp:
object
_:
b
11
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#comments>
;
sp:
subject
_:
b
6
sp:
subject
_:
b
13
])
])
]
;
...
...
@@ -77,48 +137,48 @@ ddr-tables:Operations
rdfs:
subClassOf
rhspin:
DDRTableTemplates
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
orderBy
(
_:
b1
0
)
;
sp:
resultVariables
(
_:
b1
0
_:
b11
[
sp:
varName
"startDepth"
^^
xsd:
string
sp:
orderBy
(
_:
b1
7
)
;
sp:
resultVariables
(
_:
b1
7
_:
b18
[
sp:
varName
"startDepth"
^^
xsd:
string
]
[
sp:
varName
"endDepth"
^^
xsd:
string
]
_:
b1
2
_:
b13
[
sp:
varName
"state"
^^
xsd:
string
]
_:
b
14
)
;
sp:
where
([
sp:
object
_:
b
15
;
]
_:
b1
9
_:
b20
[
sp:
varName
"state"
^^
xsd:
string
]
_:
b
21
)
;
sp:
where
([
sp:
object
_:
b
22
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#reportOn>
;
sp:
subject
[
sp:
varName
"report"
^^
xsd:
string
]
]
[
sp:
object
_:
b
16
;
]
[
sp:
object
_:
b
23
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#hasPart>
;
sp:
subject
_:
b
15
]
[
sp:
object
_:
b1
0
;
sp:
subject
_:
b
22
]
[
sp:
object
_:
b1
7
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#dTimStart>
;
sp:
subject
_:
b
16
]
[
sp:
object
_:
b1
1
;
sp:
subject
_:
b
23
]
[
sp:
object
_:
b1
8
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#dTimEnd>
;
sp:
subject
_:
b
16
sp:
subject
_:
b
23
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
_:
b
13
;
sp:
elements
([
sp:
object
_:
b
20
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b
16
sp:
subject
_:
b
23
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/activity-purpose#DailyDrillingActivityPurposeType>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b
13
sp:
subject
_:
b
20
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
_:
b
17
;
sp:
elements
([
sp:
object
_:
b
24
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#onWellBore>
;
sp:
subject
_:
b
16
]
[
sp:
object
_:
b
18
;
sp:
subject
_:
b
23
]
[
sp:
object
_:
b
25
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#md>
;
sp:
subject
_:
b
17
]
[
sp:
object
_:
b1
2
;
sp:
subject
_:
b
24
]
[
sp:
object
_:
b1
9
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
_:
b
18
sp:
subject
_:
b
25
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
_:
b
14
;
sp:
elements
([
sp:
object
_:
b
21
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#comments>
;
sp:
subject
_:
b
16
sp:
subject
_:
b
23
])
])
]
;
...
...
@@ -127,50 +187,71 @@ ddr-tables:Operations
<http://www.reportinghub.no/ep/spin/ddr-tables-v1.0>
rdf:
type
owl:
Ontology
;
rdfs:
comment
"A collection of SELECT templates that can be used to assemble tables in DD reports."
^^
xsd:
string
;
owl:
imports
<http://www.reportinghub.no/ep/schema/1.0/
ddr>
,
<http://www.reportinghub.no/spin/rh>
,
<http://spinrdf.org/spin>
,
<http://www.reportinghub.no/ep/schema/1.0/activity-purpose
>
;
owl:
imports
<http://www.reportinghub.no/ep/schema/1.0/
activity-purpose>
,
<http://spinrdf.org/spin>
,
<http://www.reportinghub.no/spin/rh>
,
<http://www.reportinghub.no/ep/schema/1.0/ddr
>
;
owl:
versionInfo
"0.1.0"
^^
xsd:
string
.
_:
b
9
sp:
varName
"tvd
"
^^
xsd:
string
.
_:
b
3
sp:
varName
"remark
"
^^
xsd:
string
.
_:
b
8
sp:
varName
"md
"
^^
xsd:
string
.
_:
b
1
sp:
varName
"depth
"
^^
xsd:
string
.
_:
b7
sp:
varName
"
wellbore
"
^^
xsd:
string
.
_:
b7
sp:
varName
"
md
"
^^
xsd:
string
.
_:
b6
sp:
varName
"
part
"
^^
xsd:
string
.
_:
b6
sp:
varName
"
wellbore
"
^^
xsd:
string
.
_:
b
5
sp:
varName
"reportOn
"
^^
xsd:
string
.
_:
b
2
sp:
varName
"activity
"
^^
xsd:
string
.
_:
b
4
sp:
varName
"failureDescription
"
^^
xsd:
string
.
_:
b
5
sp:
varName
"part
"
^^
xsd:
string
.
_:
b
3
sp:
varName
"depthTVD
"
^^
xsd:
string
.
_:
b
4
sp:
varName
"reportOn
"
^^
xsd:
string
.
_:
b2
sp:
varName
"depthMD"
^^
xsd:
string
.
_:
b25
sp:
varName
"md"
^^
xsd:
string
.
_:
b1
sp:
varName
"startTime"
^^
xsd:
string
.
_:
b24
sp:
varName
"wellbore"
^^
xsd:
string
.
_:
b14
_:
b23
sp:
varName
"part"
^^
xsd:
string
.
_:
b22
sp:
varName
"reportOn"
^^
xsd:
string
.
_:
b21
sp:
varName
"remark"
^^
xsd:
string
.
_:
b12
_:
b20
sp:
varName
"activity"
^^
xsd:
string
.
_:
b19
sp:
varName
"depth"
^^
xsd:
string
.
_:
b18
sp:
varName
"
md
"
^^
xsd:
string
.
sp:
varName
"
endTime
"
^^
xsd:
string
.
_:
b17
sp:
varName
"startTime"
^^
xsd:
string
.
_:
b16
sp:
varName
"tvd"
^^
xsd:
string
.
_:
b15
sp:
varName
"md"
^^
xsd:
string
.
_:
b14
sp:
varName
"wellbore"
^^
xsd:
string
.
_:
b13
sp:
varName
"activity"
^^
xsd:
string
.
sp:
varName
"part"
^^
xsd:
string
.
_:
b12
sp:
varName
"reportOn"
^^
xsd:
string
.
_:
b11
sp:
varName
"
endTime
"
^^
xsd:
string
.
sp:
varName
"
failureDescription
"
^^
xsd:
string
.
_:
b10
sp:
varName
"
startTime
"
^^
xsd:
string
.
sp:
varName
"
depthTVD
"
^^
xsd:
string
.
_:
b16
sp:
varName
"part"
^^
xsd:
string
.
_:
b9
sp:
varName
"depthMD"
^^
xsd:
string
.
_:
b15
sp:
varName
"reportOn"
^^
xsd:
string
.
_:
b8
sp:
varName
"startTime"
^^
xsd:
string
.
...
...
www.reportinghub.no/ep/spin/SPIN_EP-DDR-tables-v1.0.spin.ttl.tbc
View file @
f208104
# Saved by TopBraid on
Sun Aug 14 23:37:07
BST 2011
# Saved by TopBraid on
Mon Aug 15 00:07:43
BST 2011
# baseURI: null
@prefix
composite:
<http://www.topbraid.org/2007/05/composite.owl#>
.
...
...
www.reportinghub.no/swp/DailyDrillingReport.uispin.html
View file @
f208104
...
...
@@ -59,6 +59,7 @@
<ddrswp:Table
arg:report=
"{= ?report }"
arg:template=
"ddr-tables:EquipmentFailure"
/>
<ddrswp:Table
arg:report=
"{= ?report }"
arg:template=
"ddr-tables:BitRecord"
/>
</ui:group>
</ui:group>
...
...
Please
register
or
login
to post a comment