Match on boundary=political
This commit is contained in:
parent
41a34856b8
commit
2519ea74b8
4 changed files with 17 additions and 9 deletions
|
|
@ -1,7 +1,8 @@
|
|||
SELECT DISTINCT ?item ?distance ?itemLabel ?isa ?isaLabel ?commonsCat ?commonsSiteLink WHERE {
|
||||
{
|
||||
SELECT DISTINCT ?item ?location ?distance ?isa WHERE {
|
||||
?item wdt:P31/wdt:P279* wd:Q486972 .
|
||||
VALUES ?want { wd:Q486972 wd:Q56061 }
|
||||
?item wdt:P31/wdt:P279* ?want .
|
||||
?item wdt:P31 ?isa .
|
||||
SERVICE wikibase:around {
|
||||
?item wdt:P625 ?location.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue