You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@marmotta.apache.org by tk...@apache.org on 2014/10/17 13:06:30 UTC
git commit: some squebi configs
Repository: marmotta
Updated Branches:
refs/heads/develop 10c7090f5 -> ad063c993
some squebi configs
Project: http://git-wip-us.apache.org/repos/asf/marmotta/repo
Commit: http://git-wip-us.apache.org/repos/asf/marmotta/commit/ad063c99
Tree: http://git-wip-us.apache.org/repos/asf/marmotta/tree/ad063c99
Diff: http://git-wip-us.apache.org/repos/asf/marmotta/diff/ad063c99
Branch: refs/heads/develop
Commit: ad063c993a43124ccbea491f62109ad1a4e1b715
Parents: 10c7090
Author: tkurz <tk...@apache.org>
Authored: Fri Oct 17 13:06:24 2014 +0200
Committer: tkurz <tk...@apache.org>
Committed: Fri Oct 17 13:06:24 2014 +0200
----------------------------------------------------------------------
.../src/main/resources/web/admin/squebi.html | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/marmotta/blob/ad063c99/platform/marmotta-sparql/src/main/resources/web/admin/squebi.html
----------------------------------------------------------------------
diff --git a/platform/marmotta-sparql/src/main/resources/web/admin/squebi.html b/platform/marmotta-sparql/src/main/resources/web/admin/squebi.html
index b8689b1..4bf87ec 100644
--- a/platform/marmotta-sparql/src/main/resources/web/admin/squebi.html
+++ b/platform/marmotta-sparql/src/main/resources/web/admin/squebi.html
@@ -31,7 +31,17 @@
container : '#squebi_container',
browse : {
showFlags : false
- }
+ },
+ "samples": [
+ {"name":"Select first 10 triples", "value":"SELECT * WHERE {\n ?subject ?property ?object\n} LIMIT 10","type":"browse"},
+ {"name":"List types", "value":"SELECT DISTINCT ?type WHERE {\n [] a ?type\n} ORDER BY ?type","type":"browse"},
+ {"name":"List properties", "value":"SELECT DISTINCT ?property WHERE {\n [] ?property []\n} ORDER BY ?property","type":"browse"},
+ {"name":"List classes and count their usage as pie chart", "value":"SELECT ?class (COUNT (?s) AS ?count) WHERE {\n ?s a ?class\n}\nGROUP BY ?class\nORDER BY DESC(?count)","type":"piechart"},
+ {"name":"Draw a graph from data", "value":"CONSTRUCT {?a ?b ?c} WHERE {?a ?b ?c} LIMIT 5", "type":"rdfdot"},
+ ],
+ "writers": [
+ "browse","csv","json","pie","rdfdot","xml"
+ ]
};
</script>
<script data-main="../../webjars/squebi/0.0.9/main" src="../../webjars/squebi/0.0.9/requirejs/require.js"></script>