Skip to content

Commit f2352f9

Browse files
author
Gaurav SinghaRoy
committed
UI fix for JSON download
1 parent 02b2277 commit f2352f9

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

app/views/query/_search_results.html.erb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,12 @@
5757
We have three kinds of JSON output available for you
5858
</p>
5959
<p>
60-
<span class="btn btn-danger" onclick="SPARQL.download.json.sesame()"><span class="glyphicon glyphicon-download-alt"></span>&nbsp;Sesame</span>&nbsp; This output format is provided my Sesame datastores.
60+
<span class="btn btn-success" onclick="SPARQL.download.json.virtuoso()"><span class="glyphicon glyphicon-download-alt"></span>&nbsp;Standard W3C recommended</span>&nbsp; This output format is specified in the official W3C recommendation for displaying SPARQL query set results.
6161
</p>
6262
<p>
63-
<span class="btn btn-success" onclick="SPARQL.download.json.virtuoso()"><span class="glyphicon glyphicon-download-alt"></span>&nbsp;Virtuoso</span>&nbsp; This output format is provided my Virtuoso datastores.
63+
<span class="btn btn-danger" onclick="SPARQL.download.json.sesame()"><span class="glyphicon glyphicon-download-alt"></span>&nbsp;Sesame</span>&nbsp; This output format is provided by Sesame datastores. It basically converts the XML format to an equivalent JSON format, which is not a good format in terms of machine readability.
6464
</p>
65+
6566
<%if in_query_builder_action?%>
6667
<p>
6768
<span class="btn btn-primary" onclick="SPARQL.download.json.for_class()"><span class="glyphicon glyphicon-download-alt"></span>&nbsp;Experimental</span>&nbsp; This output format is a suggested experimental format which is useful to explore data output when you have queried data which are objects of some class(es).

0 commit comments

Comments
 (0)