query-78550cc27fb48fe61c41c5e2ae0dd66e
find burial/baptism date based on significant event (P793)
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT ?person ("P4602" as ?P) ?burial WHERE {
?person wdt:P31 wd:Q5 .
?person p:P793 [ps:P793 wd:Q331055; pq:P585 ?burial] .
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?P")
v2("?burial"):::projected
v1("?person"):::projected
a1((" "))
c4(["wd:Q331055"]):::iri
c2(["wd:Q5"]):::iri
v1 --"p:direct/P31"--> c2
a1 --"p:statement/P793"--> c4
a1 --"p:qualifier/P585"--> v2
v1 --"p:P793"--> a1
bind0[/"'P4602'"/]
bind0 --as--o v3