David Price

Put Month Ending date in title of report

1 <ui:group 1 <ui:group
2 let:report="{# SELECT ?report WHERE { ?report a ep-report:ProductionReport . } }" 2 let:report="{# SELECT ?report WHERE { ?report a ep-report:ProductionReport . } }"
3 - 3 +let:activity="{# SELECT ?activity WHERE {?activity a ep-fac:TemporalPartOfAProductionFacility . ?report ep-report:reportOn ?activity}}"
4 +let:activityEnd="{# SELECT ?activityEnd WHERE {?activity a ep-fac:TemporalPartOfAProductionFacility . ?report ep-report:reportOn ?activity . ?activity ep-activity:finishedAt ?activityEnd}}"
4 let:reportedFieldName="{# SELECT ?reportedFieldName 5 let:reportedFieldName="{# SELECT ?reportedFieldName
5 WHERE { 6 WHERE {
6 ?report a ep-report:ProductionReport . 7 ?report a ep-report:ProductionReport .
...@@ -15,16 +16,7 @@ WHERE { ...@@ -15,16 +16,7 @@ WHERE {
15 16
16 > 17 >
17 18
18 -<!-- 19 +<h1>Monthly Government Report : {= ?reportedFieldName } Field, Month Ending {= ?activityEnd}</h1>
19 -
20 -let:facilityName="{# SELECT DISTINCT
21 -?productionFlowFacilityName WHERE { ?productionFlow a ep-flow:WholeLifeProductionFlow ; ep-flow:flowIntoOrOutOf ?productionFlowFacility . ?productionFlowFacility npd:name ?productionFlowFacilityName . } }"
22 -
23 --->
24 -
25 -
26 -
27 -<h1>Monthly Government Report : {= ?reportedFieldName } Field {# SELECT ?month WHERE { ?report a ep-report:ProductionReport . ?report ep-report:issuedAt ?month . } }</h1>
28 <h2>Report title : {# SELECT ?title WHERE { ?report a ep-report:ProductionReport . ?report ep-core:name ?title . } }</h2> 20 <h2>Report title : {# SELECT ?title WHERE { ?report a ep-report:ProductionReport . ?report ep-core:name ?title . } }</h2>
29 <h2>Submitted by : {# SELECT ?submittingFieldName WHERE 21 <h2>Submitted by : {# SELECT ?submittingFieldName WHERE
30 { 22 {
......