Skip to content

Commit

Permalink
Merge branch 'master' into 1423-dataset-uri
Browse files Browse the repository at this point in the history
  • Loading branch information
ddeboer authored Sep 23, 2024
2 parents fea2cdd + 175a6ee commit 246889a
Showing 1 changed file with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,19 @@ WHERE {
bd:serviceParam mwapi:srsearch ?query .
?item wikibase:apiOutputItem mwapi:title .
}
# Use UNION instead of VALUES because the latter doesn't properly restrict results.
{
# select Streets
# Streets.
?item wdt:P31 wd:Q79007
}
UNION
{
# select Squares
UNION {
# Squares.
?item wdt:P31 wd:Q174782
}
UNION {
# Main squares, e.g. http://www.wikidata.org/entity/Q1083850.
?item wdt:P31 wd:Q26987258
}
?item wdt:P17 wd:Q55 .
?item wdt:P131 ?administration .
OPTIONAL {
Expand Down

0 comments on commit 246889a

Please sign in to comment.