Merge branch 'refs/heads/master' of [email protected]:TopQuadrant/EPIM-Ontologies.git
Showing
5 changed files
with
101 additions
and
41 deletions
| 1 | +<html let:reportOn="{= spl:object(?this, ep-activity:reportOn) }"> | ||
| 2 | + <head> | ||
| 3 | + <link rel="stylesheet" type="text/css" href="lib/rh/ddr.css" /> | ||
| 4 | + </head> | ||
| 5 | + <body> | ||
| 6 | + <h1>Summary report Wellbore: {# SELECT ?wellBoreName WHERE { ?reportOn iso15926:hasPart/ep-activity:onWellBore/iso15926:temporalPartOf/rdfs:label ?wellBoreName } }</h1> | ||
| 7 | + <div>End time: {= ui:label(spl:object(?reportOn, ep-activity:finishedAt)) }</div> | ||
| 8 | + <hr /> | ||
| 9 | + <table><tr> | ||
| 10 | + <td class="ddrSummaryLeft"> | ||
| 11 | + <rhswp:NameValuePair arg:name="Report Number:" arg:value="{ spl:object(?this, ?) }" /> | ||
| 12 | + <rhswp:NameValuePair arg:name="Wellbore:" arg:value="{# SELECT ?wellBoreName WHERE { ?reportOn iso15926:hasPart/ep-activity:onWellBore/iso15926:temporalPartOf/rdfs:label ?wellBoreName } }" /> | ||
| 13 | + <!-- | ||
| 14 | + <rhswp:NameValuePair arg:name="Status:" arg:value="{= spl:object(?this, ???) }" /> | ||
| 15 | + <rhswp:NameValuePair arg:name="Operator:" arg:value="{= spl:object(?this, ???) }" /> | ||
| 16 | + <rhswp:NameValuePair arg:name="Rig name:" arg:value="{= spl:object(?this, ???) }" /> | ||
| 17 | + <rhswp:NameValuePair arg:name="Spud date:" arg:value="{= spl:object(?this, ???) }" /> | ||
| 18 | + <rhswp:NameValuePair arg:name="Elevation RKB-MSL m:" arg:value="{= spl:object(?this, ???) }" /> | ||
| 19 | + <rhswp:NameValuePair arg:name="Tight well:" arg:value="{= spl:object(?this, ???) }" /> | ||
| 20 | + <rhswp:NameValuePair arg:name="Pressure psig:" arg:value="{= spl:object(?this, ???) }" /> | ||
| 21 | + <rhswp:NameValuePair arg:name="Fixed rig:" arg:value="{= spl:object(?this, ???) }" /> | ||
| 22 | + <rhswp:NameValuePair arg:name="Depth at Kick Off mMD:" arg:value="{= spl:object(?this, ???) }" /> | ||
| 23 | + <rhswp:NameValuePair arg:name="Plug Back Depth mMD:" arg:value="{= spl:object(?this, ???) }" /> | ||
| 24 | + <rhswp:NameValuePair arg:name="Penetration Rate m/h:" arg:value="{= spl:object(?this, ???) }" /> | ||
| 25 | + <rhswp:NameValuePair arg:name="Pressure Test Type:" arg:value="{= spl:object(?this, ???) }" /> | ||
| 26 | + <rhswp:NameValuePair arg:name="Depth At Formation Strength mMD:" arg:value="{= spl:object(?this, ???) }" /> | ||
| 27 | + <rhswp:NameValuePair arg:name="Dia Last Casing In:" arg:value="{= spl:object(?this, ???) }" /> | ||
| 28 | + <rhswp:NameValuePair arg:name="Depth At Last Casing MTVD:" arg:value="{= spl:object(?this, ???) }" /> | ||
| 29 | + --> | ||
| 30 | + </td> | ||
| 31 | + <td class="ddrSummaryRight"> | ||
| 32 | + <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))) }" /> | ||
| 33 | + <rhswp:NameValuePair arg:name="Wellbore Id:" arg:value="{ SELECT ?wellBoreId WHERE { ?reportOn iso15926:hasPart/ep-activity:onWellBore/iso15926:temporalPartOf/??? ?wellBoreId } }" /> | ||
| 34 | + <rhswp:NameValuePair arg:name="Created date:" arg:value="{= spl:object(?this, ep-activity:createdAt) }" /> | ||
| 35 | + <!-- | ||
| 36 | + <rhswp:NameValuePair arg:name="Drilling contractor:" arg:value="{= spl:object(?this, ???) }" /> | ||
| 37 | + <rhswp:NameValuePair arg:name="NPD Rig Id:" arg:value="{= spl:object(?this, ???) }" /> | ||
| 38 | + <rhswp:NameValuePair arg:name="Date Well Complete:" arg:value="{= spl:object(?this, ???) }" /> | ||
| 39 | + <rhswp:NameValuePair arg:name="Water depth MSL m:" arg:value="{= spl:object(?this, ???) }" /> | ||
| 40 | + <rhswp:NameValuePair arg:name="High pressure - High temperature:" arg:value="{= spl:object(?this, ???) }" /> | ||
| 41 | + <rhswp:NameValuePair arg:name="Temprature degC:" arg:value="{= spl:object(?this, ???) }" /> | ||
| 42 | + <rhswp:NameValuePair arg:name="Wellbore type:" arg:value="{= spl:object(?this, ???) }" /> | ||
| 43 | + <rhswp:NameValuePair arg:name="Depth at Kick Off mTVD:" arg:value="{= spl:object(?this, ???) }" /> | ||
| 44 | + <rhswp:NameValuePair arg:name="Depth mTVD:" arg:value="{= spl:object(?this, ???) }" /> | ||
| 45 | + <rhswp:NameValuePair arg:name="Dist Drilled m:" arg:value="{= spl:object(?this, ???) }" /> | ||
| 46 | + <rhswp:NameValuePair arg:name="Hole Dia in:" arg:value="{= spl:object(?this, ???) }" /> | ||
| 47 | + <rhswp:NameValuePair arg:name="Formation Strength g/cm3:" arg:value="{= spl:object(?this, ???) }" /> | ||
| 48 | + <rhswp:NameValuePair arg:name="Depth At Formation Strength mTVD:" arg:value="{= spl:object(?this, ???) }" /> | ||
| 49 | + <rhswp:NameValuePair arg:name="Depth At Last Casting mMD:" arg:value="{= spl:object(?this, ???) }" /> | ||
| 50 | + --> | ||
| 51 | + </td> | ||
| 52 | + </tr></table> | ||
| 53 | + </body> | ||
| 54 | +</html> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | -# Saved by TopBraid on Sun Aug 07 12:55:42 PDT 2011 | ||
| 2 | # baseURI: http://www.reportinghub.no/swp/ddr | 1 | # baseURI: http://www.reportinghub.no/swp/ddr |
| 2 | +# imports: http://uispin.org/tui | ||
| 3 | # imports: http://www.reportinghub.no/ep/schema/1.1.1/ddr | 3 | # imports: http://www.reportinghub.no/ep/schema/1.1.1/ddr |
| 4 | # imports: http://www.reportinghub.no/ep/schema/1.1/activity | 4 | # imports: http://www.reportinghub.no/ep/schema/1.1/activity |
| 5 | -# imports: http://uispin.org/tui | ||
| 6 | 5 | ||
| 7 | @prefix : <http://www.reportinghub.no/swp/ddr#> . | 6 | @prefix : <http://www.reportinghub.no/swp/ddr#> . |
| 8 | @prefix let: <http://uispin.org/let#> . | 7 | @prefix let: <http://uispin.org/let#> . |
| ... | @@ -16,10 +15,10 @@ | ... | @@ -16,10 +15,10 @@ |
| 16 | @prefix ui: <http://uispin.org/ui#> . | 15 | @prefix ui: <http://uispin.org/ui#> . |
| 17 | @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | 16 | @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . |
| 18 | 17 | ||
| 19 | -<http://www.reportinghub.no/ep/schema/ddr#Obj_drillReport> | 18 | +<http://www.reportinghub.no/ep/schema/report#DailyDrillingReport> |
| 20 | - ui:instanceView <http://www.reportinghub.no/swp/Obj_drillReport.uispin.html> . | 19 | + ui:instanceView <http://www.reportinghub.no/swp/DailyDrillingReport.uispin.html> . |
| 21 | 20 | ||
| 22 | <http://www.reportinghub.no/swp/ddr> | 21 | <http://www.reportinghub.no/swp/ddr> |
| 23 | rdf:type owl:Ontology ; | 22 | rdf:type owl:Ontology ; |
| 24 | - 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> ; | 23 | + 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> ; |
| 25 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 24 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | ... | ... |
| ... | @@ -23,7 +23,7 @@ | ... | @@ -23,7 +23,7 @@ |
| 23 | <http://www.reportinghub.no/swp/rh> | 23 | <http://www.reportinghub.no/swp/rh> |
| 24 | rdf:type owl:Ontology ; | 24 | rdf:type owl:Ontology ; |
| 25 | rdfs:comment "SWP components and definitions for ReportingHub."^^xsd:string ; | 25 | rdfs:comment "SWP components and definitions for ReportingHub."^^xsd:string ; |
| 26 | - owl:imports <http://www.reportinghub.no/spin/rh> , <http://uispin.org/tui> ; | 26 | + owl:imports <http://uispin.org/tui> , <http://www.reportinghub.no/spin/rh> ; |
| 27 | owl:versionInfo "0.1.0"^^xsd:string . | 27 | owl:versionInfo "0.1.0"^^xsd:string . |
| 28 | 28 | ||
| 29 | rhswp:Elements | 29 | rhswp:Elements |
| ... | @@ -44,20 +44,22 @@ rhswp:NameValuePair | ... | @@ -44,20 +44,22 @@ rhswp:NameValuePair |
| 44 | rdfs:subClassOf rhswp:Elements ; | 44 | rdfs:subClassOf rhswp:Elements ; |
| 45 | spin:constraint | 45 | spin:constraint |
| 46 | [ rdf:type spl:Argument ; | 46 | [ rdf:type spl:Argument ; |
| 47 | - rdfs:comment "The label of the value."^^xsd:string ; | 47 | + rdfs:comment "The value to display."^^xsd:string ; |
| 48 | - spl:predicate <http://spinrdf.org/arg#name> ; | 48 | + spl:predicate <http://spinrdf.org/arg#value> |
| 49 | - spl:valueType xsd:string | ||
| 50 | ] ; | 49 | ] ; |
| 51 | spin:constraint | 50 | spin:constraint |
| 52 | [ rdf:type spl:Argument ; | 51 | [ rdf:type spl:Argument ; |
| 53 | - rdfs:comment "The value to display."^^xsd:string ; | 52 | + rdfs:comment "The label of the value."^^xsd:string ; |
| 54 | - spl:predicate <http://spinrdf.org/arg#value> | 53 | + spl:predicate <http://spinrdf.org/arg#name> ; |
| 54 | + spl:valueType xsd:string | ||
| 55 | ] ; | 55 | ] ; |
| 56 | ui:prototype | 56 | ui:prototype |
| 57 | - [ rdf:type html:Div ; | 57 | + [ rdf:type html:Table ; |
| 58 | html:class "nameValuePair"^^xsd:string ; | 58 | html:class "nameValuePair"^^xsd:string ; |
| 59 | ui:child | 59 | ui:child |
| 60 | - [ rdf:type html:Div ; | 60 | + [ rdf:type html:Tr ; |
| 61 | + ui:child | ||
| 62 | + [ rdf:type html:Td ; | ||
| 61 | html:class "nameValueValue"^^xsd:string ; | 63 | html:class "nameValueValue"^^xsd:string ; |
| 62 | ui:child | 64 | ui:child |
| 63 | [ rdf:type ui:TextNode ; | 65 | [ rdf:type ui:TextNode ; |
| ... | @@ -68,7 +70,7 @@ rhswp:NameValuePair | ... | @@ -68,7 +70,7 @@ rhswp:NameValuePair |
| 68 | ui:childIndex 1 | 70 | ui:childIndex 1 |
| 69 | ] ; | 71 | ] ; |
| 70 | ui:child | 72 | ui:child |
| 71 | - [ rdf:type html:Div ; | 73 | + [ rdf:type html:Td ; |
| 72 | html:class "nameValueName"^^xsd:string ; | 74 | html:class "nameValueName"^^xsd:string ; |
| 73 | ui:child | 75 | ui:child |
| 74 | [ rdf:type ui:TextNode ; | 76 | [ rdf:type ui:TextNode ; |
| ... | @@ -77,5 +79,7 @@ rhswp:NameValuePair | ... | @@ -77,5 +79,7 @@ rhswp:NameValuePair |
| 77 | ] | 79 | ] |
| 78 | ] ; | 80 | ] ; |
| 79 | ui:childIndex 0 | 81 | ui:childIndex 0 |
| 82 | + ] ; | ||
| 83 | + ui:childIndex 0 | ||
| 80 | ] | 84 | ] |
| 81 | ] . | 85 | ] . | ... | ... |
www.reportinghub.no/swp/rh.www/ddr.css
0 → 100644
| 1 | +@CHARSET "UTF-8"; | ||
| 2 | + | ||
| 3 | +body { | ||
| 4 | + font-family: sans-serif; | ||
| 5 | + font-family:Tahoma,arial,Helvetica; | ||
| 6 | + font-size:12px; | ||
| 7 | +} | ||
| 8 | + | ||
| 9 | +.ddrSummaryLeft { | ||
| 10 | + vertical-align: top; | ||
| 11 | + width: 50%; | ||
| 12 | +} | ||
| 13 | + | ||
| 14 | +.ddrSummaryRight { | ||
| 15 | + vertical-align: top; | ||
| 16 | + width: 50%; | ||
| 17 | +} | ||
| 18 | + | ||
| 19 | +.nameValuePair { | ||
| 20 | +} | ||
| 21 | + | ||
| 22 | +.nameValueName { | ||
| 23 | + font-weight: bold; | ||
| 24 | + padding-right: 8; | ||
| 25 | + vertical-align: top; | ||
| 26 | + width: 120px; | ||
| 27 | +} | ||
| 28 | + | ||
| 29 | +.nameValueValue { | ||
| 30 | +} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| ... | @@ -32,16 +32,6 @@ a,a:link,a:visited { | ... | @@ -32,16 +32,6 @@ a,a:link,a:visited { |
| 32 | color:#375f82; | 32 | color:#375f82; |
| 33 | } | 33 | } |
| 34 | 34 | ||
| 35 | -.ddrSummaryLeft { | ||
| 36 | - position: absolute; | ||
| 37 | - left: 0; | ||
| 38 | -} | ||
| 39 | - | ||
| 40 | -.ddrSummaryRight { | ||
| 41 | - position: absolute; | ||
| 42 | - right: 0; | ||
| 43 | -} | ||
| 44 | - | ||
| 45 | .formHeader { | 35 | .formHeader { |
| 46 | font-weight: bold; | 36 | font-weight: bold; |
| 47 | } | 37 | } |
| ... | @@ -51,20 +41,3 @@ a,a:link,a:visited { | ... | @@ -51,20 +41,3 @@ a,a:link,a:visited { |
| 51 | width: 950px; | 41 | width: 950px; |
| 52 | height: 106px; | 42 | height: 106px; |
| 53 | } | 43 | } |
| 54 | - | ||
| 55 | -.nameValuePair { | ||
| 56 | -} | ||
| 57 | - | ||
| 58 | -.nameValueName { | ||
| 59 | - font-weight: bold; | ||
| 60 | - position: absolute; | ||
| 61 | - top: 0; | ||
| 62 | - left: 0; | ||
| 63 | - width: 200; | ||
| 64 | -} | ||
| 65 | - | ||
| 66 | -.nameValueValue { | ||
| 67 | - position: absolute; | ||
| 68 | - top: 0; | ||
| 69 | - right: 0; | ||
| 70 | -} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or login to post a comment