David Price

Put Month Ending date in title of report

<ui:group
let:report="{# SELECT ?report WHERE { ?report a ep-report:ProductionReport . } }"
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 a ep-report:ProductionReport .
......@@ -15,16 +16,7 @@ WHERE {
>
<!--
let:facilityName="{# SELECT DISTINCT
?productionFlowFacilityName WHERE { ?productionFlow a ep-flow:WholeLifeProductionFlow ; ep-flow:flowIntoOrOutOf ?productionFlowFacility . ?productionFlowFacility npd:name ?productionFlowFacilityName . } }"
-->
<h1>Monthly Government Report : {= ?reportedFieldName } Field {# SELECT ?month WHERE { ?report a ep-report:ProductionReport . ?report ep-report:issuedAt ?month . } }</h1>
<h1>Monthly Government Report : {= ?reportedFieldName } Field, Month Ending {= ?activityEnd}</h1>
<h2>Report title : {# SELECT ?title WHERE { ?report a ep-report:ProductionReport . ?report ep-core:name ?title . } }</h2>
<h2>Submitted by : {# SELECT ?submittingFieldName WHERE
{
......