Toggle navigation
Toggle navigation
This project
Loading...
Sign in
data.posccaesar.org
/
npd
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Issues
1
Merge Requests
0
Wiki
Network
Create a new issue
Commits
Issue Boards
Authored by
David Price
2012-06-01 00:39:12 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
cf11c9428adb45cb4dd18f42c7b4b70ce4b9f43c
cf11c942
1 parent
4d2d8cab
Improved header incases of different field
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
8 deletions
www.reportinghub.no/swp/MPRG.uispin.html
www.reportinghub.no/swp/MPRG.uispin.html
View file @
cf11c94
<ui:group
let:report=
"{# SELECT ?report WHERE { ?report a ep-report:ProductionReport . } }"
let:
fieldName=
"{# SELECT ?fieldName
let:
reportedFieldName=
"{# SELECT ?reportedFieldName
WHERE {
?report ep-report:reportOn ?fieldPart .
?fieldPart ep-core:temporalPartOf ?field .
?field npd:name ?fieldName .
}
}"
?report a ep-report:ProductionReport .
?productVolumeReport ep-core:partOf ?report .
?productVolumeReport a ep-report:ProductVolumeReport .
?productVolumeReport ep-report:reportOn ?productionFlowsInReportingPeriod .
?productionFlowsInReportingPeriod a ep-flow:ProductionFlow .
?stateOfField ep-flow:facilityContainsFlow ?productionFlowsInReportingPeriod .
?stateOfField ep-core:temporalPartOf ?reportedField .
?reportedField npd:name ?reportedFieldName .
}}"
>
...
...
@@ -20,8 +24,17 @@ let:facilityName="{# SELECT DISTINCT
<h1>
Monthly Government Report : {= ?fieldName } Field
</h1>
<h2>
{# SELECT ?title WHERE { ?report a ep-report:ProductionReport . ?report ep-core:name ?title . } } {# SELECT ?month WHERE { ?report a ep-report:ProductionReport . ?report ep-report:issuedAt ?month . } }
</h2>
<h1>
Monthly Government Report : {= ?reportedFieldName } Field {# SELECT ?month WHERE { ?report a ep-report:ProductionReport . ?report ep-report:issuedAt ?month . } }
</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:reportSubmittedBy ?submittingFieldState .
?submittingFieldState ep-core:temporalPartOf ?submittingField .
?submittingField npd:name ?submittingFieldName .
} }
</h2>
<!-- <ui:forEach ui:resultSet="{#
SELECT
...
...
Please
register
or
login
to post a comment