query-13f9749b45315f29f6248423aad72b71
by CamelCaseNick select distinct ?stolperstein ?stolpersteinLabel ?image ?commemorated ?commemoratedLabel where { ?stolperstein wdt:P31 wd:Q26703203; wdt:P18 ?image; wdt:P547 ?commemorated. filter(!wikibase:isSomeValue(?commemorated)) minus { ?commemorated wdt:P1801 ?image. } [wdt:P31 wd:Q26703203] wdt:P131+ wd:Q1055; wdt:P547 ?commemorated. service wikibase:label { bd:serviceParam wikibase:language "de,en". } }
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#>
#by CamelCaseNick
select distinct ?stolperstein ?stolpersteinLabel ?image ?commemorated ?commemoratedLabel where {
?stolperstein wdt:P31 wd:Q26703203;
wdt:P18 ?image;
wdt:P547 ?commemorated. filter(!wikibase:isSomeValue(?commemorated))
minus { ?commemorated wdt:P1801 ?image. }
[wdt:P31 wd:Q26703203] wdt:P131+ wd:Q1055; wdt:P547 ?commemorated.
service wikibase:label { bd:serviceParam wikibase:language "de,en". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?commemorated"):::projected
v3("?image"):::projected
v2("?stolperstein"):::projected
a1((" "))
c9(["bd:serviceParam"]):::iri
c2(["wd:Q26703203"]):::iri
c7(["wd:Q1055"]):::iri
c11(["de,en"]):::literal
f0[["not http://wikiba.se/ontology#isSomeValue(?commemorated)"]]
f0 --> v1
v2 --"wdt:P31"--> c2
v2 --"wdt:P18"--> v3
v2 --"wdt:P547"--> v1
subgraph minus1["MINUS"]
style minus1 stroke-width:6px,fill:pink,stroke:red;
v1 --"wdt:P1801"--> v3
end
a1 --"wdt:P31"--> c2
a1 --"wdt:P131"--> c7
a1 --"wdt:P547"--> v1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c9 --"wikibase:language"--> c11
end