query-a003912b85a7c6b10ee3e3fcdd1808e5
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 p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?person ?personLabel ?1 ?2 ?Bild ?Bildtext
WHERE
{
?person wdt:P31 wd:Q26703203.
?person wdt:P18 ?Bild.
minus { ?person p:P625 [] }.
bind(str(?Bild) as ?Bildtext).
bind(replace(str(?Bild),"%20"," ") as ?1)
bind(concat ("commons:", strafter(?1,"Special:FilePath/")) as ?2)
SERVICE wikibase:label { bd:serviceParam wikibase:language "de, en, pl". }
}
Limit 30
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?1"):::projected
v5("?2"):::projected
v2("?Bild"):::projected
v3("?Bildtext"):::projected
v1("?person"):::projected
a1((" "))
c6(["bd:serviceParam"]):::iri
c8(["de, en, pl"]):::literal
c2(["wd:Q26703203"]):::iri
v1 --"p:direct/P31"--> c2
v1 --"p:direct/P18"--> v2
subgraph minus0["MINUS"]
style minus0 stroke-width:6px,fill:pink,stroke:red;
v1 --"p:P625"--> a1
end
bind1[/"str(?Bild)"/]
v2 --o bind1
bind1 --as--o v3
bind2[/"replace(str(?Bild),'%20',' ')"/]
v2 --o bind2
bind2 --as--o v4
bind3[/"concat('commons:',substring-after(?1,'Special:FilePath/'))"/]
v4 --o bind3
bind3 --as--o v5
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c6 --"wikibase:language"--> c8
end