Skip to content

Instantly share code, notes, and snippets.

@uedayou
Created September 27, 2014 09:16
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save uedayou/0ff485a766156b73c405 to your computer and use it in GitHub Desktop.
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 {
?uri schema:address ?address;
schema:name ?title;
<http://lodosaka.hozo.jp/category_1> ?category1;
<http://lodosaka.hozo.jp/category_2> ?category2;
<http://lodosaka.hozo.jp/ku> ?ku;
geo:lat ?lat;
geo:long ?long.
}
limit 1000
------------------------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment