Strabon
changeset 1315:9bfbe553dfec
Inserted 2 new queries and fixxed the results position in the window for describe.
author | George Stamoulis <gstam@di.uoa.gr> |
---|---|
date | Mon Mar 17 13:48:53 2014 +0200 (2014-03-17) |
parents | 3e3fe6213ac1 |
children | 6e2c60cee963 |
files | endpoint/WebContent/WEB-INF/beans.xml endpoint/WebContent/describe.jsp |
line diff
1.1 --- a/endpoint/WebContent/WEB-INF/beans.xml Tue Mar 11 10:50:45 2014 +0200 1.2 +++ b/endpoint/WebContent/WEB-INF/beans.xml Mon Mar 17 13:48:53 2014 +0200 1.3 @@ -196,7 +196,44 @@ 1.4 <!-- Hander (plain, download, map or map_local)--> 1.5 <value>Plain</value> 1.6 </list> 1.7 - 1.8 + 1.9 + <list> 1.10 + <!-- Bean --> 1.11 + <value>Query</value> 1.12 + <!-- Format --> 1.13 + <value>HTML</value> 1.14 + <!-- Label --> 1.15 + <value>Find the number of triples that appear in the dataset.</value> 1.16 + <!-- Statement --> 1.17 + <value><![CDATA[SELECT (COUNT(?s) AS ?NumOfTriples) 1.18 +WHERE { 1.19 + ?s ?p ?o 1.20 +} 1.21 +]]></value> 1.22 + <!-- Description --> 1.23 + <value></value> 1.24 + <!-- Hander (plain, download, map or map_local)--> 1.25 + <value>Plain</value> 1.26 + </list> 1.27 + <list> 1.28 + <!-- Bean --> 1.29 + <value>Query</value> 1.30 + <!-- Format --> 1.31 + <value>HTML</value> 1.32 + <!-- Label --> 1.33 + <value>Present the first ten triples of the dataset.</value> 1.34 + <!-- Statement --> 1.35 + <value><![CDATA[SELECT * 1.36 +WHERE { 1.37 + ?s ?p ?o 1.38 +} 1.39 +LIMIT 10 1.40 +]]></value> 1.41 + <!-- Description --> 1.42 + <value></value> 1.43 + <!-- Hander (plain, download, map or map_local)--> 1.44 + <value>Plain</value> 1.45 + </list> 1.46 1.47 <list> 1.48 <!-- Single valued elements correspond to headers -->
2.1 --- a/endpoint/WebContent/describe.jsp Tue Mar 11 10:50:45 2014 +0200 2.2 +++ b/endpoint/WebContent/describe.jsp Mon Mar 17 13:48:53 2014 +0200 2.3 @@ -208,12 +208,13 @@ 2.4 2.5 </table></td></tr> 2.6 2.7 + 2.8 +</table> 2.9 +</form> 2.10 <% if (request.getAttribute("response") != null) {%> 2.11 <!-- Response --> 2.12 - <tr><%=request.getAttribute("response") %></tr> 2.13 + <div><%=request.getAttribute("response") %></div> 2.14 <!-- Response --> 2.15 <%}%> 2.16 -</table> 2.17 -</form> 2.18 </body> 2.19 </html> 2.20 \ No newline at end of file