try it! link
Version
Apache Jena Fuseki 4.3.1
Question
I'd like to use a try it button for queries as it is possible for some other RDF triplestores.
E.g.
With Fuseki i get an XML result by default. Would it be possible to get an HTML result or end up in the gui instead?
To get HTML, use parameters in the URL request: ...&output=xml&stylesheet=%2Fxml-to-html.xsl
@afs - thanks for the hint -
I am trying e.g: count of beer instances in wikidata
and hoped: beer instance count with styleseheet
would work but i get:
XML-Verarbeitungsfehler: Syntax-Fehler
Adresse: https://confident.dbis.rwth-aachen.de/xml-to-html.xsl
Zeile Nr. 1, Spalte 50:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
-------------------------------------------------^
That's an HTML document - it says two lines further down <title>404 Not Found</title>.
https://confident.dbis.rwth-aachen.de/ is a gateway proxy (Apache httpd) so it will need to route the request to Fuseki and Fuseki will need to have that file in-place or the server have the file itself.
xml-to-html.xsl turns XML into HTML - e.g. at http://www.sparql.org/sparql.html
Example file: http://www.sparql.org/xml-to-html.xsl
No need to paste 60-70 line query string - any short SELECT query will work for getting setup.