From b4e303ab286ffde9dbee65e9c9a504b5852c0776 Mon Sep 17 00:00:00 2001 From: Stian Soiland-Reyes Date: Wed, 25 Feb 2015 16:18:01 +0000 Subject: [PATCH] JENA-865: Include prefixes in example query --- .../src/main/webapp/js/app/qonsole-config.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/jena-fuseki2/jena-fuseki-core/src/main/webapp/js/app/qonsole-config.js b/jena-fuseki2/jena-fuseki-core/src/main/webapp/js/app/qonsole-config.js index 132e5abed3f..0c48273e8e1 100644 --- a/jena-fuseki2/jena-fuseki-core/src/main/webapp/js/app/qonsole-config.js +++ b/jena-fuseki2/jena-fuseki-core/src/main/webapp/js/app/qonsole-config.js @@ -10,17 +10,18 @@ define( [], function() { }, queries: [ { "name": "Selection of triples", - "query": "SELECT ?subject ?predicate ?object\nwhere {\n" + + "query": "SELECT ?subject ?predicate ?object\nWHERE {\n" + " ?subject ?predicate ?object\n}\n" + "LIMIT 25" }, { "name": "Selection of classes", - "query": "SELECT distinct ?class ?label ?description\nwhere {\n" + + "query": "SELECT DISTINCT ?class ?label ?description\nWHERE {\n" + " ?class a owl:Class.\n" + " OPTIONAL { ?class rdfs:label ?label}\n" + " OPTIONAL { ?class rdfs:comment ?description}\n}\n" + - "LIMIT 25" + "LIMIT 25", + "prefixes": ["owl", "rdfs"] } ] }; -} ); \ No newline at end of file +} );