6b-gas-givenField-M.dong
848 Bytes
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX erhi: <http://www.reportinghub.no/erhi/schema/1.0/interface-model#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
SELECT ?fieldName ?volume ?volumeUnit
WHERE {
?field a erhi:Field;
erhi:npdid "18081500";
erhi:npdname ?fieldName.
?flow erhi:flowIntoOrOutOf ?field;
a erhi:AllocatedFlow, erhi:ProductionExploitation.
?flow erhi:hasProduct ?flowProduct.
?flowProduct erhi:productStartAt ?startProductDate.
?flowProduct erhi:hasTimePeriod "Monthly".
?flowProduct erhi:hasProductKind "gas".
OPTIONAL {
?flowProduct erhi:hasMass ?mass;
erhi:hasMassUnit ?massUnit.
}
OPTIONAL {
?flowProduct erhi:hasVolume ?volume;
erhi:hasVolumeUnit ?volumeUnit.
}
FILTER (?startProductDate >= "2012-01-01"^^xsd:date && ?startProductDate <= "2012-02-01"^^xsd:date)
}