This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8" /> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script> | |
<script type="text/javascript" src="https://www.google.com/jsapi"></script> | |
<script type="text/javascript" id="sgvzlr_script" src="http://sgvizler.googlecode.com/svn/release/0.5/sgvizler.js"></script> | |
<script type="text/javascript"> | |
$(document).ready(sgvizler.go()); | |
</script> |
SPARQL Encpoint:
http://ja.dbpedia.org/sparql
SPARQL Query:
select ?label ?comment ?birthPlace ?thumbnail ?lat ?long
where{?s a <http://dbpedia.org/ontology/Wrestler>.
?s <http://www.w3.org/2000/01/rdf-schema#label> ?label.
?s ?comment.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// 危険地帯 x 危険ポイント(大阪市 警察署 x 犯罪地点) | |
// Copyright (c) 2015 @uedayou(http://uedayou.net/) | |
// | |
// 危険地帯用SPARQLエンドポイントを指定 | |
var dz_endpoint = "http://52.68.251.98:8890/sparql"; | |
// "http://db.lodc.jp/sparql"; | |
// 危険地帯用SPARQLクエリを指定 |
https://github.com/uedayou/dangerzone-sparql/blob/master/js/app.js
の114行目に
var metersPerPx = (Math.cos(initial_latitude * Math.PI/180) * 2 * Math.PI * 6378137) / (256 * Math.pow(2,map.getZoom()));
var aveDistancePx = 500*2/metersPerPx;
[大阪市オープンデータ][osakaod]を格納するSPARQLエンドポイント「http://db.lodosaka.jp/sparql」が2014年9月末で利用できなくなります。大阪市オープンデータは、LODチャレンジが運用する「[LODチャレンジ応募作品のSPARQLエンドポイント(試行版)][lodc]」でも提供していますので、10月以降そちらを利用してください。
現状の
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ENDPOINT:http://db.lodc.jp/sparql | |
QUERY: | |
------------------------------------------------------------------------ | |
PREFIX geo: <http://www.w3.org/2003/01/geo/wgs84_pos#> | |
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> | |
PREFIX schema: <http://schema.org/> | |
select * | |
FROM <http://lod.sfc.keio.ac.jp/challenge2013/show_status.php?id=d030> | |
where { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ENDPOINT:http://db.lodc.jp/sparql | |
QUERY | |
---------------------------------------------------------------------------------------- | |
PREFIX foaf: <http://xmlns.com/foaf/0.1/> | |
PREFIX geo: <http://www.w3.org/2003/01/geo/wgs84_pos#> | |
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> | |
PREFIX dcterms: <http://purl.org/dc/terms/> | |
select distinct ?entry ?link ?title ?lat ?long where | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ENDPOINT:http://db.lodc.jp/sparql | |
QUERY | |
--------------------------------------------------------------------------------------------------------- | |
SELECT ?uri ?question ?choise1 ?choise2 ?choise3 ?choise4 ?answer_no ?correct (?correct as ?incorrect) | |
FROM <http://lod.sfc.keio.ac.jp/challenge2013/show_status.php?id=d054> | |
WHERE{ | |
?uri <http://linkdata.org/property/rdf1s1120i#%E5%95%8F%E9%A1%8C> ?question; | |
<http://linkdata.org/property/rdf1s1120i#%E9%81%B8%E6%8A%9E1> ?choise1; | |
<http://linkdata.org/property/rdf1s1120i#%E9%81%B8%E6%8A%9E2> ?choise2; |