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-09 00:11:44 +0000
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a4b5aeda3ec506a472a4112ca7fe7147d8042f89
a4b5aeda
1 parent
cd73a210
Renamed WDR-tables to DRILLING-tables and separated NPT from WDR report
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
64 additions
and
24 deletions
www.reportinghub.no/ep/spin/SPIN_EP-WDR-tables-v1.0.spin.ttl → www.reportinghub.no/ep/spin/SPIN_EP-DRILLING-tables-v1.0.spin.ttl
www.reportinghub.no/swp/NPTTable.uispin.html
www.reportinghub.no/swp/NonProductiveTimeReport.uispin.html
www.reportinghub.no/swp/SWP_wdr.ui.ttl
www.reportinghub.no/swp/WDRTable.uispin.html
www.reportinghub.no/swp/WeeklyDrillingReport.uispin.html
www.reportinghub.no/ep/spin/SPIN_EP-
WDR
-tables-v1.0.spin.ttl
→
www.reportinghub.no/ep/spin/SPIN_EP-
DRILLING
-tables-v1.0.spin.ttl
View file @
a4b5aed
# baseURI: http://www.reportinghub.no/ep/spin/
wdr
-tables
# baseURI: http://www.reportinghub.no/ep/spin/
drilling
-tables
# imports: http://spinrdf.org/spin
# imports: http://www.reportinghub.no/ep/schema/1.0/activity-purpose
# imports: http://www.reportinghub.no/ep/schema/1.0/ddr
...
...
@@ -16,13 +16,13 @@
@prefix
wdr-tables:
<http://www.reportinghub.no/ep/spin/wdr-tables#>
.
@prefix
xsd:
<http://www.w3.org/2001/XMLSchema#>
.
<http://www.reportinghub.no/ep/spin/
wdr
-tables>
<http://www.reportinghub.no/ep/spin/
drilling
-tables>
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/spin/rh>
,
<http://www.reportinghub.no/ep/schema/1.0/ddr>
,
<http://www.reportinghub.no/ep/schema/1.0/activity-purpose>
,
<http://spinrdf.org/spin
>
;
owl:
imports
<http://
spinrdf.org/spin>
,
<http://www.reportinghub.no/ep/schema/1.0/activity-purpose>
,
<http://www.reportinghub.no/ep/schema/1.0/ddr>
,
<http://www.reportinghub.no/spin/rh
>
;
owl:
versionInfo
"0.1.0"
^^
xsd:
string
.
wdr-tables:
DailyAndForecastComments
<http://www.reportinghub.no/ep/spin/drilling-tables#DailyAndForecastComments>
rdf:
type
rhspin:
TableTemplate
;
rdfs:
label
"Daily and Forecast Comments"
^^
xsd:
string
;
rdfs:
subClassOf
rhspin:
WDRTableTemplates
;
...
...
@@ -122,7 +122,7 @@ wdr-tables:DailyAndForecastComments
]
;
rhspin:
tableHeaders
(
"Day"
^^
xsd:
string
"Daily Summary"
^^
xsd:
string
"Next Day Forecast"
^^
xsd:
string
)
.
wdr-tables:
MissedProduction
<http://www.reportinghub.no/ep/spin/drilling-tables#MissedProduction>
rdf:
type
rhspin:
TableTemplate
;
rdfs:
label
"Non Productive Time"
^^
xsd:
string
;
rdfs:
subClassOf
rhspin:
WDRTableTemplates
;
...
...
@@ -241,7 +241,7 @@ wdr-tables:MissedProduction
]
;
rhspin:
tableHeaders
(
"Day"
^^
xsd:
string
"Start Time"
^^
xsd:
string
"Duration Minutes"
^^
xsd:
string
"Comment"
^^
xsd:
string
)
.
wdr-tables:
Test
<http://www.reportinghub.no/ep/spin/drilling-tables#Test>
rdf:
type
rhspin:
TableTemplate
;
rdfs:
label
"Test Table"
^^
xsd:
string
;
rdfs:
subClassOf
rhspin:
WDRTableTemplates
;
...
...
www.reportinghub.no/swp/NPTTable.uispin.html
0 → 100644
View file @
a4b5aed
<div>
<hr
/>
<ui:setContext
ui:queryGraph=
"<http://www.reportinghub.no/ep/spin/drilling-tables>"
>
<h2>
{= ui:label(?template) }
</h2>
</ui:setContext>
<table
class=
"ddrTable"
>
<ui:setContext
ui:queryGraph=
"<http://www.reportinghub.no/ep/spin/drilling-tables>"
>
<tr
class=
"ddrTR"
>
<ui:forEach
ui:resultSet=
"{#
SELECT ?header
WHERE {
?template rhspin:tableHeaders ?list .
?list <http://jena.hpl.hp.com/ARQ/list#member> ?header .
}
}"
>
<th
class=
"ddrTH"
>
{= ?header }
</th>
</ui:forEach>
</tr>
</ui:setContext>
<ui:call
ui:template=
"{= ?template }"
arg:startDate=
"{= ?startDate }"
arg:wellBore=
"{= ?wellBore }"
>
<ui:forEach
ui:resultSet=
"{# SELECT ?row ?rowIndex WHERE { ?rs spr:rowIndices ?rowIndex } }"
>
<tr
class=
"ddrTR"
>
<ui:forEach
ui:resultSet=
"{# SELECT ?cell WHERE { (?rs ?rowIndex) spr:rowCells (?cell ?cellIndex) } }"
>
<td
class=
"ddrTD"
>
{= ui:label(?cell) }
</td>
</ui:forEach>
</tr>
</ui:forEach>
</ui:call>
</table>
<br
/>
</div>
\ No newline at end of file
www.reportinghub.no/swp/NonProductiveTimeReport.uispin.html
0 → 100644
View file @
a4b5aed
<ui:group>
<ui:group
>
<h1>
Non Productive Time Report
</h1>
<h2>
Wellbore : {= rhspin:npdName(?wellBore) }
</h2>
<h2>
Start Date : {= ?startDate }
</h2>
<hr
/>
<wdrswp:Table
arg:startDate=
"{= ?startDate }"
arg:wellBore=
"{= ?wellBore }"
arg:template=
"wdr-tables:MissedProduction"
/>
</ui:group>
</ui:group>
\ No newline at end of file
www.reportinghub.no/swp/SWP_wdr.ui.ttl
View file @
a4b5aed
...
...
@@ -9,7 +9,7 @@
# imports: http://www.reportinghub.no/ep/schema/1.0/organization
# 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/ep/spin/
wdr
-tables
# imports: http://www.reportinghub.no/ep/spin/
drilling
-tables
# imports: http://www.reportinghub.no/spin/rh
@prefix
arg:
<http://spinrdf.org/arg#>
.
...
...
@@ -103,7 +103,7 @@ arg:wellBore
<http://www.reportinghub.no/swp/wdr>
rdf:
type
owl:
Ontology
;
owl:
imports
<http://uispin.org/tui>
,
<http://www.reportinghub.no/ep/schema/1.0/activity>
,
<http://www.reportinghub.no/ep/schema/1.0/activity-purpose>
,
<http://www.reportinghub.no/ep/schema/1.0/core>
,
<http://www.reportinghub.no/ep/schema/1.0/ddr>
,
<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/organization>
,
<http://www.reportinghub.no/ep/schema/1.0/report>
,
<http://www.reportinghub.no/ep/schema/1.0/well>
,
<http://www.reportinghub.no/ep/spin/
wdr
-tables>
,
<http://www.reportinghub.no/spin/rh>
;
owl:
imports
<http://uispin.org/tui>
,
<http://www.reportinghub.no/ep/schema/1.0/activity>
,
<http://www.reportinghub.no/ep/schema/1.0/activity-purpose>
,
<http://www.reportinghub.no/ep/schema/1.0/core>
,
<http://www.reportinghub.no/ep/schema/1.0/ddr>
,
<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/organization>
,
<http://www.reportinghub.no/ep/schema/1.0/report>
,
<http://www.reportinghub.no/ep/schema/1.0/well>
,
<http://www.reportinghub.no/ep/spin/
drilling
-tables>
,
<http://www.reportinghub.no/spin/rh>
;
owl:
versionInfo
"0.1.0"
^^
xsd:
string
.
wdrswp:
Table
...
...
@@ -113,9 +113,9 @@ wdrswp:Table
rdfs:
subClassOf
ui:
Element
;
spin:
constraint
[
rdf:
type
spl:
Argument
;
rdfs:
comment
"The
start date of the report
."
^^
xsd:
string
;
spl:
predicate
arg:
startD
ate
;
spl:
valueType
xsd:
d
ate
rdfs:
comment
"The
SPIN Template to execute
."
^^
xsd:
string
;
spl:
predicate
arg:
templ
ate
;
spl:
valueType
spin:
Templ
ate
]
;
spin:
constraint
[
rdf:
type
spl:
Argument
;
...
...
@@ -125,9 +125,9 @@ wdrswp:Table
]
;
spin:
constraint
[
rdf:
type
spl:
Argument
;
rdfs:
comment
"The
SPIN Template to execute
."
^^
xsd:
string
;
spl:
predicate
arg:
templ
ate
;
spl:
valueType
spin:
Templ
ate
rdfs:
comment
"The
start date of the report
."
^^
xsd:
string
;
spl:
predicate
arg:
startD
ate
;
spl:
valueType
xsd:
d
ate
]
;
ui:
prototype
<http://www.reportinghub.no/swp/WDRTable.uispin.html>
.
...
...
@@ -137,16 +137,16 @@ wdrswp:WeeklyDrillingReportView
rdfs:
subClassOf
ui:
Element
;
spin:
constraint
[
rdf:
type
spl:
Argument
;
rdfs:
comment
"The start date of the report to display."
^^
xsd:
string
;
spl:
predicate
arg:
startDate
;
spl:
valueType
xsd:
date
]
;
spin:
constraint
[
rdf:
type
spl:
Argument
;
rdfs:
comment
"The well bore."
^^
xsd:
string
;
spl:
predicate
arg:
wellBore
;
spl:
valueType
ep-well:
WellBore
]
;
spin:
constraint
[
rdf:
type
spl:
Argument
;
rdfs:
comment
"The start date of the report to display."
^^
xsd:
string
;
spl:
predicate
arg:
startDate
;
spl:
valueType
xsd:
date
]
;
ui:
headIncludes
[
rdf:
type
html:
Link
;
html:
href
"http://spinrdf.org/rhlib/ddr.css"
^^
xsd:
string
;
...
...
www.reportinghub.no/swp/WDRTable.uispin.html
View file @
a4b5aed
<div>
<hr
/>
<ui:setContext
ui:queryGraph=
"<http://www.reportinghub.no/ep/spin/
wdr
-tables>"
>
<ui:setContext
ui:queryGraph=
"<http://www.reportinghub.no/ep/spin/
drilling
-tables>"
>
<h2>
{= ui:label(?template) }
</h2>
</ui:setContext>
<table
class=
"ddrTable"
>
<ui:setContext
ui:queryGraph=
"<http://www.reportinghub.no/ep/spin/
wdr
-tables>"
>
<ui:setContext
ui:queryGraph=
"<http://www.reportinghub.no/ep/spin/
drilling
-tables>"
>
<tr
class=
"ddrTR"
>
<ui:forEach
ui:resultSet=
"{#
SELECT ?header
...
...
www.reportinghub.no/swp/WeeklyDrillingReport.uispin.html
View file @
a4b5aed
...
...
@@ -7,7 +7,5 @@
<wdrswp:Table
arg:startDate=
"{= ?startDate }"
arg:wellBore=
"{= ?wellBore }"
arg:template=
"wdr-tables:DailyAndForecastComments"
/>
<wdrswp:Table
arg:startDate=
"{= ?startDate }"
arg:wellBore=
"{= ?wellBore }"
arg:template=
"wdr-tables:MissedProduction"
/>
</ui:group>
</ui:group>
\ No newline at end of file
...
...
Please
register
or
login
to post a comment