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-11-04 21:04:33 +0000
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
43631ffab6ce36d6e5d3ad86284c380e4592154a
43631ffa
1 parent
351adc55
Add DateTime function and use in tables and header
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
280 additions
and
179 deletions
www.reportinghub.no/ep/spin/SPIN_EP-DDR-tables-v1.0.spin.ttl
www.reportinghub.no/ep/spin/SPIN_EPIM-lib-v1.1.spin.ttl
www.reportinghub.no/swp/DailyDrillingReport.uispin.html
www.reportinghub.no/ep/spin/SPIN_EP-DDR-tables-v1.0.spin.ttl
View file @
43631ff
This diff could not be displayed because it is too large.
www.reportinghub.no/ep/spin/SPIN_EPIM-lib-v1.1.spin.ttl
View file @
43631ff
# Saved by TopBraid on Wed Nov 02 15:54:15 GMT 2011
# baseURI: http://www.reportinghub.no/ep/spin/1.1/lib
# imports: http://www.reportinghub.no/ep/schema/1.0/drilling-equipment-type
# imports: http://www.reportinghub.no/ep/schema/1.0/report
# imports: http://www.witsml.org/schemas/1series
# imports: http://www.reportinghub.no/ep/schema/1.0/core
# imports: http://www.reportinghub.no/ep/schema/1.0/well
# imports: http://spinrdf.org/spin
# imports: http://www.reportinghub.no/ep/schema/1.0/activity
# imports: http://www.reportinghub.no/ep/schema/1.0/activity-purpose
# imports: http://www.reportinghub.no/ep/schema/1.0/core
# imports: http://www.reportinghub.no/ep/schema/1.0/drilling-equipment-type
# imports: http://www.reportinghub.no/ep/schema/1.0/equipment
# imports: http://www.reportinghub.no/ep/schema/1.0/facility
# imports: http://www.reportinghub.no/ep/schema/1.0/
activity
# imports: http://
spinrdf.org/spin
# imports: http://www.reportinghub.no/ep/schema/1.0/
report
# imports: http://
www.reportinghub.no/ep/schema/1.0/well
# imports: http://www.reportinghub.no/spin/rh
# imports: http://www.witsml.org/schemas/1series
@prefix
activity-purpose:
<http://www.reportinghub.no/ep/schema/1.0/activity-purpose#>
.
@prefix
afn:
<http://jena.hpl.hp.com/ARQ/function#>
.
...
...
@@ -32,7 +31,7 @@
<http://www.reportinghub.no/ep/spin/1.1/lib>
rdf:
type
owl:
Ontology
;
owl:
imports
<http://www.reportinghub.no/spin/rh>
,
<http://www.reportinghub.no/ep/schema/1.0/drilling-equipment-type>
,
<http://www.reportinghub.no/ep/schema/1.0/report>
,
<http://www.reportinghub.no/ep/schema/1.0/activity>
,
<http://www.reportinghub.no/ep/schema/1.0/well>
,
<http://spinrdf.org/spin>
,
<http://www.witsml.org/schemas/1series>
,
<http://www.reportinghub.no/ep/schema/1.0/core>
,
<http://www.reportinghub.no/ep/schema/1.0/equipment>
,
<http://www.reportinghub.no/ep/schema/1.0/
facility>
,
<http://www.reportinghub.no/ep/schema/1.0/activity-purpose
>
;
owl:
imports
<http://www.reportinghub.no/spin/rh>
,
<http://www.reportinghub.no/ep/schema/1.0/drilling-equipment-type>
,
<http://www.reportinghub.no/ep/schema/1.0/report>
,
<http://www.reportinghub.no/ep/schema/1.0/activity>
,
<http://www.reportinghub.no/ep/schema/1.0/well>
,
<http://spinrdf.org/spin>
,
<http://www.witsml.org/schemas/1series>
,
<http://www.reportinghub.no/ep/schema/1.0/core>
,
<http://www.reportinghub.no/ep/schema/1.0/equipment>
,
<http://www.reportinghub.no/ep/schema/1.0/
activity-purpose>
,
<http://www.reportinghub.no/ep/schema/1.0/facility
>
;
owl:
versionInfo
"Created with TopBraid Composer"
^^
xsd:
string
.
ep-spin-lib:
Function
...
...
@@ -629,12 +628,12 @@ ep-spin-lib:buildURI
]
;
spin:
constraint
[
rdf:
type
spl:
Argument
;
spl:
predicate
sp:
arg
1
;
spl:
predicate
sp:
arg
2
;
spl:
valueType
xsd:
string
]
;
spin:
constraint
[
rdf:
type
spl:
Argument
;
spl:
predicate
sp:
arg
2
;
spl:
predicate
sp:
arg
1
;
spl:
valueType
xsd:
string
]
.
...
...
@@ -984,6 +983,73 @@ ep-spin-lib:nameWellbore
]
;
spin:
returnType
xsd:
string
.
ep-spin-lib:
normalizeDateTime
rdf:
type
spin:
Function
;
rdfs:
label
"normalize an xsd:date for printing"
^^
xsd:
string
;
rdfs:
subClassOf
ep-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
([
sp:
varName
"normalizedDateTime"
^^
xsd:
string
])
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
xsd:
string
;
sp:
arg1
spin:
_arg1
]
;
sp:
variable
[
sp:
varName
"arg1str"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
spif:
dateFormat
;
arg:
date
spin:
_arg1
;
arg:
pattern
"yyyy-MMM-dd HH:mm"
]
;
sp:
variable
[
sp:
varName
"formatstr"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
afn:
substr
;
sp:
arg1
[
sp:
varName
"formatstr"
^^
xsd:
string
]
;
sp:
arg2
0
;
sp:
arg3
12
]
;
sp:
variable
[
sp:
varName
"day"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
afn:
substr
;
sp:
arg1
[
sp:
varName
"arg1str"
^^
xsd:
string
]
;
sp:
arg2
11
;
sp:
arg3
16
]
;
sp:
variable
[
sp:
varName
"time"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
fn:
concat
;
sp:
arg1
[
sp:
varName
"day"
^^
xsd:
string
]
;
sp:
arg2
", "
;
sp:
arg3
[
sp:
varName
"time"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"normalizedDateTime"
^^
xsd:
string
]
])
]
;
spin:
constraint
[
rdf:
type
spl:
Argument
;
spl:
predicate
sp:
arg1
;
spl:
valueType
xsd:
dateTime
]
.
ep-spin-lib:
normalizeDoubleName
rdf:
type
spin:
Function
;
rdfs:
label
"normalize an xsd:double to a rounded name string"
^^
xsd:
string
;
...
...
@@ -1122,6 +1188,41 @@ ep-spin-lib:normalizeString
spl:
valueType
xsd:
string
]
.
ep-spin-lib:
normalizeTimeFromDateTime
rdf:
type
spin:
Function
;
rdfs:
label
"normalize a time for pringing from an xsd:datetime"
^^
xsd:
string
;
rdfs:
subClassOf
ep-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
([
sp:
varName
"normalizedTime"
^^
xsd:
string
])
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
xsd:
string
;
sp:
arg1
spin:
_arg1
]
;
sp:
variable
[
sp:
varName
"arg1str"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
afn:
substr
;
sp:
arg1
[
sp:
varName
"arg1str"
^^
xsd:
string
]
;
sp:
arg2
11
;
sp:
arg3
16
]
;
sp:
variable
[
sp:
varName
"normalizedTime"
^^
xsd:
string
]
])
]
;
spin:
constraint
[
rdf:
type
spl:
Argument
;
spl:
predicate
sp:
arg1
;
spl:
valueType
xsd:
dateTime
]
.
ep-spin-lib:
selectActivitySuccessType
rdf:
type
spin:
Function
;
rdfs:
label
"select ActivitySuccessType"
^^
xsd:
string
;
...
...
@@ -3853,251 +3954,251 @@ ddr:TTUC_Enumeration_1
rdfs:
label
"Enumeration"
^^
xsd:
string
;
dtype:
value
ddr:
TTUC_degC
.
_:
b86
sp:
varName
"yieldPointScale"
^^
xsd:
string
.
_:
b85
sp:
varName
"wirelineFormationTestGoodnessOfSealType"
^^
xsd:
string
.
_:
b1
sp:
varName
"uri"
^^
xsd:
string
.
_:
b84
sp:
varName
"wellTestType"
^^
xsd:
string
.
_:
b2
sp:
varName
"uri"
^^
xsd:
string
.
_:
b83
sp:
varName
"wellKillingType"
^^
xsd:
string
.
_:
b3
sp:
varName
"uri"
^^
xsd:
string
.
_:
b82
sp:
varName
"wellControlIncidentType"
^^
xsd:
string
.
_:
b4
sp:
varName
"uri"
^^
xsd:
string
.
_:
b81
sp:
varName
"wellCementJobType"
^^
xsd:
string
.
_:
b5
sp:
varName
"uri"
^^
xsd:
string
.
_:
b80
sp:
varName
"wellCementJobTopPlugType"
^^
xsd:
string
.
_:
b6
sp:
varName
"uri"
^^
xsd:
string
.
_:
b79
sp:
varName
"wellCementJobPlugBumpingType"
^^
xsd:
string
.
_:
b7
sp:
varName
"uri"
^^
xsd:
string
.
_:
b78
sp:
varName
"wellCementJobFloatHoldingType"
^^
xsd:
string
.
_:
b8
sp:
varName
"uri"
^^
xsd:
string
.
_:
b77
sp:
varName
"wellCementJobCasingRotationType"
^^
xsd:
string
.
_:
b9
sp:
varName
"uri"
^^
xsd:
string
.
_:
b
76
sp:
varName
"
wellCementJobCasingReciprocationType
"
^^
xsd:
string
.
_:
b
10
sp:
varName
"
uri
"
^^
xsd:
string
.
_:
b
75
sp:
varName
"
wellCementJobBottomPlugType
"
^^
xsd:
string
.
_:
b
11
sp:
varName
"
uri
"
^^
xsd:
string
.
_:
b
74
sp:
varName
"
wellBoreTightnessType
"
^^
xsd:
string
.
_:
b
12
sp:
varName
"
uri
"
^^
xsd:
string
.
_:
b
7
3
sp:
varName
"
wellBoreHphtType
"
^^
xsd:
string
.
_:
b
1
3
sp:
varName
"
uri
"
^^
xsd:
string
.
_:
b
72
sp:
varName
"
wellBoreDrillingType
"
^^
xsd:
string
.
_:
b
14
sp:
varName
"
uri
"
^^
xsd:
string
.
_:
b
71
sp:
varName
"
volumetricFlowRateScale
"
^^
xsd:
string
.
_:
b
15
sp:
varName
"
uri
"
^^
xsd:
string
.
_:
b
70
sp:
varName
"
volumeScale
"
^^
xsd:
string
.
_:
b
16
sp:
varName
"
uri
"
^^
xsd:
string
.
_:
b
69
sp:
varName
"
durationScale
"
^^
xsd:
string
.
_:
b
17
sp:
varName
"
uri
"
^^
xsd:
string
.
_:
b
6
8
sp:
varName
"
temperatureScale
"
^^
xsd:
string
.
_:
b
1
8
sp:
varName
"
uri
"
^^
xsd:
string
.
_:
b
67
sp:
varName
"
strengthScale
"
^^
xsd:
string
.
_:
b
19
sp:
varName
"
uri
"
^^
xsd:
string
.
_:
b
66
sp:
varName
"
speedScale
"
^^
xsd:
string
.
_:
b
20
sp:
varName
"
uri
"
^^
xsd:
string
.
_:
b
65
sp:
varName
"
specificVolumeScale
"
^^
xsd:
string
.
_:
b
21
sp:
varName
"
uri
"
^^
xsd:
string
.
_:
b
64
sp:
varName
"
specificMassScale
"
^^
xsd:
string
.
_:
b
22
sp:
varName
"
uri
"
^^
xsd:
string
.
_:
b
6
3
sp:
varName
"
pressureTestType
"
^^
xsd:
string
.
_:
b
2
3
sp:
varName
"
uri
"
^^
xsd:
string
.
_:
b
62
sp:
varName
"
pressureScale
"
^^
xsd:
string
.
_:
b
24
sp:
varName
"
uri
"
^^
xsd:
string
.
_:
b
61
sp:
varName
"
porePressureDeterminationType
"
^^
xsd:
string
.
_:
b
25
sp:
varName
"
uri
"
^^
xsd:
string
.
_:
b
60
sp:
varName
"
plasticViscosityScale
"
^^
xsd:
string
.
_:
b
26
sp:
varName
"
uri
"
^^
xsd:
string
.
_:
b
59
sp:
varName
"
angleScale
"
^^
xsd:
string
.
_:
b
27
sp:
varName
"
uri
"
^^
xsd:
string
.
_:
b
5
8
sp:
varName
"
mudClass
"
^^
xsd:
string
.
_:
b
2
8
sp:
varName
"
uri
"
^^
xsd:
string
.
_:
b
57
sp:
varName
"
massPerUnitLengthScale
"
^^
xsd:
string
.
_:
b
29
sp:
varName
"
uri
"
^^
xsd:
string
.
_:
b
56
sp:
varName
"
lengthScale
"
^^
xsd:
string
.
_:
b
30
sp:
varName
"
uri
"
^^
xsd:
string
.
_:
b
55
sp:
varName
"
dailyDrillingReportType
"
^^
xsd:
string
.
_:
b
31
sp:
varName
"
normalizedStr
"
^^
xsd:
string
.
_:
b
54
sp:
varName
"
innerBarrelType
"
^^
xsd:
string
.
_:
b
32
sp:
varName
"
s1
"
^^
xsd:
string
.
_:
b
5
3
sp:
varName
"
gasReadingType
"
^^
xsd:
string
.
_:
b
3
3
sp:
varName
"
s2
"
^^
xsd:
string
.
_:
b
52
sp:
varName
"
fluidType
"
^^
xsd:
string
.
_:
b
34
sp:
varName
"
t0a
"
^^
xsd:
string
.
_:
b
51
sp:
varName
"
fixedOrMoveableRigType
"
^^
xsd:
string
.
_:
b
35
sp:
varName
"
t0b
"
^^
xsd:
string
.
_:
b
50
sp:
varName
"
drillingEquipmentType
"
^^
xsd:
string
.
_:
b
36
sp:
varName
"
t1
"
^^
xsd:
string
.
_:
b
49
sp:
varName
"
drillingActivityTypeAccordingToEquipmentType
"
^^
xsd:
string
.
_:
b
37
sp:
varName
"
t2
"
^^
xsd:
string
.
_:
b
4
8
sp:
varName
"
drillingActivityPurposeType
"
^^
xsd:
string
.
_:
b
3
8
sp:
varName
"
t3
"
^^
xsd:
string
.
_:
b
47
sp:
varName
"
drillingActivityOutcomeType
"
^^
xsd:
string
.
_:
b
39
sp:
varName
"
t4
"
^^
xsd:
string
.
_:
b4
6
sp:
varName
"
densityScal
e"
^^
xsd:
string
.
_:
b4
0
sp:
varName
"
activitySuccessTyp
e"
^^
xsd:
string
.
_:
b4
5
sp:
varName
"
dailyDrillingReport
Type"
^^
xsd:
string
.
_:
b4
1
sp:
varName
"
casingRole
Type"
^^
xsd:
string
.
_:
b4
4
sp:
varName
"c
omponent
Type"
^^
xsd:
string
.
_:
b4
2
sp:
varName
"c
ementingFluidReturn
Type"
^^
xsd:
string
.
_:
b43
sp:
varName
"classOfWellDatumObject"
^^
xsd:
string
.
_:
b4
2
sp:
varName
"c
ementingFluidReturn
Type"
^^
xsd:
string
.
_:
b4
4
sp:
varName
"c
omponent
Type"
^^
xsd:
string
.
_:
b4
1
sp:
varName
"
casingRole
Type"
^^
xsd:
string
.
_:
b4
5
sp:
varName
"
dailyDrillingReport
Type"
^^
xsd:
string
.
_:
b4
0
sp:
varName
"
activitySuccessTyp
e"
^^
xsd:
string
.
_:
b4
6
sp:
varName
"
densityScal
e"
^^
xsd:
string
.
_:
b
39
sp:
varName
"
t4
"
^^
xsd:
string
.
_:
b
47
sp:
varName
"
drillingActivityOutcomeType
"
^^
xsd:
string
.
_:
b
3
8
sp:
varName
"
t3
"
^^
xsd:
string
.
_:
b
4
8
sp:
varName
"
drillingActivityPurposeType
"
^^
xsd:
string
.
_:
b
37
sp:
varName
"
t2
"
^^
xsd:
string
.
_:
b
49
sp:
varName
"
drillingActivityTypeAccordingToEquipmentType
"
^^
xsd:
string
.
_:
b
36
sp:
varName
"
t1
"
^^
xsd:
string
.
_:
b
50
sp:
varName
"
drillingEquipmentType
"
^^
xsd:
string
.
_:
b
35
sp:
varName
"
t0b
"
^^
xsd:
string
.
_:
b
51
sp:
varName
"
fixedOrMoveableRigType
"
^^
xsd:
string
.
_:
b
34
sp:
varName
"
t0a
"
^^
xsd:
string
.
_:
b
52
sp:
varName
"
fluidType
"
^^
xsd:
string
.
_:
b
3
3
sp:
varName
"
s2
"
^^
xsd:
string
.
_:
b
5
3
sp:
varName
"
gasReadingType
"
^^
xsd:
string
.
_:
b
32
sp:
varName
"
s1
"
^^
xsd:
string
.
_:
b
54
sp:
varName
"
innerBarrelType
"
^^
xsd:
string
.
_:
b
31
sp:
varName
"
normalizedStr
"
^^
xsd:
string
.
_:
b
55
sp:
varName
"
dailyDrillingReportType
"
^^
xsd:
string
.
_:
b
30
sp:
varName
"
uri
"
^^
xsd:
string
.
_:
b
56
sp:
varName
"
lengthScale
"
^^
xsd:
string
.
_:
b
29
sp:
varName
"
uri
"
^^
xsd:
string
.
_:
b
57
sp:
varName
"
massPerUnitLengthScale
"
^^
xsd:
string
.
_:
b
2
8
sp:
varName
"
uri
"
^^
xsd:
string
.
_:
b
5
8
sp:
varName
"
mudClass
"
^^
xsd:
string
.
_:
b
27
sp:
varName
"
uri
"
^^
xsd:
string
.
_:
b
59
sp:
varName
"
angleScale
"
^^
xsd:
string
.
_:
b
26
sp:
varName
"
uri
"
^^
xsd:
string
.
_:
b
60
sp:
varName
"
plasticViscosityScale
"
^^
xsd:
string
.
_:
b
25
sp:
varName
"
uri
"
^^
xsd:
string
.
_:
b
61
sp:
varName
"
porePressureDeterminationType
"
^^
xsd:
string
.
_:
b
24
sp:
varName
"
uri
"
^^
xsd:
string
.
_:
b
62
sp:
varName
"
pressureScale
"
^^
xsd:
string
.
_:
b
2
3
sp:
varName
"
uri
"
^^
xsd:
string
.
_:
b
6
3
sp:
varName
"
pressureTestType
"
^^
xsd:
string
.
_:
b
22
sp:
varName
"
uri
"
^^
xsd:
string
.
_:
b
64
sp:
varName
"
specificMassScale
"
^^
xsd:
string
.
_:
b
21
sp:
varName
"
uri
"
^^
xsd:
string
.
_:
b
65
sp:
varName
"
specificVolumeScale
"
^^
xsd:
string
.
_:
b
20
sp:
varName
"
uri
"
^^
xsd:
string
.
_:
b
66
sp:
varName
"
speedScale
"
^^
xsd:
string
.
_:
b
19
sp:
varName
"
uri
"
^^
xsd:
string
.
_:
b
67
sp:
varName
"
strengthScale
"
^^
xsd:
string
.
_:
b
1
8
sp:
varName
"
uri
"
^^
xsd:
string
.
_:
b
6
8
sp:
varName
"
temperatureScale
"
^^
xsd:
string
.
_:
b
17
sp:
varName
"
uri
"
^^
xsd:
string
.
_:
b
69
sp:
varName
"
durationScale
"
^^
xsd:
string
.
_:
b
16
sp:
varName
"
uri
"
^^
xsd:
string
.
_:
b
70
sp:
varName
"
volumeScale
"
^^
xsd:
string
.
_:
b
15
sp:
varName
"
uri
"
^^
xsd:
string
.
_:
b
71
sp:
varName
"
volumetricFlowRateScale
"
^^
xsd:
string
.
_:
b
14
sp:
varName
"
uri
"
^^
xsd:
string
.
_:
b
72
sp:
varName
"
wellBoreDrillingType
"
^^
xsd:
string
.
_:
b
12
sp:
varName
"
uri
"
^^
xsd:
string
.
_:
b
73
sp:
varName
"
wellBoreHphtType
"
^^
xsd:
string
.
_:
b
11
sp:
varName
"
uri
"
^^
xsd:
string
.
_:
b
74
sp:
varName
"
wellBoreTightnessType
"
^^
xsd:
string
.
_:
b
10
sp:
varName
"
uri
"
^^
xsd:
string
.
_:
b
75
sp:
varName
"
wellCementJobBottomPlugType
"
^^
xsd:
string
.
_:
b9
sp:
varName
"uri"
^^
xsd:
string
.
_:
b76
sp:
varName
"wellCementJobCasingReciprocationType"
^^
xsd:
string
.
_:
b8
sp:
varName
"uri"
^^
xsd:
string
.
_:
b77
sp:
varName
"wellCementJobCasingRotationType"
^^
xsd:
string
.
_:
b7
sp:
varName
"uri"
^^
xsd:
string
.
_:
b78
sp:
varName
"wellCementJobFloatHoldingType"
^^
xsd:
string
.
_:
b6
sp:
varName
"uri"
^^
xsd:
string
.
_:
b79
sp:
varName
"wellCementJobPlugBumpingType"
^^
xsd:
string
.
_:
b5
sp:
varName
"uri"
^^
xsd:
string
.
_:
b80
sp:
varName
"wellCementJobTopPlugType"
^^
xsd:
string
.
_:
b4
sp:
varName
"uri"
^^
xsd:
string
.
_:
b81
sp:
varName
"wellCementJobType"
^^
xsd:
string
.
_:
b3
sp:
varName
"uri"
^^
xsd:
string
.
_:
b82
sp:
varName
"wellControlIncidentType"
^^
xsd:
string
.
_:
b2
sp:
varName
"uri"
^^
xsd:
string
.
_:
b83
sp:
varName
"wellKillingType"
^^
xsd:
string
.
_:
b1
sp:
varName
"uri"
^^
xsd:
string
.
_:
b84
sp:
varName
"wellTestType"
^^
xsd:
string
.
_:
b13
sp:
varName
"uri"
^^
xsd:
string
.
_:
b85
sp:
varName
"wirelineFormationTestGoodnessOfSealType"
^^
xsd:
string
.
_:
b86
sp:
varName
"yieldPointScale"
^^
xsd:
string
.
...
...
www.reportinghub.no/swp/DailyDrillingReport.uispin.html
View file @
43631ff
...
...
@@ -17,7 +17,9 @@
>
<h1>
Summary report Wellbore: {= rhspin:npdName(?wb) }
</h1>
<div>
End time: {= ?activityEnd}
</div>
<div>
Period: {= fn:concat(ep-spin-lib:normalizeDateTime(?activityStart), ' - ', ep-spin-lib:normalizeDateTime(?activityEnd)) }
</div>
<hr
/>
...
...
@@ -30,7 +32,7 @@
<rhswp:NameValuePair
arg:name=
"Status:"
arg:value=
"{# SELECT ?repTypeName WHERE {?report a ?repType . ?repType a ep-report:DailyDrillingReportFinalisationType . ?repType rdfs:label ?repTypeName}}"
/>
<rhswp:NameValuePair
arg:name=
"Operator:"
arg:value=
"{# SELECT ?operatorName WHERE {?activity ep-activity:drillingOperator ?operator . ?operator ep-core:name ?operatorName }}"
/>
<rhswp:NameValuePair
arg:name=
"Rig name:"
arg:value=
"{= rhspin:npdName(?rig) }"
/>
<rhswp:NameValuePair
arg:name=
"Spud date:"
arg:value=
"{= IF(bound(?spudDate), spif:dateFormat(?spudDate, 'yyyy-MM-dd'), ?unbound) }"
/>
<rhswp:NameValuePair
arg:name=
"Spud date:"
arg:value=
"{= IF(bound(?spudDate), spif:dateFormat(?spudDate, 'yyyy-MM
M
-dd'), ?unbound) }"
/>
<rhswp:NameValuePair
arg:name=
"Elevation RKB-MSL m:"
arg:value=
"{# SELECT ?kellyElevMeas WHERE {?activity ep-activity:onRig ?rigState . ?rigState ep-core:hasPart ?kellyBushing . ?kellyBushing a ep-eqt:KellyBushing . ?kellyBushing ep-eqt:elevationOfKellyBushing ?kellyElev . ?kellyElev ep-core:metre ?kellyElevMeas}}"
/>
<rhswp:NameValuePair
arg:name=
"Tight well:"
arg:value=
"{# SELECT ?wbTightTypeLabel WHERE { ?statusActivityWb a ?wbTightType . ?wbTightType a ep-well:WellBoreTightnessType . ?wbTightType rdfs:label ?wbTightTypeLabel} }"
/>
<rhswp:NameValuePair
arg:name=
"Pressure psig:"
arg:value=
"{# SELECT ?buttHolePresVal WHERE {?statusActivityWb ep-well:averageBottomHolePressure ?buttHolePres . ?buttHolePres ep-core:psig ?buttHolePresVal}}"
/>
...
...
@@ -45,14 +47,12 @@
</td>
<td
class=
"ddrSummaryRight"
>
<rhswp:NameValuePair
arg:name=
"Period:"
arg:value=
"{= fn:concat(?activityStart, ' - ', ?activityEnd) }"
/>
<rhswp:NameValuePair
arg:name=
"Wellbore Id:"
arg:value=
"{= rhspin:npdId(?wb) }"
/>
<rhswp:NameValuePair
arg:name=
"Created
date:"
arg:value=
"{= ?createdAt
}"
/>
<rhswp:NameValuePair
arg:name=
"Created
time:"
arg:value=
"{= ep-spin-lib:normalizeDateTime(?createdAt)
}"
/>
<rhswp:NameValuePair
arg:name=
"Drilling contractor:"
arg:value=
"{# SELECT ?contractorName WHERE {?activity ep-activity:drillingContractor ?contractor . ?contractor ep-core:name ?contractorName}}"
/>
<rhswp:NameValuePair
arg:name=
"NPD Rig Id:"
arg:value=
"{= rhspin:npdId(?rig) }"
/>
<rhswp:NameValuePair
arg:name=
"Date Well Complete:"
arg:value=
"{= IF(bound(?completeDate), spif:dateFormat(?completeDate, 'yyyy-MM-dd'), ?unbound) }"
/>
<rhswp:NameValuePair
arg:name=
"Date Well Complete:"
arg:value=
"{= IF(bound(?completeDate), spif:dateFormat(?completeDate, 'yyyy-MM
M
-dd'), ?unbound) }"
/>
<rhswp:NameValuePair
arg:name=
"Water depth MSL m:"
arg:value=
"{# SELECT ?waterDepthVal WHERE {?activity ep-activity:onRig ?rigState . ?rigState a ep-fac:TemporalPartOfARig . ?rigState ep-core:hasPart ?water . ?water a ep-fac:SurroundingWater . ?water ep-fac:depthOfSurroundingWater ?waterDepth . ?waterDepth ep-core:metre ?waterDepthVal}}"
/>
<rhswp:NameValuePair
arg:name=
"High pressure - High temperature:"
arg:value=
"{# SELECT ?wbPTTypeLabel WHERE { ?statusActivityWb a ?wbPTType . ?wbPTType a ep-well:WellBoreHphtType . ?wbPTType rdfs:label ?wbPTTypeLabel} }"
/>
<rhswp:NameValuePair
arg:name=
"Temperature degC:"
arg:value=
"{# SELECT ?buttHoleTempVal WHERE {?statusActivityWb ep-well:averageBottomHoleTemperature ?buttHoleTemp . ?buttHoleTemp ep-core:celsius ?buttHoleTempVal}}"
/>
...
...
Please
register
or
login
to post a comment