Holger Knublauch

DDR SWP progress

<html let:reportOn="{= spl:object(?this, ep-activity:reportOn) }">
<head>
<link rel="stylesheet" type="text/css" href="lib/rh/ddr.css" />
</head>
<body>
<h1>Summary report Wellbore: {# SELECT ?wellBoreName WHERE { ?reportOn iso15926:hasPart/ep-activity:onWellBore/iso15926:temporalPartOf/rdfs:label ?wellBoreName } }</h1>
<div>End time: {= ui:label(spl:object(?reportOn, ep-activity:finishedAt)) }</div>
<hr />
<table><tr>
<td class="ddrSummaryLeft">
<rhswp:NameValuePair arg:name="Report Number:" arg:value="{ spl:object(?this, ?) }" />
<rhswp:NameValuePair arg:name="Wellbore:" arg:value="{# SELECT ?wellBoreName WHERE { ?reportOn iso15926:hasPart/ep-activity:onWellBore/iso15926:temporalPartOf/rdfs:label ?wellBoreName } }" />
<!--
<rhswp:NameValuePair arg:name="Status:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Operator:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Rig name:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Spud date:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Elevation RKB-MSL m:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Tight well:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Pressure psig:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Fixed rig:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Depth at Kick Off mMD:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Plug Back Depth mMD:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Penetration Rate m/h:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Pressure Test Type:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Depth At Formation Strength mMD:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Dia Last Casing In:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Depth At Last Casing MTVD:" arg:value="{= spl:object(?this, ???) }" />
-->
</td>
<td class="ddrSummaryRight">
<rhswp:NameValuePair arg:name="Period:" arg:value="{= fn:concat(ui:label(spl:object(?reportOn, ep-activity:startedAt)), ' - ', ui:label(spl:object(?reportOn, ep-activity:finishedAt))) }" />
<rhswp:NameValuePair arg:name="Wellbore Id:" arg:value="{ SELECT ?wellBoreId WHERE { ?reportOn iso15926:hasPart/ep-activity:onWellBore/iso15926:temporalPartOf/??? ?wellBoreId } }" />
<rhswp:NameValuePair arg:name="Created date:" arg:value="{= spl:object(?this, ep-activity:createdAt) }" />
<!--
<rhswp:NameValuePair arg:name="Drilling contractor:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="NPD Rig Id:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Date Well Complete:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Water depth MSL m:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="High pressure - High temperature:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Temprature degC:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Wellbore type:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Depth at Kick Off mTVD:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Depth mTVD:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Dist Drilled m:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Hole Dia in:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Formation Strength g/cm3:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Depth At Formation Strength mTVD:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Depth At Last Casting mMD:" arg:value="{= spl:object(?this, ???) }" />
-->
</td>
</tr></table>
</body>
</html>
\ No newline at end of file
# Saved by TopBraid on Sun Aug 07 12:55:42 PDT 2011
# baseURI: http://www.reportinghub.no/swp/ddr
# imports: http://www.reportinghub.no/ep/schema/1.1.1/ddr
# imports: http://www.reportinghub.no/ep/schema/1.1/activity
# imports: http://uispin.org/tui
@prefix : <http://www.reportinghub.no/swp/ddr#> .
@prefix let: <http://uispin.org/let#> .
@prefix letrs: <http://uispin.org/letrs#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sp: <http://spinrdf.org/sp#> .
@prefix spin: <http://spinrdf.org/spin#> .
@prefix spl: <http://spinrdf.org/spl#> .
@prefix ui: <http://uispin.org/ui#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/ep/schema/ddr#Obj_drillReport>
ui:instanceView <http://www.reportinghub.no/swp/Obj_drillReport.uispin.html> .
<http://www.reportinghub.no/swp/ddr>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/schema/1.1/activity> , <http://uispin.org/tui> , <http://www.reportinghub.no/ep/schema/1.1.1/ddr> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
# baseURI: http://www.reportinghub.no/swp/ddr
# imports: http://uispin.org/tui
# imports: http://www.reportinghub.no/ep/schema/1.1.1/ddr
# imports: http://www.reportinghub.no/ep/schema/1.1/activity
@prefix : <http://www.reportinghub.no/swp/ddr#> .
@prefix let: <http://uispin.org/let#> .
@prefix letrs: <http://uispin.org/letrs#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sp: <http://spinrdf.org/sp#> .
@prefix spin: <http://spinrdf.org/spin#> .
@prefix spl: <http://spinrdf.org/spl#> .
@prefix ui: <http://uispin.org/ui#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/ep/schema/report#DailyDrillingReport>
ui:instanceView <http://www.reportinghub.no/swp/DailyDrillingReport.uispin.html> .
<http://www.reportinghub.no/swp/ddr>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/schema/1.1.1/ddr> , <http://uispin.org/tui> , <http://www.reportinghub.no/ep/schema/1.1/activity> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
......
......@@ -23,7 +23,7 @@
<http://www.reportinghub.no/swp/rh>
rdf:type owl:Ontology ;
rdfs:comment "SWP components and definitions for ReportingHub."^^xsd:string ;
owl:imports <http://www.reportinghub.no/spin/rh> , <http://uispin.org/tui> ;
owl:imports <http://uispin.org/tui> , <http://www.reportinghub.no/spin/rh> ;
owl:versionInfo "0.1.0"^^xsd:string .
rhswp:Elements
......@@ -44,37 +44,41 @@ rhswp:NameValuePair
rdfs:subClassOf rhswp:Elements ;
spin:constraint
[ rdf:type spl:Argument ;
rdfs:comment "The label of the value."^^xsd:string ;
spl:predicate <http://spinrdf.org/arg#name> ;
spl:valueType xsd:string
rdfs:comment "The value to display."^^xsd:string ;
spl:predicate <http://spinrdf.org/arg#value>
] ;
spin:constraint
[ rdf:type spl:Argument ;
rdfs:comment "The value to display."^^xsd:string ;
spl:predicate <http://spinrdf.org/arg#value>
rdfs:comment "The label of the value."^^xsd:string ;
spl:predicate <http://spinrdf.org/arg#name> ;
spl:valueType xsd:string
] ;
ui:prototype
[ rdf:type html:Div ;
[ rdf:type html:Table ;
html:class "nameValuePair"^^xsd:string ;
ui:child
[ rdf:type html:Div ;
html:class "nameValueValue"^^xsd:string ;
[ rdf:type html:Tr ;
ui:child
[ rdf:type ui:TextNode ;
ui:childIndex 0 ;
ui:text [ sp:varName "value"^^xsd:string
]
[ rdf:type html:Td ;
html:class "nameValueValue"^^xsd:string ;
ui:child
[ rdf:type ui:TextNode ;
ui:childIndex 0 ;
ui:text [ sp:varName "value"^^xsd:string
]
] ;
ui:childIndex 1
] ;
ui:childIndex 1
] ;
ui:child
[ rdf:type html:Div ;
html:class "nameValueName"^^xsd:string ;
ui:child
[ rdf:type ui:TextNode ;
ui:childIndex 0 ;
ui:text [ sp:varName "name"^^xsd:string
]
[ rdf:type html:Td ;
html:class "nameValueName"^^xsd:string ;
ui:child
[ rdf:type ui:TextNode ;
ui:childIndex 0 ;
ui:text [ sp:varName "name"^^xsd:string
]
] ;
ui:childIndex 0
] ;
ui:childIndex 0
]
......
@CHARSET "UTF-8";
body {
font-family: sans-serif;
font-family:Tahoma,arial,Helvetica;
font-size:12px;
}
.ddrSummaryLeft {
vertical-align: top;
width: 50%;
}
.ddrSummaryRight {
vertical-align: top;
width: 50%;
}
.nameValuePair {
}
.nameValueName {
font-weight: bold;
padding-right: 8;
vertical-align: top;
width: 120px;
}
.nameValueValue {
}
\ No newline at end of file
......@@ -32,16 +32,6 @@ a,a:link,a:visited {
color:#375f82;
}
.ddrSummaryLeft {
position: absolute;
left: 0;
}
.ddrSummaryRight {
position: absolute;
right: 0;
}
.formHeader {
font-weight: bold;
}
......@@ -51,20 +41,3 @@ a,a:link,a:visited {
width: 950px;
height: 106px;
}
.nameValuePair {
}
.nameValueName {
font-weight: bold;
position: absolute;
top: 0;
left: 0;
width: 200;
}
.nameValueValue {
position: absolute;
top: 0;
right: 0;
}
\ No newline at end of file
......