MonkeyChap

Started to work on HTML reporting - still needs attention

1 -# Saved by TopBraid on Fri Oct 14 14:49:32 BST 2011 1 +# Saved by TopBraid on Fri Oct 14 17:19:24 BST 2011
2 # baseURI: null 2 # baseURI: null
3 3
4 @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . 4 @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......
1 -<ui:group> 1 +<ui:group
2 + let:report="{# SELECT ?report WHERE {?report a ep-prodreport:DailyProductionReport }}"
3 + let:mainAct="{# SELECT ?mainAct WHERE {?report a ep-prodreport:DailyProductionReport . ?report ep-report:reportOn ?mainAct}}"
4 + let:mainAct="{# SELECT ?mainAct WHERE {?report a ep-prodreport:DailyProductionReport . ?report ep-report:reportOn ?mainAct}}"
5 + let:opCo="{# SELECT ?opCo WHERE {?report a ep-prodreport:DailyProductionReport . ?report ep-report:reportOn ?mainAct . ?mainAct ep-prodact:involvement ?opCo}}"
6 + >
7 + <h1>Daily Production Report: {# SELECT ?mfName WHERE {?mainFac rdfs:label ?mfName}}</h1>
8 + <h2>Operating Company: {# SELECT ?ocName WHERE {?opCo rdfs:label ?ocName}}</h2>
2 9
3 - <h1>DPR</h1>
4 <hr /> 10 <hr />
5 11
6 <dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:WellInformation" /> 12 <dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:WellInformation" />
......