David Price

Survey Station section done

# Saved by TopBraid on Mon Sep 26 14:05:37 BST 2011
# Saved by TopBraid on Mon Sep 26 15:36:29 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/activity-purpose> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/spin/rh> , <http://www.reportinghub.no/ep/schema/1.0/ddr> ;
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:versionInfo "0.1.0"^^xsd:string .
ddr-tables:BitRecord
......@@ -1052,56 +1052,61 @@ ddr-tables:SurveyStation
rdfs:subClassOf rhspin:DDRTableTemplates ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables ([ sp:varName "depthmMD"^^xsd:string
] [ sp:varName "depthmTVD"^^xsd:string
] [ sp:varName "inclination"^^xsd:string
] [ sp:varName "azimuth"^^xsd:string
]) ;
sp:where ([ sp:object _:b128 ;
sp:resultVariables (_:b128 _:b129 _:b130 _:b131) ;
sp:where ([ sp:object _:b132 ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
sp:subject
[ sp:varName "report"^^xsd:string
]
] [ sp:object _:b129 ;
] [ sp:object _:b133 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
sp:subject _:b128
] [ sp:object
[ sp:varName "startTime"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
sp:subject _:b129
] [ sp:object
[ sp:varName "endTime"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject _:b129
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b130 ;
sp:predicate rdf:type ;
sp:subject _:b129
] [ sp:object <http://www.reportinghub.no/ep/schema/activity-purpose#DailyDrillingActivityPurposeType> ;
sp:subject _:b132
] [ sp:object <http://www.reportinghub.no/ep/schema/activity#WellBoreDirectionalSurvey> ;
sp:predicate rdf:type ;
sp:subject _:b130
sp:subject _:b133
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b134 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b133
] [ sp:object _:b135 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#azimuth> ;
sp:subject _:b134
] [ sp:object _:b131 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#undefinedScale> ;
sp:subject _:b135
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b131 ;
sp:elements ([ sp:object _:b134 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b129
] [ sp:object _:b132 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#finalBottomHoleMeasuredDepth> ;
sp:subject _:b131
] [ sp:object
[ sp:varName "endDepth"^^xsd:string
] ;
sp:subject _:b133
] [ sp:object _:b136 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#measuredDepth> ;
sp:subject _:b134
] [ sp:object _:b128 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#undefinedScale> ;
sp:subject _:b132
sp:subject _:b136
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "comments"^^xsd:string
] ;
sp:predicate rdfs:comment ;
sp:subject _:b129
sp:elements ([ sp:object _:b134 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b133
] [ sp:object _:b137 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#trueVerticalDepth> ;
sp:subject _:b134
] [ sp:object _:b129 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#undefinedScale> ;
sp:subject _:b137
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b134 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b133
] [ sp:object _:b138 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#inclination> ;
sp:subject _:b134
] [ sp:object _:b130 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#undefinedScale> ;
sp:subject _:b138
])
])
] ;
......@@ -1113,8 +1118,8 @@ ddr-tables:WellControlIncident
rdfs:subClassOf rhspin:DDRTableTemplates ;
spin:body
[ rdf:type sp:Select ;
sp:orderBy (_:b133) ;
sp:resultVariables (_:b133 [ sp:varName "depthOfWell"^^xsd:string
sp:orderBy (_:b139) ;
sp:resultVariables (_:b139 [ sp:varName "depthOfWell"^^xsd:string
] [ sp:varName "lostTime"^^xsd:string
] [ sp:varName "timeForWellControlRegain"^^xsd:string
] [ sp:varName "depthAtBit"^^xsd:string
......@@ -1129,51 +1134,51 @@ ddr-tables:WellControlIncident
] [ sp:varName "formation"^^xsd:string
] [ sp:varName "bHT"^^xsd:string
]) ;
sp:where ([ sp:object _:b134 ;
sp:where ([ sp:object _:b140 ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
sp:subject
[ sp:varName "report"^^xsd:string
]
] [ sp:object _:b135 ;
] [ sp:object _:b141 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
sp:subject _:b134
sp:subject _:b140
] [ sp:object
[ sp:varName "startTime"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
sp:subject _:b135
sp:subject _:b141
] [ sp:object
[ sp:varName "endTime"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject _:b135
sp:subject _:b141
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b136 ;
sp:elements ([ sp:object _:b142 ;
sp:predicate rdf:type ;
sp:subject _:b135
sp:subject _:b141
] [ sp:object <http://www.reportinghub.no/ep/schema/activity-purpose#DailyDrillingActivityPurposeType> ;
sp:predicate rdf:type ;
sp:subject _:b136
sp:subject _:b142
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b137 ;
sp:elements ([ sp:object _:b143 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b135
] [ sp:object _:b138 ;
sp:subject _:b141
] [ sp:object _:b144 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#finalBottomHoleMeasuredDepth> ;
sp:subject _:b137
sp:subject _:b143
] [ sp:object
[ sp:varName "endDepth"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#undefinedScale> ;
sp:subject _:b138
sp:subject _:b144
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "comments"^^xsd:string
] ;
sp:predicate rdfs:comment ;
sp:subject _:b135
sp:subject _:b141
])
])
] ;
......@@ -1185,8 +1190,8 @@ ddr-tables:WellTestInformation
rdfs:subClassOf rhspin:DDRTableTemplates ;
spin:body
[ rdf:type sp:Select ;
sp:orderBy (_:b139) ;
sp:resultVariables (_:b139 [ sp:varName "testNo"^^xsd:string
sp:orderBy (_:b145) ;
sp:resultVariables (_:b145 [ sp:varName "testNo"^^xsd:string
] [ sp:varName "type"^^xsd:string
] [ sp:varName "depthTopmMD"^^xsd:string
] [ sp:varName "depthBottommMD"^^xsd:string
......@@ -1204,107 +1209,92 @@ ddr-tables:WellTestInformation
] [ sp:varName "cO2Content"^^xsd:string
] [ sp:varName "h2SContent"^^xsd:string
]) ;
sp:where ([ sp:object _:b140 ;
sp:where ([ sp:object _:b146 ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
sp:subject
[ sp:varName "report"^^xsd:string
]
] [ sp:object _:b141 ;
] [ sp:object _:b147 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
sp:subject _:b140
sp:subject _:b146
] [ sp:object
[ sp:varName "startTime"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
sp:subject _:b141
sp:subject _:b147
] [ sp:object
[ sp:varName "endTime"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject _:b141
sp:subject _:b147
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b142 ;
sp:elements ([ sp:object _:b148 ;
sp:predicate rdf:type ;
sp:subject _:b141
sp:subject _:b147
] [ sp:object <http://www.reportinghub.no/ep/schema/activity-purpose#DailyDrillingActivityPurposeType> ;
sp:predicate rdf:type ;
sp:subject _:b142
sp:subject _:b148
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b143 ;
sp:elements ([ sp:object _:b149 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b141
] [ sp:object _:b144 ;
sp:subject _:b147
] [ sp:object _:b150 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#finalBottomHoleMeasuredDepth> ;
sp:subject _:b143
sp:subject _:b149
] [ sp:object
[ sp:varName "endDepth"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#undefinedScale> ;
sp:subject _:b144
sp:subject _:b150
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "comments"^^xsd:string
] ;
sp:predicate rdfs:comment ;
sp:subject _:b141
sp:subject _:b147
])
])
] ;
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) .
_:b144
_:b150
sp:varName "ed"^^xsd:string .
_:b143
_:b149
sp:varName "wellbore"^^xsd:string .
_:b142
_:b148
sp:varName "activity"^^xsd:string .
_:b141
_:b147
sp:varName "part"^^xsd:string .
_:b140
_:b146
sp:varName "reportOn"^^xsd:string .
_:b139
_:b145
sp:varName "time"^^xsd:string .
_:b138
_:b144
sp:varName "ed"^^xsd:string .
_:b137
_:b143
sp:varName "wellbore"^^xsd:string .
_:b136
_:b142
sp:varName "activity"^^xsd:string .
_:b135
_:b141
sp:varName "part"^^xsd:string .
_:b134
_:b140
sp:varName "reportOn"^^xsd:string .
_:b133
_:b139
sp:varName "date"^^xsd:string .
_:b132
sp:varName "ed"^^xsd:string .
_:b131
sp:varName "wellbore"^^xsd:string .
_:b130
sp:varName "activity"^^xsd:string .
_:b129
sp:varName "part"^^xsd:string .
_:b128
sp:varName "reportOn"^^xsd:string .
_:b127
sp:varName "ed"^^xsd:string .
......@@ -1676,3 +1666,36 @@ _:b3 sp:varName "activity"^^xsd:string .
_:b2 sp:varName "part"^^xsd:string .
_:b1 sp:varName "reportOn"^^xsd:string .
_:b132
sp:varName "reportOn"^^xsd:string .
_:b133
sp:varName "part"^^xsd:string .
_:b134
sp:varName "wellbore"^^xsd:string .
_:b135
sp:varName "azi"^^xsd:string .
_:b131
sp:varName "azimuth"^^xsd:string .
_:b136
sp:varName "md"^^xsd:string .
_:b128
sp:varName "depthmMD"^^xsd:string .
_:b137
sp:varName "tvd"^^xsd:string .
_:b129
sp:varName "depthmTVD"^^xsd:string .
_:b138
sp:varName "incl"^^xsd:string .
_:b130
sp:varName "inclination"^^xsd:string .
......
# Saved by TopBraid on Mon Sep 26 14:05:38 BST 2011
# Saved by TopBraid on Mon Sep 26 15:36:29 BST 2011
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......