query-ed63b2be2c71c7a0ba7055a50654c14f
Propertiesinstance of (P31)sex or gender (P21)family name (P734)date of birth (P569)date of death (P570)country of citizenship (P27)given name (P735)
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 ?item ?lastnameLabel ?birthdate ?deathdate ?nationalityLabel ?itemDescription ?voornaamLabel ?itemLabel WHERE {
?item wdt:P31 wd:Q5.
?item wdt:P21 wd:Q8441.
OPTIONAL { ?item wdt:P734 ?lastname. }
OPTIONAL { ?item wdt:P569 ?birthdate. }
OPTIONAL { ?item wdt:P570 ?deathdate. }
OPTIONAL { ?item wdt:P27 ?nationality. }
OPTIONAL { ?item wdt:P735 ?voornaam. }
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],nl,en,fr,de,es,it". }
}
ORDER BY ?itemLabel
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?birthdate"):::projected
v5("?deathdate"):::projected
v2("?item"):::projected
v1("?itemLabel"):::projected
v3("?lastname")
v6("?nationality")
v7("?voornaam")
c4(["wd:Q8441"]):::iri
c11(["bd:serviceParam"]):::iri
c13(["#91;AUTO_LANGUAGE#93;,nl,en,fr,de,es,it"]):::literal
c2(["wd:Q5"]):::iri
v2 --"wdt:P31"--> c2
v2 --"wdt:P21"--> c4
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P734".-> v3
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P569".-> v4
end
subgraph optional2["(optional)"]
style optional2 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P570".-> v5
end
subgraph optional3["(optional)"]
style optional3 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P27".-> v6
end
subgraph optional4["(optional)"]
style optional4 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P735".-> v7
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c11 --"wikibase:language"--> c13
end