Holger Knublauch

Download page now has simply list selection box

<html>
<html xmlns:npd="http://www.reportinghub.no/schema/npd#">
<head>
<title>ReportingHub - Download DDR</title>
<link rel="stylesheet" type="text/css" href="lib/rh/rh.css" />
......@@ -13,13 +13,44 @@
<rhswp:Header />
<h3>Download a Daily Drilling Report</h3>
<p>
<form action="ddrFileDownload">
Well Bore:<br />
<select size="15">
<ui:forEach ui:resultSet="{#
SELECT ?well ?wellName
WHERE {
GRAPH &lt;https://www.reportinghub.no/data/npd&gt; {
?well a npd:Well .
?well npd:name ?wellName .
}
} ORDER BY ?wellName
}">
<optgroup label="{= ?wellName }">
<ui:forEach ui:resultSet="{#
SELECT ?wellBore ?wellBoreName
WHERE {
GRAPH &lt;https://www.reportinghub.no/data/npd&gt; {
?wellBore npd:partOfWell ?well .
?wellBore npd:name ?wellBoreName .
}
} ORDER By ?wellBoreName
}">
<option value="{= xsd:string(?wellBore) }">{= ?wellBoreName }</option>
</ui:forEach>
</optgroup>
</ui:forEach>
</select>
<br /><br />
Date: <input type="text" id="datepicker" />
<script>
$(function() {
$("#datepicker").datepicker();
});
</script>
</p>
&nbsp;
<input type="submit" value="Download" />
</form>
</body>
</html>
\ No newline at end of file
......
# Saved by TopBraid on Thu Jul 21 13:12:45 EST 2011
# Saved by TopBraid on Tue Jul 26 13:13:38 EST 2011
# baseURI: http://www.reportinghub.no/spin/rh
# imports: http://www.reportinghub.no/1.1,1/schema/ddr
# imports: http://spinrdf.org/spin
@prefix owl: <http://www.w3.org/2002/07/owl#> .
......@@ -13,8 +14,8 @@
<http://www.reportinghub.no/spin/rh>
rdf:type owl:Ontology ;
rdfs:comment "A collection of SPIN functions to support working with the ReportingHub schemas."^^xsd:string ;
owl:imports <http://spinrdf.org/spin> ;
rdfs:comment "A collection of SPIN functions and templates to support working with the ReportingHub schemas."^^xsd:string ;
owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/1.1,1/schema/ddr> ;
owl:versionInfo "0.1.0"^^xsd:string .
rhspin:userName
......
# Saved by TopBraid on Thu Jul 21 13:12:45 EST 2011
# Saved by TopBraid on Tue Jul 26 13:13:38 EST 2011
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......