Skip to content

Instantly share code, notes, and snippets.

@frogcat
Created July 15, 2015 10:59
Show Gist options
  • Save frogcat/1d4d5fb55bc64824a826 to your computer and use it in GitHub Desktop.
Save frogcat/1d4d5fb55bc64824a826 to your computer and use it in GitHub Desktop.
Wikidata から日本の島の場所と名前を引く SPARQL
# @href http://wdqs-beta.wmflabs.org/
select * where {
?s
<http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q17> ;
<http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q23442> ;
<http://www.wikidata.org/prop/direct/P625> ?point ;
<http://www.w3.org/2000/01/rdf-schema#label> ?label .
FILTER (LANG(?label)="ja")
} limit 1000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment