Showing
2 changed files
with
221 additions
and
11 deletions
... | @@ -33,10 +33,10 @@ dpr-tables:PersonnelInformation | ... | @@ -33,10 +33,10 @@ dpr-tables:PersonnelInformation |
33 | sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ; | 33 | sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ; |
34 | sp:predicate rdf:type ; | 34 | sp:predicate rdf:type ; |
35 | sp:subject | 35 | sp:subject |
36 | - [ sp:varName "productionReport"^^xsd:string | 36 | + [ sp:varName "report"^^xsd:string |
37 | ] | 37 | ] |
38 | ] [ sp:object | 38 | ] [ sp:object |
39 | - [ sp:varName "productionReport"^^xsd:string | 39 | + [ sp:varName "report"^^xsd:string |
40 | ] ; | 40 | ] ; |
41 | sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ; | 41 | sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ; |
42 | sp:subject | 42 | sp:subject |
... | @@ -129,6 +129,211 @@ dpr-tables:PersonnelInformation | ... | @@ -129,6 +129,211 @@ dpr-tables:PersonnelInformation |
129 | ] ; | 129 | ] ; |
130 | rhspin:tableHeaders ("Facility"^^xsd:string "Crew"^^xsd:string "Crew Type"^^xsd:string) . | 130 | rhspin:tableHeaders ("Facility"^^xsd:string "Crew"^^xsd:string "Crew Type"^^xsd:string) . |
131 | 131 | ||
132 | +dpr-tables:ProductVolumes | ||
133 | + rdf:type rhspin:TableTemplate ; | ||
134 | + rdfs:label "Product Volume List"^^xsd:string ; | ||
135 | + rdfs:subClassOf rhspin:DPRTableTemplates ; | ||
136 | + spin:body | ||
137 | + [ rdf:type sp:Select ; | ||
138 | + sp:orderBy ([ sp:varName "flowInOutFacilityName"^^xsd:string | ||
139 | + ] [ sp:varName "flowPurposeName"^^xsd:string | ||
140 | + ] [ sp:varName "flowDefinitionName"^^xsd:string | ||
141 | + ]) ; | ||
142 | + sp:resultVariables ([ sp:varName "containingWholeFacilityName"^^xsd:string | ||
143 | + ] [ sp:varName "flowInOutFacilityName"^^xsd:string | ||
144 | + ] [ sp:varName "flowPurposeName"^^xsd:string | ||
145 | + ] [ sp:varName "flowDefinitionName"^^xsd:string | ||
146 | + ] [ sp:varName "densityValue"^^xsd:string | ||
147 | + ] [ sp:varName "temperatureValue"^^xsd:string | ||
148 | + ] [ sp:varName "pressureValue"^^xsd:string | ||
149 | + ]) ; | ||
150 | + sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ; | ||
151 | + sp:predicate rdf:type ; | ||
152 | + sp:subject | ||
153 | + [ sp:varName "report"^^xsd:string | ||
154 | + ] | ||
155 | + ] [ sp:object | ||
156 | + [ sp:varName "report"^^xsd:string | ||
157 | + ] ; | ||
158 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ; | ||
159 | + sp:subject | ||
160 | + [ sp:varName "productvolumereport"^^xsd:string | ||
161 | + ] | ||
162 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductVolumeReport> ; | ||
163 | + sp:predicate rdf:type ; | ||
164 | + sp:subject | ||
165 | + [ sp:varName "productvolumereport"^^xsd:string | ||
166 | + ] | ||
167 | + ] [ sp:object | ||
168 | + [ sp:varName "productionflownetwork"^^xsd:string | ||
169 | + ] ; | ||
170 | + sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ; | ||
171 | + sp:subject | ||
172 | + [ sp:varName "productvolumereport"^^xsd:string | ||
173 | + ] | ||
174 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowNetwork> ; | ||
175 | + sp:predicate rdf:type ; | ||
176 | + sp:subject | ||
177 | + [ sp:varName "productionflownetwork"^^xsd:string | ||
178 | + ] | ||
179 | + ] [ sp:object | ||
180 | + [ sp:varName "flow"^^xsd:string | ||
181 | + ] ; | ||
182 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasNetworkPart> ; | ||
183 | + sp:subject | ||
184 | + [ sp:varName "productionflownetwork"^^xsd:string | ||
185 | + ] | ||
186 | + ] [ sp:object | ||
187 | + [ sp:varName "productionflownetwork"^^xsd:string | ||
188 | + ] ; | ||
189 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ; | ||
190 | + sp:subject | ||
191 | + [ sp:varName "productionflownetworkFacility"^^xsd:string | ||
192 | + ] | ||
193 | + ] [ sp:object | ||
194 | + [ sp:varName "containingWholeFacility"^^xsd:string | ||
195 | + ] ; | ||
196 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
197 | + sp:subject | ||
198 | + [ sp:varName "productionflownetworkFacility"^^xsd:string | ||
199 | + ] | ||
200 | + ] [ sp:object | ||
201 | + [ sp:varName "containingWholeFacilityName"^^xsd:string | ||
202 | + ] ; | ||
203 | + sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; | ||
204 | + sp:subject | ||
205 | + [ sp:varName "containingWholeFacility"^^xsd:string | ||
206 | + ] | ||
207 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlow> ; | ||
208 | + sp:predicate rdf:type ; | ||
209 | + sp:subject | ||
210 | + [ sp:varName "flow"^^xsd:string | ||
211 | + ] | ||
212 | + ] [ sp:object | ||
213 | + [ sp:varName "flowWhole"^^xsd:string | ||
214 | + ] ; | ||
215 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
216 | + sp:subject | ||
217 | + [ sp:varName "flow"^^xsd:string | ||
218 | + ] | ||
219 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#WholeLifeProductionFlow> ; | ||
220 | + sp:predicate rdf:type ; | ||
221 | + sp:subject | ||
222 | + [ sp:varName "flowWhole"^^xsd:string | ||
223 | + ] | ||
224 | + ] [ sp:object | ||
225 | + [ sp:varName "flowInOutFacility"^^xsd:string | ||
226 | + ] ; | ||
227 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf> ; | ||
228 | + sp:subject | ||
229 | + [ sp:varName "flowWhole"^^xsd:string | ||
230 | + ] | ||
231 | + ] [ sp:object | ||
232 | + [ sp:varName "flowInOutFacilityName"^^xsd:string | ||
233 | + ] ; | ||
234 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ; | ||
235 | + sp:subject | ||
236 | + [ sp:varName "flowInOutFacility"^^xsd:string | ||
237 | + ] | ||
238 | + ] [ sp:object | ||
239 | + [ sp:varName "flowPurpose"^^xsd:string | ||
240 | + ] ; | ||
241 | + sp:predicate rdf:type ; | ||
242 | + sp:subject | ||
243 | + [ sp:varName "flowWhole"^^xsd:string | ||
244 | + ] | ||
245 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowPurposeType> ; | ||
246 | + sp:predicate rdf:type ; | ||
247 | + sp:subject | ||
248 | + [ sp:varName "flowPurpose"^^xsd:string | ||
249 | + ] | ||
250 | + ] [ sp:object | ||
251 | + [ sp:varName "flowPurposeName"^^xsd:string | ||
252 | + ] ; | ||
253 | + sp:predicate rdfs:label ; | ||
254 | + sp:subject | ||
255 | + [ sp:varName "flowPurpose"^^xsd:string | ||
256 | + ] | ||
257 | + ] [ sp:object | ||
258 | + [ sp:varName "flowDefinition"^^xsd:string | ||
259 | + ] ; | ||
260 | + sp:predicate rdf:type ; | ||
261 | + sp:subject | ||
262 | + [ sp:varName "flowWhole"^^xsd:string | ||
263 | + ] | ||
264 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowDefinitionType> ; | ||
265 | + sp:predicate rdf:type ; | ||
266 | + sp:subject | ||
267 | + [ sp:varName "flowDefinition"^^xsd:string | ||
268 | + ] | ||
269 | + ] [ sp:object | ||
270 | + [ sp:varName "flowDefinitionName"^^xsd:string | ||
271 | + ] ; | ||
272 | + sp:predicate rdfs:label ; | ||
273 | + sp:subject | ||
274 | + [ sp:varName "flowDefinition"^^xsd:string | ||
275 | + ] | ||
276 | + ] [ sp:object | ||
277 | + [ sp:varName "temperature"^^xsd:string | ||
278 | + ] ; | ||
279 | + sp:predicate rdf:type ; | ||
280 | + sp:subject | ||
281 | + [ sp:varName "flow"^^xsd:string | ||
282 | + ] | ||
283 | + ] [ sp:object | ||
284 | + [ sp:varName "density"^^xsd:string | ||
285 | + ] ; | ||
286 | + sp:predicate rdf:type ; | ||
287 | + sp:subject | ||
288 | + [ sp:varName "flow"^^xsd:string | ||
289 | + ] | ||
290 | + ] [ sp:object | ||
291 | + [ sp:varName "pressure"^^xsd:string | ||
292 | + ] ; | ||
293 | + sp:predicate rdf:type ; | ||
294 | + sp:subject | ||
295 | + [ sp:varName "flow"^^xsd:string | ||
296 | + ] | ||
297 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Pressure> ; | ||
298 | + sp:predicate rdf:type ; | ||
299 | + sp:subject | ||
300 | + [ sp:varName "pressure"^^xsd:string | ||
301 | + ] | ||
302 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Density> ; | ||
303 | + sp:predicate rdf:type ; | ||
304 | + sp:subject | ||
305 | + [ sp:varName "density"^^xsd:string | ||
306 | + ] | ||
307 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Temperature> ; | ||
308 | + sp:predicate rdf:type ; | ||
309 | + sp:subject | ||
310 | + [ sp:varName "temperature"^^xsd:string | ||
311 | + ] | ||
312 | + ] [ sp:object | ||
313 | + [ sp:varName "temperatureValue"^^xsd:string | ||
314 | + ] ; | ||
315 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#kelvin> ; | ||
316 | + sp:subject | ||
317 | + [ sp:varName "temperature"^^xsd:string | ||
318 | + ] | ||
319 | + ] [ sp:object | ||
320 | + [ sp:varName "pressureValue"^^xsd:string | ||
321 | + ] ; | ||
322 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#pascal> ; | ||
323 | + sp:subject | ||
324 | + [ sp:varName "pressure"^^xsd:string | ||
325 | + ] | ||
326 | + ] [ sp:object | ||
327 | + [ sp:varName "densityValue"^^xsd:string | ||
328 | + ] ; | ||
329 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#kilogram_m-3> ; | ||
330 | + sp:subject | ||
331 | + [ sp:varName "density"^^xsd:string | ||
332 | + ] | ||
333 | + ]) | ||
334 | + ] ; | ||
335 | + rhspin:tableHeaders ("Field"^^xsd:string "Facility Name"^^xsd:string "Flow Purpose"^^xsd:string "Flow Definition"^^xsd:string "Density"^^xsd:string "Pressure"^^xsd:string "Temperature"^^xsd:string) . | ||
336 | + | ||
132 | dpr-tables:ProductionOperationActivity | 337 | dpr-tables:ProductionOperationActivity |
133 | rdf:type rhspin:TableTemplate ; | 338 | rdf:type rhspin:TableTemplate ; |
134 | rdfs:label "Production Operation Activities"^^xsd:string ; | 339 | rdfs:label "Production Operation Activities"^^xsd:string ; |
... | @@ -147,10 +352,10 @@ dpr-tables:ProductionOperationActivity | ... | @@ -147,10 +352,10 @@ dpr-tables:ProductionOperationActivity |
147 | sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ; | 352 | sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ; |
148 | sp:predicate rdf:type ; | 353 | sp:predicate rdf:type ; |
149 | sp:subject | 354 | sp:subject |
150 | - [ sp:varName "productionReport"^^xsd:string | 355 | + [ sp:varName "report"^^xsd:string |
151 | ] | 356 | ] |
152 | ] [ sp:object | 357 | ] [ sp:object |
153 | - [ sp:varName "productionReport"^^xsd:string | 358 | + [ sp:varName "report"^^xsd:string |
154 | ] ; | 359 | ] ; |
155 | sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ; | 360 | sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ; |
156 | sp:subject | 361 | sp:subject |
... | @@ -339,10 +544,10 @@ dpr-tables:WellInjectionTest | ... | @@ -339,10 +544,10 @@ dpr-tables:WellInjectionTest |
339 | sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ; | 544 | sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ; |
340 | sp:predicate rdf:type ; | 545 | sp:predicate rdf:type ; |
341 | sp:subject | 546 | sp:subject |
342 | - [ sp:varName "productionReport"^^xsd:string | 547 | + [ sp:varName "report"^^xsd:string |
343 | ] | 548 | ] |
344 | ] [ sp:object | 549 | ] [ sp:object |
345 | - [ sp:varName "productionReport"^^xsd:string | 550 | + [ sp:varName "report"^^xsd:string |
346 | ] ; | 551 | ] ; |
347 | sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ; | 552 | sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ; |
348 | sp:subject | 553 | sp:subject |
... | @@ -613,10 +818,10 @@ dpr-tables:WellInjectionTestResults | ... | @@ -613,10 +818,10 @@ dpr-tables:WellInjectionTestResults |
613 | sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ; | 818 | sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ; |
614 | sp:predicate rdf:type ; | 819 | sp:predicate rdf:type ; |
615 | sp:subject | 820 | sp:subject |
616 | - [ sp:varName "productionReport"^^xsd:string | 821 | + [ sp:varName "report"^^xsd:string |
617 | ] | 822 | ] |
618 | ] [ sp:object | 823 | ] [ sp:object |
619 | - [ sp:varName "productionReport"^^xsd:string | 824 | + [ sp:varName "report"^^xsd:string |
620 | ] ; | 825 | ] ; |
621 | sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ; | 826 | sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ; |
622 | sp:subject | 827 | sp:subject | ... | ... |
... | @@ -23,10 +23,9 @@ WHERE { | ... | @@ -23,10 +23,9 @@ WHERE { |
23 | ?submittingField npd:name ?submittingFieldName . | 23 | ?submittingField npd:name ?submittingFieldName . |
24 | 24 | ||
25 | } }</h2> | 25 | } }</h2> |
26 | - | ||
27 | - <dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:ProductionOperationActivity" /> | ||
28 | - <dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:PersonnelInformation" /> | ||
29 | 26 | ||
27 | + <dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:PersonnelInformation" /> | ||
28 | + | ||
30 | <table> | 29 | <table> |
31 | <tr><th>Facility</th><th>Total Beds Available</th></tr> | 30 | <tr><th>Facility</th><th>Total Beds Available</th></tr> |
32 | <ui:forEach ui:resultSet="{# SELECT ?facilityName ?beds | 31 | <ui:forEach ui:resultSet="{# SELECT ?facilityName ?beds |
... | @@ -48,6 +47,12 @@ WHERE { | ... | @@ -48,6 +47,12 @@ WHERE { |
48 | <tr><td>{= ?facilityName }</td><td>{= ?beds}</td></tr> | 47 | <tr><td>{= ?facilityName }</td><td>{= ?beds}</td></tr> |
49 | </ui:forEach> | 48 | </ui:forEach> |
50 | </table> | 49 | </table> |
50 | + | ||
51 | + <dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:ProductionOperationActivity" /> | ||
52 | + | ||
53 | + <dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:ProductVolumes" /> | ||
54 | + | ||
55 | + | ||
51 | <hr /> | 56 | <hr /> |
52 | <h2>General Well Test Information</h2> | 57 | <h2>General Well Test Information</h2> |
53 | 58 | ... | ... |
-
Please register or login to post a comment