query-42a6b75a49b6b0bc8cfc16ba52a7ef2a
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 rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX bd: <http://www.bigdata.com/rdf#>
select ?person ?personLabel (GROUP_CONCAT(DISTINCT ?epLabel_;separator=" /// ") as ?epLabel) ?dod where
{
$ep wdt:P31 wd:Q21191270.
$ep wdt:P179 wd:Q79784.
$ep wdt:P161 ?person.
?person wdt:P570 ?dod.
SERVICE wikibase:label { bd:serviceParam wikibase:language "en".
?person rdfs:label ?personLabel .
?ep rdfs:label ?epLabel_ . }
} GROUP BY ?person ?personLabel ?dod order by desc(?dod) LIMIT 50
Query found at
- https://www.wikidata.org/wiki/Wikidata:Request_a_query/Archive/2022/12
- https://www.wikidata.org/wiki/Wikidata:Request_a_query/en
- https://www.wikidata.org/wiki/Wikidata:Request_a_query/es
- https://www.wikidata.org/wiki/Wikidata:Request_a_query/fr
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?dod"):::projected
v2("?ep")
v6("?epLabel")
v5("?epLabel_"):::projected
v3("?person"):::projected
v4("?personLabel"):::projected
c8(["bd:serviceParam"]):::iri
c4(["wd:Q79784"]):::iri
c10(["en"]):::literal
c2(["wd:Q21191270"]):::iri
v2 --"wdt:P31"--> c2
v2 --"wdt:P179"--> c4
v2 --"wdt:P161"--> v3
v3 --"wdt:P570"--> v1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c8 --"wikibase:language"--> c10
v3 --"rdfs:label"--> v4
v2 --"rdfs:label"--> v5
end
bind1[/"?epLabel_"/]
v5 --o bind1
bind1 --as--o v6