David Price

Updated crew and beds and added first production operation activities

...@@ -24,7 +24,34 @@ WHERE { ...@@ -24,7 +24,34 @@ WHERE {
24 24
25 } }</h2> 25 } }</h2>
26 26
27 - <dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:WellInformation" /> 27 + <dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:ProductionOperationActivity" />
28 <dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:PersonnelInformation" /> 28 <dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:PersonnelInformation" />
29 29
30 + <table>
31 + <tr><th>Facility</th><th>Total Beds Available</th></tr>
32 + <ui:forEach ui:resultSet="{# SELECT ?facilityName ?beds
33 +WHERE {
34 + ?report a ep-report:ProductionReport .
35 + ?productionOperationReport ep-core:partOf ?productionReport .
36 + ?productionOperationReport a ep-report:ProductionOperationReport .
37 + ?productionOperationReport ep-report:reportOn ?temporalPartOfFacility .
38 + ?temporalPartOfFacility ep-core:temporalPartOf ?productionFacility .
39 + ?productionFacility a ep-fac:Field .
40 + ?productionFacility npd:name ?facilityName .
41 + ?productionOperationInstallationReport ep-core:partOf ?productionOperationReport .
42 + ?productionOperationInstallationReport a ep-report:ProductionOperationInstallationReport .
43 + ?productionOperationInstallationReport ep-report:reportOn ?installationPart .
44 + ?installationPart ep-prodfac:numberOfBedsAvailable ?beds .
45 +}
46 +
47 +}" >
48 + <tr><td>{= ?facilityName }</td><td>{= ?beds}</td></tr>
49 + </ui:forEach>
50 + </table>
51 +
52 +
53 +
54 +
55 +
56 +
30 </ui:group> 57 </ui:group>
...\ No newline at end of file ...\ No newline at end of file
......