|
Project Information
Members
Featured
Downloads
Links
|
Sgvizler is a javascript which renders the result of SPARQL SELECT queries into charts or html elements. It is cool stuff (ivan_herman, timbl). The name and tool relies on and/or is inspired by SPARQL, Google Visualization API, SPARQLer, Snorql and Spark. All the major chart types offered by the Google Visualization API are supported by Sgvizler. The user inputs a SPARQL query which is sent to a designated SPARQL endpoint. The endpoint must return the results back the query results in SPARQL Query Results XML Format or SPARQL Query Results in JSON format. Sgvizler parses the results into the JSON format that Google prefers and displays the chart using the Google Visualization API or a custom-made visualization or formatting function. Include charts your web pages simply by adding html element of the following form to your page: <div id="sgvzl_example1"
data-sgvizler-endpoint="http://sws.ifi.uio.no/sparql/npd"
data-sgvizler-query="SELECT ?class (count(?instance) AS ?noOfInstances)
WHERE{ ?instance a ?class }
GROUP BY ?class
ORDER BY ?class"
data-sgvizler-chart="gPieChart"
style="width:800px; height:400px;"></div> Read more on UsingSgvizler. It is simple to get started! Grab the file sgvizler.html in the latest release or look at the examples and their source code, also found in the release folder. They contain everything you need to setup Sgvizler on your own site. For more information see SetupSgvizler. Sgvizler needs, in addition to the Google Visualization API, the javascript framework jQuery to work. See Compatibility for information on which browsers and server setups Sgvizler requires. Use the mailinglist sgvizler@googlegroups.com if you have questions about Sgvizler. Sign up for the same mailinglist if you want to receive emails on updates and other news and questions about Sgvizler. To contact the developer personally, use m.g.skjaeveland@gmail.com. ScreenshotsClick image to see larger version. There are also many live examples. |