query-18f940732a93efd88d5a0f6232690c13
Imagegrid
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 ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#EditCloud for Travel to Vaxholm mit Images und coloring
#defaultView:ImageGrid
SELECT DISTINCT ?item ?itemLabel ?poi ?poiLabel ?coord ?layer ?image
WHERE
{ BIND(wd:Q127510225 AS ?item) .
?item wdt:P921 ?poi.
?item p:P921 ?statement .
?statement ps:P921 ?poi .
?statement pq:P585 ?layer .
?poi wdt:P625 ?coord.
optional {
?poi wdt:P18 ?image.
}
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
} ORDER BY ?layer
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v5("?coord"):::projected
v6("?image"):::projected
v2("?item"):::projected
v1("?layer"):::projected
v3("?poi"):::projected
v4("?statement")
c8(["bd:serviceParam"]):::iri
c10(["#91;AUTO_LANGUAGE#93;,en"]):::literal
bind0[/"'wd:Q127510225'"/]
bind0 --as--o v2
v2 --"p:direct/P921"--> v3
v2 --"p:P921"--> v4
v4 --"p:statement/P921"--> v3
v4 --"p:qualifier/P585"--> v1
v3 --"p:direct/P625"--> v5
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v3 -."p:direct/P18".-> v6
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c8 --"wikibase:language"--> c10
end