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-14 23:58:38 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
c1dec8c82cbb4162f61f4dcf9717d2a61d4fb08c
c1dec8c8
1 parent
66a9a2ff
Improved Operations table, added Equipment Failure table placeholder.
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
116 additions
and
24 deletions
www.reportinghub.no/ep/schema/1.0/SCHEMA_EP-DDR-v1.0.ttl
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/schema/1.0/SCHEMA_EP-DDR-v1.0.ttl
View file @
c1dec8c
This diff could not be displayed because it is too large.
www.reportinghub.no/ep/spin/SPIN_EP-DDR-tables-v1.0.spin.ttl
View file @
c1dec8c
# Saved by TopBraid on Sun Aug 14 2
2:37:58
BST 2011
# Saved by TopBraid on Sun Aug 14 2
3:37:07
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,18 +15,17 @@
@prefix
spl:
<http://spinrdf.org/spl#>
.
@prefix
xsd:
<http://www.w3.org/2001/XMLSchema#>
.
ddr-tables:
Operations
ddr-tables:
EquipmentFailure
rdf:
type
rhspin:
TableTemplate
;
rdfs:
label
"
Operations
"
^^
xsd:
string
;
rdfs:
label
"
Equipment Failure Information
"
^^
xsd:
string
;
rdfs:
subClassOf
rhspin:
DDRTableTemplates
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
orderBy
(
_:
b1
)
;
sp:
resultVariables
(
_:
b1
_:
b2
[
sp:
varName
"startDepth"
^^
xsd:
string
]
[
sp:
varName
"endDepth"
^^
xsd:
string
]
_:
b3
_:
b4
[
sp:
varName
"state"
^^
xsd:
string
]
[
sp:
varName
"remark"
^^
xsd:
string
])
;
sp:
resultVariables
(
_:
b1
_:
b2
_:
b3
[
sp:
varName
"activity"
^^
xsd:
string
]
[
sp:
varName
"downtime"
^^
xsd:
string
]
[
sp:
varName
"repairedTime"
^^
xsd:
string
]
_:
b4
)
;
sp:
where
([
sp:
object
_:
b5
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#reportOn>
;
sp:
subject
...
...
@@ -38,27 +37,88 @@ ddr-tables:Operations
]
[
sp:
object
_:
b1
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#dTimStart>
;
sp:
subject
_:
b6
]
[
sp:
object
_:
b2
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#dTimEnd>
;
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/activity#DrillingActivity-equipment_failure>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b6
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
_:
b
4
;
sp:
predicate
rdf:
type
;
sp:
elements
([
sp:
object
_:
b
7
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#onWellBore>
;
sp:
subject
_:
b6
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/activity-purpose#DailyDrillingActivityPurposeType>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b4
]
[
sp:
object
_:
b8
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#md>
;
sp:
subject
_:
b7
]
[
sp:
object
_:
b2
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
_:
b8
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
_:
b7
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#onWellBore>
;
sp:
subject
_:
b6
]
[
sp:
object
_:
b
8
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#
m
d>
;
]
[
sp:
object
_:
b
9
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#
tv
d>
;
sp:
subject
_:
b7
]
[
sp:
object
_:
b3
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
_:
b8
sp:
subject
_:
b9
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
_:
b4
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#comments>
;
sp:
subject
_:
b6
])
])
]
;
rhspin:
tableHeaders
(
"Start Time"
^^
xsd:
string
"Depth mMD"
^^
xsd:
string
"Depth mTVD"
^^
xsd:
string
"Sub Equip Syst Class"
^^
xsd:
string
"Operation Downtime"
^^
xsd:
string
"Equipment Repaired"
^^
xsd:
string
"Failure Description"
^^
xsd:
string
)
.
ddr-tables:
Operations
rdf:
type
rhspin:
TableTemplate
;
rdfs:
label
"Operations"
^^
xsd:
string
;
rdfs:
subClassOf
rhspin:
DDRTableTemplates
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
orderBy
(
_:
b10
)
;
sp:
resultVariables
(
_:
b10
_:
b11
[
sp:
varName
"startDepth"
^^
xsd:
string
]
[
sp:
varName
"endDepth"
^^
xsd:
string
]
_:
b12
_:
b13
[
sp:
varName
"state"
^^
xsd:
string
]
_:
b14
)
;
sp:
where
([
sp:
object
_:
b15
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#reportOn>
;
sp:
subject
[
sp:
varName
"report"
^^
xsd:
string
]
]
[
sp:
object
_:
b16
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#hasPart>
;
sp:
subject
_:
b15
]
[
sp:
object
_:
b10
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#dTimStart>
;
sp:
subject
_:
b16
]
[
sp:
object
_:
b11
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#dTimEnd>
;
sp:
subject
_:
b16
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
_:
b13
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b16
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/activity-purpose#DailyDrillingActivityPurposeType>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b13
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
_:
b17
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#onWellBore>
;
sp:
subject
_:
b16
]
[
sp:
object
_:
b18
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#md>
;
sp:
subject
_:
b17
]
[
sp:
object
_:
b12
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
_:
b18
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
_:
b14
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#comments>
;
sp:
subject
_:
b16
])
])
]
;
...
...
@@ -70,18 +130,47 @@ ddr-tables:Operations
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:
versionInfo
"0.1.0"
^^
xsd:
string
.
_:
b
3
sp:
varName
"depth
"
^^
xsd:
string
.
_:
b
9
sp:
varName
"tvd
"
^^
xsd:
string
.
_:
b8
sp:
varName
"md"
^^
xsd:
string
.
_:
b7
sp:
varName
"wellbore"
^^
xsd:
string
.
_:
b4
sp:
varName
"activity"
^^
xsd:
string
.
_:
b6
sp:
varName
"part"
^^
xsd:
string
.
_:
b5
sp:
varName
"reportOn"
^^
xsd:
string
.
_:
b4
sp:
varName
"failureDescription"
^^
xsd:
string
.
_:
b2
sp:
varName
"endTime"
^^
xsd:
string
.
_:
b3
sp:
varName
"depthTVD"
^^
xsd:
string
.
_:
b2
sp:
varName
"depthMD"
^^
xsd:
string
.
_:
b1
sp:
varName
"startTime"
^^
xsd:
string
.
_:
b6
sp:
varName
"part"
^^
xsd:
string
.
_:
b14
sp:
varName
"remark"
^^
xsd:
string
.
_:
b5
sp:
varName
"reportOn"
^^
xsd:
string
.
_:
b12
sp:
varName
"depth"
^^
xsd:
string
.
_:
b18
sp:
varName
"md"
^^
xsd:
string
.
_:
b17
sp:
varName
"wellbore"
^^
xsd:
string
.
_:
b13
sp:
varName
"activity"
^^
xsd:
string
.
_:
b11
sp:
varName
"endTime"
^^
xsd:
string
.
_:
b10
sp:
varName
"startTime"
^^
xsd:
string
.
_:
b16
sp:
varName
"part"
^^
xsd:
string
.
_:
b15
sp:
varName
"reportOn"
^^
xsd:
string
.
...
...
www.reportinghub.no/ep/spin/SPIN_EP-DDR-tables-v1.0.spin.ttl.tbc
View file @
c1dec8c
# Saved by TopBraid on Sun Aug 14 2
2:37:58
BST 2011
# Saved by TopBraid on Sun Aug 14 2
3:37:07
BST 2011
# baseURI: null
@prefix
composite:
<http://www.topbraid.org/2007/05/composite.owl#>
.
...
...
www.reportinghub.no/swp/DailyDrillingReport.uispin.html
View file @
c1dec8c
...
...
@@ -57,5 +57,8 @@
<ddrswp:Table
arg:report=
"{= ?report }"
arg:template=
"ddr-tables:Operations"
/>
<ddrswp:Table
arg:report=
"{= ?report }"
arg:template=
"ddr-tables:EquipmentFailure"
/>
</ui:group>
</ui:group>
...
...
Please
register
or
login
to post a comment