MPRP.uispin.html
2.86 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
<ui:group
let:report="{# SELECT ?report WHERE { ?report a ep-report:MonthlyProductionReportPartner . } }"
let:activity="{# SELECT ?activity WHERE {?activity a ep-fac:TemporalPartOfAProductionFacility . ?report ep-report:reportOn ?activity}}"
let:activityEnd="{# SELECT ?activityEnd WHERE {?activity a ep-fac:TemporalPartOfAProductionFacility . ?report ep-report:reportOn ?activity . ?activity ep-activity:finishedAt ?activityEnd}}"
let:reportedFieldName="{# SELECT ?reportedFieldName
WHERE {
?report rdf:type ep-report:MonthlyProductionReportPartner .
?report ep-report:reportOn ?temporalpartofaproductionfacility .
?temporalpartofaproductionfacility rdf:type ep-fac:TemporalPartOfAProductionFacility .
?temporalpartofaproductionfacility ep-core:temporalPartOf ?productionfacility .
?productionfacility rdf:type ep-fac:Field .
?productionfacility npd:name ?reportedFieldName .
}}"
>
<h1>Monthly Partner Report : {= ?reportedFieldName } Field, Month Ending {= ?activityEnd}</h1>
<h2>Report title : {# SELECT ?title WHERE { ?report a ep-report:MonthlyProductionReportPartner . ?report ep-core:name ?title . } }</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>
<mprpswp:Table arg:report="{= ?report }" arg:template="mpr-tables:GasSales" />
<mprpswp:Table arg:report="{= ?report }" arg:template="mpr-tables:WellProductionFlows" />
<mprpswp:Table arg:report="{= ?report }" arg:template="mpr-tables:Cargo" />
<mprpswp:Table arg:report="{= ?report }" arg:template="mpr-tables:ProductionSales" />
<mprpswp:Table arg:report="{= ?report }" arg:template="mpr-tables:ProductionFlowsAll" />
<mprpswp:Table arg:report="{= ?report }" arg:template="mpr-tables:ProductionInventory" />
<mprpswp:Table arg:report="{= ?report }" arg:template="mpr-tables:ProductionInventoryOwnership" />
<mprpswp:Table arg:report="{= ?report }" arg:template="mpr-tables:FluidSamples" />
<mprpswp:Table arg:report="{= ?report }" arg:template="mpr-tables:FluidSampleAnalysisResults" />
<mprpswp:Table arg:report="{= ?report }" arg:template="mpr-tables:WellTest" />
<mprpswp:Table arg:report="{= ?report }" arg:template="mpr-tables:WellInjectionTest" />
<mprpswp:Table arg:report="{= ?report }" arg:template="mpr-tables:WellInjectionTestResults" />
</ui:group>