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>
To cite Sgvizler, use the following reference: "Martin G. Skjæveland.
Sgvizler: A JavaScript Wrapper for Easy Visualization of SPARQL Result
Sets. ESWC 2012. Demo paper." The paper is yet to be published in the
workshop/poster/demo proceedings of ESWC 2012, but it is available on
the ESWC 2012 website, the poster is also available.More Tutorial
http://data-gov.tw.rpi.edu/wiki/How_to_render_SPARQL_results_using_Google_Visualization_API
Screenshots
Click image to see larger version.There are also many live examples.
0 comments:
Post a Comment