DailyProductionReport.uispin.html
6.84 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
<ui:group
let:report="{# SELECT ?report WHERE { ?report a ep-report:ProductionReport . } }"
let:reportedFieldName="{# SELECT ?reportedFieldName
WHERE {
?report a ep-report:ProductionReport .
?report ep-report:reportOn ?partOfFacility .
?partOfFacility ep-core:temporalPartOf ?reportedField .
?reportedField npd:name ?reportedFieldName .
}}"
>
<h1>Daily Production Report : {= ?reportedFieldName } Field {# SELECT ?day WHERE { ?partOfFacility ep-activity:existsThroughout ?day . } }</h1>
<h2>Report title : {# SELECT ?title WHERE { ?report a ep-report:ProductionReport . ?report ep-core:name ?title . } }</h2>
<h2>Report version : {# SELECT ?reportVersion
WHERE {
?report rdf:type ep-report:ProductionReport .
?report ep-report:reportVersion ?reportVersion .
}}</h2>
<h2>Report Status : {# SELECT ?reportStatusLabel
WHERE {
?report rdf:type ep-report:ProductionReport .
?report a ?reportStatus .
?reportStatus a ep-report:ReportVersionStatus .
?reportStatus rdfs:label ?reportStatusLabel .
}}</h2>
<h2>Submitted by : {# SELECT ?submittingFieldName WHERE
{
?report a ep-report:ProductionReport .
?reportIssueActivity ep-report:issuedReport ?report .
?reportIssueActivity ep-activity:issuedFrom ?submittingFieldState .
?submittingFieldState ep-core:temporalPartOf ?submittingField .
?submittingField npd:name ?submittingFieldName .
} }</h2>
<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:PersonnelInformation" />
<table>
<ui:forEach ui:resultSet="{# SELECT ?facilityName ?beds
WHERE {
?report a ep-report:ProductionReport .
?productionOperationReport ep-core:partOf ?productionReport .
?productionOperationReport a ep-report:ProductionOperationReport .
?productionOperationReport ep-report:reportOn ?temporalPartOfFacility .
?temporalPartOfFacility ep-core:temporalPartOf ?productionFacility .
?productionFacility a ep-fac:Field .
?productionFacility npd:name ?facilityName .
?productionOperationInstallationReport ep-core:partOf ?productionOperationReport .
?productionOperationInstallationReport a ep-report:ProductionOperationInstallationReport .
?productionOperationInstallationReport ep-report:reportOn ?installationPart .
?installationPart ep-prodfac:numberOfBedsAvailable ?beds .
}
}" >
<tr><td>{= ?facilityName }</td><td>{= ?beds}</td><td>Total Beds Available</td></tr>
</ui:forEach>
</table>
<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:HSEInformation" />
<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:SafetyInformation" />
<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:WeatherInformation" />
<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:SeaWeatherInformation" />
<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:OperationInformation" />
<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:ProductionOperationActivity" />
<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:ProductionOperationShutdown" />
<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:ProductionOperationCargoShip" />
<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:ProductionOperationMarine" />
<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:ProductionOperationMarineShip" />
<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:ProductionVolumes" />
<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:ProductFlows" />
<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:InjectionVolumes" />
<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:ProductFlowsInjection" />
<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:ImportVolumes" />
<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:ProductFlowsImport" />
<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:ExportVolumes" />
<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:ProductFlowsExport" />
<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:OtherVolumes" />
<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:ProductFlowsOther" />
<ui:if ui:condition="{# ASK WHERE {
?report a ep-report:ProductionReport .
?wellTestReport ep-core:partOf ?report .
?wellTestReport a ep-report:WellTestReport .
?wellTestReport ep-report:reportOn ?wellTest .
?wellTest a ep-activity:WellTest .
?wellTest ep-core:hasPart ?injectionWellTest .
?injectionWellTest a ep-prodact:InjectionWellTest . } }">
<hr />
<h2>General Well Test Information</h2>
</ui:if>
<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:WellTest" />
<ui:if ui:condition="{# ASK WHERE {
?report a ep-report:ProductionReport .
?wellTestReport ep-core:partOf ?report .
?wellTestReport a ep-report:WellTestReport .
?wellTestReport ep-report:reportOn ?wellTest .
?wellTest a ep-activity:WellTest .
?wellTest ep-core:hasPart ?injectionWellTest .
?injectionWellTest a ep-prodact:InjectionWellTest . } }">
<h2>Well Injection Test Information</h2>
<hr />
</ui:if>
<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:WellInjectionTest" />
<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:WellInjectionTestResults" />
<ui:if ui:condition="{# ASK WHERE {
?report a ep-report:ProductionReport .
?wellTestReport ep-core:partOf ?report .
?wellTestReport a ep-report:WellTestReport . } }">
<h2>Well Fluid Level Test Information</h2>
</ui:if>
<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:WellFluidLevelTest" />
<ui:if ui:condition="{# ASK WHERE {
?report a ep-report:ProductionReport .
?wellTestReport ep-core:partOf ?report .
?wellTestReport a ep-report:WellTestReport .
?wellTestReport ep-report:reportOn ?wellTest .
?wellTest a ep-activity:WellTest .
?wellTest ep-core:hasPart ?wellTestPart .
?wellTestPart a ep-activity:ProductionWellTest .
} }">
<h2>Well Production Test Information</h2>
<hr />
</ui:if>
<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:WellProductionTest" />
<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:WellProductionTestResults" />
<ui:if ui:condition="{# ASK WHERE {
?report a ep-report:ProductionReport .
?fluidSampleReport ep-core:partOf ?report .
?fluidSampleReport a ep-report:FluidSampleReport . } }">
<h2>Fluid Sample Information</h2>
</ui:if>
<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:FluidSamples" />
<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:FluidSampleAnalysisResults" />
</ui:group>