David Price

Started Well Test Info

# Saved by TopBraid on Tue Sep 27 12:18:48 BST 2011
# Saved by TopBraid on Tue Sep 27 12:31:54 BST 2011
# baseURI: http://www.reportinghub.no/ep/spin/ddr-tables
# imports: http://www.reportinghub.no/ep/schema/1.0/activity-purpose
# imports: http://www.reportinghub.no/ep/schema/1.0/ddr
......@@ -20,7 +20,7 @@
<http://www.reportinghub.no/ep/spin/ddr-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/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:imports <http://www.reportinghub.no/ep/schema/1.0/activity-purpose> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/spin/rh> , <http://www.reportinghub.no/ep/schema/1.0/ddr> ;
owl:versionInfo "0.1.0"^^xsd:string .
ddr-tables:BitRecord
......@@ -1309,8 +1309,7 @@ ddr-tables:WellTestInformation
spin:body
[ rdf:type sp:Select ;
sp:orderBy (_:b185) ;
sp:resultVariables (_:b185 [ sp:varName "testNo"^^xsd:string
] [ sp:varName "type"^^xsd:string
sp:resultVariables (_:b185 _:b186 [ sp:varName "type"^^xsd:string
] [ sp:varName "depthTopmMD"^^xsd:string
] [ sp:varName "depthBottommMD"^^xsd:string
] [ sp:varName "chokeOrifaceSize"^^xsd:string
......@@ -1327,36 +1326,26 @@ ddr-tables:WellTestInformation
] [ sp:varName "cO2Content"^^xsd:string
] [ sp:varName "h2SContent"^^xsd:string
]) ;
sp:where ([ sp:object _:b186 ;
sp:where ([ sp:object _:b187 ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
sp:subject
[ sp:varName "report"^^xsd:string
]
] [ sp:object _:b187 ;
] [ sp:object _:b188 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
sp:subject _:b186
] [ sp:object
[ sp:varName "startTime"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
sp:subject _:b187
] [ sp:object
[ sp:varName "endTime"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject _:b187
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b188 ;
sp:predicate rdf:type ;
sp:subject _:b187
] [ sp:object <http://www.reportinghub.no/ep/schema/activity-purpose#DailyDrillingActivityPurposeType> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/activity#WellTest> ;
sp:predicate rdf:type ;
sp:subject _:b188
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b186 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#wellTestNumber> ;
sp:subject _:b188
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b189 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b187
sp:subject _:b188
] [ sp:object _:b190 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#finalBottomHoleMeasuredDepth> ;
sp:subject _:b189
......@@ -1366,35 +1355,10 @@ ddr-tables:WellTestInformation
sp:predicate <http://www.reportinghub.no/ep/schema/core#undefinedScale> ;
sp:subject _:b190
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "comments"^^xsd:string
] ;
sp:predicate rdfs:comment ;
sp:subject _:b187
])
])
] ;
rhspin:tableHeaders ("Time"^^xsd:string "Test no"^^xsd:string "Type"^^xsd:string "Depth Top mMD"^^xsd:string "Depth Bottom mMD"^^xsd:string "Choke oriface Size mm"^^xsd:string "Density crude oil g/cm3"^^xsd:string "Oil flow rate m3/d"^^xsd:string "Gas flow rate M(m3)/d"^^xsd:string "Water flow rate m3/d"^^xsd:string "Shut in pressure MPa"^^xsd:string "Flow pressure MPa"^^xsd:string "Bottom hole pressure MPa"^^xsd:string "Gas oil ratio m3/m3"^^xsd:string "Water oil ratio m3/m3"^^xsd:string "Chloride content ppm"^^xsd:string "CO2 content ppm"^^xsd:string "H2S content ppm"^^xsd:string) .
_:b190
sp:varName "ed"^^xsd:string .
_:b189
sp:varName "wellbore"^^xsd:string .
_:b188
sp:varName "activity"^^xsd:string .
_:b187
sp:varName "part"^^xsd:string .
_:b186
sp:varName "reportOn"^^xsd:string .
_:b185
sp:varName "time"^^xsd:string .
_:b184
sp:varName "ed"^^xsd:string .
......@@ -1497,6 +1461,45 @@ _:b152
_:b151
sp:varName "time"^^xsd:string .
_:b150
sp:varName "bottomTVD"^^xsd:string .
_:b149
sp:varName "topTVD"^^xsd:string .
_:b148
sp:varName "bottomMD"^^xsd:string .
_:b147
sp:varName "topMD"^^xsd:string .
_:b146
sp:varName "perfWb"^^xsd:string .
_:b145
sp:varName "perfInterval"^^xsd:string .
_:b144
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b143
sp:varName "bottomOfPerfmTVD"^^xsd:string .
_:b142
sp:varName "topOfPerfmTVD"^^xsd:string .
_:b141
sp:varName "bottomOfPerfmMD"^^xsd:string .
_:b140
sp:varName "topOfPerfmMD"^^xsd:string .
_:b139
sp:varName "timeOfClosingWellPerf"^^xsd:string .
_:b138
sp:varName "timeOfOpeningWellPerf"^^xsd:string .
_:b137
sp:varName "ed"^^xsd:string .
......@@ -1899,41 +1902,20 @@ _:b2 sp:varName "runNo"^^xsd:string .
_:b1 sp:varName "bitSize"^^xsd:string .
_:b143
sp:varName "bottomOfPerfmTVD"^^xsd:string .
_:b150
sp:varName "bottomTVD"^^xsd:string .
_:b142
sp:varName "topOfPerfmTVD"^^xsd:string .
_:b149
sp:varName "topTVD"^^xsd:string .
_:b141
sp:varName "bottomOfPerfmMD"^^xsd:string .
_:b148
sp:varName "bottomMD"^^xsd:string .
_:b140
sp:varName "topOfPerfmMD"^^xsd:string .
_:b147
sp:varName "topMD"^^xsd:string .
_:b185
sp:varName "time"^^xsd:string .
_:b146
sp:varName "perfWb"^^xsd:string .
_:b190
sp:varName "ed"^^xsd:string .
_:b138
sp:varName "timeOfOpeningWellPerf"^^xsd:string .
_:b189
sp:varName "wellbore"^^xsd:string .
_:b139
sp:varName "timeOfClosingWellPerf"^^xsd:string .
_:b186
sp:varName "testNo"^^xsd:string .
_:b145
sp:varName "perfInterval"^^xsd:string .
_:b188
sp:varName "part"^^xsd:string .
_:b144
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b187
sp:varName "reportOn"^^xsd:string .
......