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">sgvizler.option.namespace.dbpo = 'http://dbpedia.org/ontology/';
|
---|
10 | sgvizler.option.namespace.geo = 'http://www.w3.org/2003/01/geo/wgs84_pos#';
|
---|
11 | sgvizler.option.namespace.dct = 'http://purl.org/dc/terms/';
|
---|
12 |
|
---|
13 | $(document).ready(sgvizler.go());
|
---|
14 | </script></head>
|
---|
15 | <body>
|
---|
16 | <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
|
---|
17 |
|
---|
18 | </div>
|
---|
19 | <h3><code>sMap</code>: Plot of most of the muncipalities of Rogaland, Norway
|
---|
20 | </h3>
|
---|
21 | <p></p>
|
---|
22 | <div id="sgvzl_example_query" data-sgvizler-endpoint="http://dbpedia.org/sparql" data-sgvizler-query="SELECT ?lat ?long ?name ?text ?url ?image WHERE { ?url a dbpo:AdministrativeRegion ; dct:subject <http://dbpedia.org/resource/Category:Municipalities_of_Rogaland> ; rdfs:label ?name; geo:lat ?lat; geo:long ?long . OPTIONAL{ ?url rdfs:comment ?text } OPTIONAL{ ?url dbpo:thumbnail ?image } FILTER(lang(?text)="en") FILTER(lang(?name)="en") }" data-sgvizler-chart="sMap" data-sgvizler-loglevel="2" style="width:800px; height:600px;"></div>
|
---|
23 | <p>The element which draws the above chart:</p><pre id="sgvzl_example_pre"><div id="sgvzl_example_query"
|
---|
24 | data-sgvizler-endpoint="http://dbpedia.org/sparql"
|
---|
25 | data-sgvizler-query="SELECT ?lat ?long ?name ?text ?url ?image WHERE { ?url a dbpo:AdministrativeRegion ; dct:subject &lt;http://dbpedia.org/resource/Category:Municipalities_of_Rogaland> ; rdfs:label ?name; geo:lat ?lat; geo:long ?long . OPTIONAL{ ?url rdfs:comment ?text } OPTIONAL{ ?url dbpo:thumbnail ?image } FILTER(lang(?text)=&quot;en&quot;) FILTER(lang(?name)=&quot;en&quot;) }"
|
---|
26 | data-sgvizler-chart="sMap"
|
---|
27 | data-sgvizler-loglevel="2"
|
---|
28 | style="width:800px; height:600px;"/></pre><h3>The results of the query in <code>gTable</code></h3>
|
---|
29 | <div id="sgvzl_example_table" data-sgvizler-endpoint="http://dbpedia.org/sparql" data-sgvizler-query="SELECT ?lat ?long ?name ?text ?url ?image WHERE { ?url a dbpo:AdministrativeRegion ; dct:subject <http://dbpedia.org/resource/Category:Municipalities_of_Rogaland> ; rdfs:label ?name; geo:lat ?lat; geo:long ?long . OPTIONAL{ ?url rdfs:comment ?text } OPTIONAL{ ?url dbpo:thumbnail ?image } FILTER(lang(?text)="en") FILTER(lang(?name)="en") }" data-sgvizler-chart="gTable" data-sgvizler-loglevel="2" style="width:800px; height:200px;"></div>
|
---|
30 | <div id="footer">
|
---|
31 | <!--Please leave a link to the Sgvizler homepage.-->
|
---|
32 | <p>
|
---|
33 | Sgvizler visualizes the result of SPARQL SELECT queries using
|
---|
34 | javascript and the Google Visualization API. For more
|
---|
35 | information, see the <a href="http://code.google.com/p/sgvizler/">Sgvizler</a>
|
---|
36 | homepage. (c) 2011--2012 Martin G. SkjÊveland.
|
---|
37 |
|
---|
38 | </p>
|
---|
39 | </div>
|
---|
40 | </body>
|
---|
41 | </html> |
---|