query-2a68b6a17ae15f1ac4a335cf560ddd49
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT ?item ?num WHERE {
?item p:P669 ?street.
?street pq:P670 ?num.
FILTER REGEX(?num, "^[1-9]+–[1-9]+$")
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?item"):::projected
v1("?num"):::projected
v3("?street")
f0[["regex(?num,'^#91;1-9#93;+–#91;1-9#93;+$')"]]
f0 --> v1
v2 --"p:P669"--> v3
v3 --"p:qualifier/P670"--> v1