query-b9760a0e5ed70d2a0a419b01ea13e279
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?gade ?gadeLabel ?opkaldt_efter ?opkaldt_efterLabel ?billede WHERE {
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
?gade wdt:P31 wd:Q79007.
?gade wdt:P131 wd:Q504125.
OPTIONAL { ?gade wdt:P138 ?opkaldt_efter. }
OPTIONAL { ?gade wdt:P18 ?billede. } }
LIMIT 1000
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?billede"):::projected
v1("?gade"):::projected
v2("?opkaldt_efter"):::projected
c2(["bd:serviceParam"]):::iri
c6(["wd:Q79007"]):::iri
c4(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c8(["wd:Q504125"]):::iri
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c2 --"wikibase:language"--> c4
end
v1 --"wdt:P31"--> c6
v1 --"wdt:P131"--> c8
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P138".-> v2
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P18".-> v3
end