query-4f9aade1e4f45f5e4071447435218f5e
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
select ?person (sample(?date) as ?date_sample) ?enwiki_pagename
where
{
values ?person { wd:Q1405 wd:Q9554 wd:Q36359 wd:Q635
wd:Q76 wd:Q1394 wd:Q23 wd:Q935 }
optional { ?person wdt:P569 ?date }
optional { ?article schema:about ?person ; schema:isPartOf <https://en.wikipedia.org/> ; schema:name ?enwiki_pagename }
} group by ?person ?enwiki_pagename order by ?date_sample
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;
v4("?article")
v3("?date"):::projected
v6("?date_sample")
v5("?enwiki_pagename"):::projected
v2("?person"):::projected
c4([https://en.wikipedia.org/]):::iri
bind0[/VALUES ?person/]
bind0-->v2
bind00(["wd:Q1405"])
bind00 --> bind0
bind01(["wd:Q9554"])
bind01 --> bind0
bind02(["wd:Q36359"])
bind02 --> bind0
bind03(["wd:Q635"])
bind03 --> bind0
bind04(["wd:Q76"])
bind04 --> bind0
bind05(["wd:Q1394"])
bind05 --> bind0
bind06(["wd:Q23"])
bind06 --> bind0
bind07(["wd:Q935"])
bind07 --> bind0
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P569".-> v3
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v4 -."schema:about".-> v2
v4 --"schema:isPartOf"--> c4
v4 --"schema:name"--> v5
end
bind2[/"sample(?date)"/]
v3 --o bind2
bind2 --as--o v6