DailyProductionReport.uispin.html 1.08 KB
<ui:group 
let:report="{# SELECT ?report WHERE { ?report a ep-report:ProductionReport . } }"

let:reportedFieldName="{# SELECT ?reportedFieldName
WHERE { 
 ?report a ep-report:ProductionReport .

    ?report ep-report:reportOn ?partOfFacility .
    ?partOfFacility ep-core:temporalPartOf ?reportedField .
    ?reportedField npd:name ?reportedFieldName .
}}"
 
>

<h1>Daily Production Report : {= ?reportedFieldName } Field {# SELECT ?day WHERE { ?partOfFacility ep-activity:existsThroughout ?day . } }</h1>
<h2>Report title : {# SELECT ?title WHERE { ?report a ep-report:ProductionReport . ?report ep-core:name ?title . } }</h2>
<h2>Submitted by : {# SELECT ?submittingFieldName WHERE 
{ 

?report a ep-report:ProductionReport . 
?report ep-report:reportSubmittedFrom ?submittingFieldState . 
?submittingFieldState ep-core:temporalPartOf ?submittingField .
?submittingField npd:name ?submittingFieldName .

} }</h2>
		
	<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:WellInformation" />
	<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:PersonnelInformation" />
	
</ui:group>