@netwerk-digitaal-erfgoed/network-of-terms-catalog 9.14.0 → 9.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -21,15 +21,19 @@ WHERE {
|
|
|
21
21
|
bd:serviceParam mwapi:srsearch ?query .
|
|
22
22
|
?item wikibase:apiOutputItem mwapi:title .
|
|
23
23
|
}
|
|
24
|
+
# Use UNION instead of VALUES because the latter doesn't properly restrict results.
|
|
24
25
|
{
|
|
25
|
-
#
|
|
26
|
+
# Streets.
|
|
26
27
|
?item wdt:P31 wd:Q79007
|
|
27
28
|
}
|
|
28
|
-
UNION
|
|
29
|
-
|
|
30
|
-
# select Squares
|
|
29
|
+
UNION {
|
|
30
|
+
# Squares.
|
|
31
31
|
?item wdt:P31 wd:Q174782
|
|
32
32
|
}
|
|
33
|
+
UNION {
|
|
34
|
+
# Main squares, e.g. http://www.wikidata.org/entity/Q1083850.
|
|
35
|
+
?item wdt:P31 wd:Q26987258
|
|
36
|
+
}
|
|
33
37
|
?item wdt:P17 wd:Q55 .
|
|
34
38
|
?item wdt:P131 ?administration .
|
|
35
39
|
OPTIONAL {
|