query-bc1bec81416d0d24ec13b86c4866a0c3
Things depicted (but not places)
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 ?person ?personLabel ?personDescription (SAMPLE(?image) AS ?img) (COUNT(?item) AS ?count) WHERE {
?item wdt:P195 wd:Q636400; wdt:P973 ?url FILTER (STRSTARTS(STR(?url),"http://jameelcentre") ).
?item wdt:P180 ?person.
MINUS {?person wdt:P625 []}
OPTIONAL {?person wdt:P18 ?image}
SERVICE wikibase:label {bd:serviceParam wikibase:language "en". }
} GROUP BY ?person ?personLabel ?personDescription ORDER BY UCASE(?personLabel)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v7("?count")
v5("?image"):::projected
v6("?img")
v3("?item"):::projected
v4("?person"):::projected
v1("?personLabel"):::projected
v2("?url")
a1((" "))
c9(["bd:serviceParam"]):::iri
c3(["wd:Q636400"]):::iri
c11(["en"]):::literal
f0[["starts-with(str(?url),'http://jameelcentre')"]]
f0 --> v2
v3 --"wdt:P195"--> c3
v3 --"wdt:P973"--> v2
v3 --"wdt:P180"--> v4
subgraph minus1["MINUS"]
style minus1 stroke-width:6px,fill:pink,stroke:red;
v4 --"wdt:P625"--> a1
end
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v4 -."wdt:P18".-> v5
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c9 --"wikibase:language"--> c11
end
bind4[/"sample(?image)"/]
v5 --o bind4
bind4 --as--o v6
bind5[/"count(?item)"/]
v3 --o bind5
bind5 --as--o v7