From 66da709494e6396aa155b9da96a4040681f4db8b Mon Sep 17 00:00:00 2001 From: jent-org Date: Sat, 2 Apr 2016 00:24:42 +0300 Subject: [PATCH] A number of bugfixes, improvements and better support for Virtuoso and Blazegraph triplestores * Fixed encoding problem - now safe to use with russian and other Unicode characters in the query text * Fixed issue with ASK queries with Virtuoso (they always returned TRUE). * Added "Send As" dropdown to choose between "query" and "update" parameters. According to SPARQL1.1 specification update queries MUST be send using "update" parameter (not "query" parameter) and Blazegraph does not support update queries in the query parameter (though Virtuoso do support that). * Added support for non-standard responses (i.e not xml). SPARQL1.1 specification does not regulate response format for update queries. While Virtuoso uses standard SPARQL-XML responses, Blazegraph provides plain html message. In case response is not parsable it is displayed as a whole as plain html. * Prefixes are displayed one in a row and by default are hidden. Can be shown using [Show Prefixes] button. * Added support for in-query prefixes - --- snorql/index.html | 12 +++- snorql/snorql.js | 166 ++++++++++++++++++++++++++++++++++++---------- snorql/sparql.js | 32 ++++++--- snorql/style.css | 1 + 4 files changed, 164 insertions(+), 47 deletions(-) diff --git a/snorql/index.html b/snorql/index.html index 2ff03eb..eddef7b 100644 --- a/snorql/index.html +++ b/snorql/index.html @@ -43,16 +43,24 @@

GRAPH:

-

SPARQL:

-

+      

SPARQL:

+
+ + +
+ Send as: + Results: