David Price

Fixed productVolume transforms 20301a and 20301b and MPRG HTML header to find field name

......@@ -4,17 +4,12 @@ let:activity="{# SELECT ?activity WHERE {?activity a ep-fac:TemporalPartOfAProdu
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:ProductionReport .
?report a ?reportStatus .
?reportStatus a ep-report:ReportVersionStatus .
?reportStatus rdfs:label ?reportStatusLabel .
?productvolumereport ep-core:partOf ?report .
?productvolumereport rdf:type ep-report:ProductVolumeReport .
?productvolumereport ep-report:reportOn ?productioninventorycollection .
?temporalpartofaproductionfacility ep-core:hasSpatialPart ?productioninventorycollection .
?report rdf:type ep-report:MonthlyProductionReportGovernment .
?report ep-report:reportOn ?temporalpartofaproductionfacility .
?temporalpartofaproductionfacility rdf:type ep-fac:TemporalPartOfAProductionFacility .
?temporalpartofaproductionfacility ep-core:temporalPartOf ?productionfacility .
?productionfacility rdf:type ep-fac:Field .
?productvolumereport ep-core:name ?reportedFieldName .
?productionfacility npd:name ?reportedFieldName .
}}"
>
......