query-07b08bf83aa7bfad5e8fe0cf95331214
Objekte in Dresden ohne Bild
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#>
PREFIX schema: <http://schema.org/>
#-------------------------------------------------------------------------------
# Objekte in Dresden ohne Bild (nur Bilder auf Commons sind erlaubt)
#-------------------------------------------------------------------------------
#defaultView:Table;Map
SELECT DISTINCT ?item ?itemLabel ?itemDescription ?article ?coordinates ?commons WHERE {
?item wdt:P131 wd:Q1731. # liegt in Dresden
optional { # Artikellink
?article schema:about ?item.
?article schema:isPartOf <https://de.wikipedia.org/>.
}
optional { # Commons-Link
?commons schema:about ?item.
?commons schema:isPartOf <https://commons.wikimedia.org/>.
}
optional {?item wdt:P31 ?instanceof }
Filter (?instanceof != wd:Q13406463). # ist keine Wikimedia-Liste
optional { ?item wdt:P18 ?image. }
FILTER(!BOUND(?image))
optional { ?item wdt:P625 ?coordinates. }
SERVICE wikibase:label { bd:serviceParam wikibase:language "de". }
}
order by ?itemLabel
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v5("?article"):::projected
v6("?commons"):::projected
v7("?coordinates"):::projected
v2("?image")
v3("?instanceof")
v4("?item"):::projected
v1("?itemLabel"):::projected
c6([https://de.wikipedia.org/]):::iri
c14(["de"]):::literal
c7([https://commons.wikimedia.org/]):::iri
c12(["bd:serviceParam"]):::iri
c3(["wd:Q1731"]):::iri
f0[["not bound(?image)"]]
f0 --> v2
f1[["?instanceof != 'wd:Q13406463'"]]
f1 --> v3
v4 --"wdt:P131"--> c3
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v5 -."schema:about".-> v4
v5 --"schema:isPartOf"--> c6
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v6 -."schema:about".-> v4
v6 --"schema:isPartOf"--> c7
end
subgraph optional2["(optional)"]
style optional2 fill:#bbf,stroke-dasharray: 5 5;
v4 -."wdt:P31".-> v3
end
subgraph optional3["(optional)"]
style optional3 fill:#bbf,stroke-dasharray: 5 5;
v4 -."wdt:P18".-> v2
end
subgraph optional4["(optional)"]
style optional4 fill:#bbf,stroke-dasharray: 5 5;
v4 -."wdt:P625".-> v7
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c12 --"wikibase:language"--> c14
end