source: gs2-extensions/apache-jena/trunk/src/web-ext-js/sgvizler/example/exFROM1.html@ 28687

Last change on this file since 28687 was 28687, checked in by davidb, 10 years ago

Javascript files needed to support Google visualizations, made possible through SGVizer, which takes Sparql queries and converts the returned data into a format suitable for Google's visualization library

File size: 3.8 KB
Line 
1<!DOCTYPE HTML>
2<html>
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
5 <title>Sgvizler</title>
6 <meta charset="UTF-8">
7 <link rel="shortcut icon" href="http://sgvizler.googlecode.com/svn/www/favicon.ico">
8 <link rel="stylesheet" type="text/css" href="http://sgvizler.googlecode.com/svn/www/sgvizler.css">
9 <link rel="stylesheet" type="text/css" href="examples.css"><script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script><script type="text/javascript" src="https://www.google.com/jsapi"></script><script type="text/javascript" id="sgvzlr_script" src="../sgvizler.js"></script><script type="text/javascript">
10 $(document).ready(sgvizler.go());
11 </script></head>
12 <body>
13 <div id="logo"><a href="http://code.google.com/p/sgvizler/"><img src="http://sgvizler.googlecode.com/svn/www/mr.sgvizler.png" alt="mr.sgvizler.png"></a><br>Mr. Sgvizler
14
15 </div>
16 <h3><code>dForceGraph</code>: The friends of Martin and Martin and Kjetil
17 </h3>
18 <p></p>
19 <div id="sgvzl_example_query" data-sgvizler-endpoint="http://sws.ifi.uio.no/sparql/from" data-sgvizler-query="PREFIX geo: <http://www.w3.org/2003/01/geo/wgs84_pos#&gt; PREFIX foaf: <http://xmlns.com/foaf/0.1/&gt; SELECT ?i ?friend WHERE { ?i foaf:knows ?friend }" data-sgvizler-chart="dForceGraph" data-sgvizler-rdf="http://folk.uio.no/martige/foaf|http://folk.uio.no/martingi/foaf.rdf|http://www.kjetil.kjernsmo.net/foaf#me" data-sgvizler-loglevel="2" style="width:800px; height:400px;"></div>
20 <p>The element which draws the above chart:</p><pre id="sgvzl_example_pre">&lt;div id="sgvzl_example_query"
21 data-sgvizler-endpoint="http://sws.ifi.uio.no/sparql/from"
22 data-sgvizler-query="PREFIX geo: &amp;lt;http://www.w3.org/2003/01/geo/wgs84_pos#&gt; PREFIX foaf: &amp;lt;http://xmlns.com/foaf/0.1/&gt; SELECT ?i ?friend WHERE { ?i foaf:knows ?friend }"
23 data-sgvizler-chart="dForceGraph"
24 data-sgvizler-rdf="http://folk.uio.no/martige/foaf|http://folk.uio.no/martingi/foaf.rdf|http://www.kjetil.kjernsmo.net/foaf#me"
25 data-sgvizler-loglevel="2"
26 style="width:800px; height:400px;"/&gt;</pre><h3>The results of the query in <code>gTable</code></h3>
27 <div id="sgvzl_example_table" data-sgvizler-endpoint="http://sws.ifi.uio.no/sparql/from" data-sgvizler-query="PREFIX geo: <http://www.w3.org/2003/01/geo/wgs84_pos#&gt; PREFIX foaf: <http://xmlns.com/foaf/0.1/&gt; SELECT ?i ?friend WHERE { ?i foaf:knows ?friend }" data-sgvizler-chart="gTable" data-sgvizler-rdf="http://folk.uio.no/martige/foaf|http://folk.uio.no/martingi/foaf.rdf|http://www.kjetil.kjernsmo.net/foaf#me" data-sgvizler-loglevel="2" style="width:800px; height:200px;"></div>
28 <h3>Same query, different charts</h3>
29 <p>Not all charts may be well-suited for displaying this dataset.</p>
30 <h4><code>sList</code></h4>
31 <div id="sgvzl_example_query_copy_1" data-sgvizler-endpoint="http://sws.ifi.uio.no/sparql/from" data-sgvizler-query="PREFIX geo: <http://www.w3.org/2003/01/geo/wgs84_pos#&gt; PREFIX foaf: <http://xmlns.com/foaf/0.1/&gt; SELECT ?i ?friend WHERE { ?i foaf:knows ?friend }" data-sgvizler-chart="sList" data-sgvizler-rdf="http://folk.uio.no/martige/foaf|http://folk.uio.no/martingi/foaf.rdf|http://www.kjetil.kjernsmo.net/foaf#me" data-sgvizler-loglevel="2" style="width:800px; height:400px;"></div>
32 <div id="footer">
33 <!--Please leave a link to the Sgvizler homepage.-->
34 <p>
35 Sgvizler visualizes the result of SPARQL SELECT queries using
36 javascript and the Google Visualization API. For more
37 information, see the <a href="http://code.google.com/p/sgvizler/">Sgvizler</a>
38 homepage. (c) 2011--2012 Martin G. SkjÊveland.
39
40 </p>
41 </div>
42 </body>
43</html>
Note: See TracBrowser for help on using the repository browser.