query-4004f2368c43f989a1e561feb6cc8d46
Propertiessex or gender (P21)occupation (P106)subclass of (P279)date of birth (P569)image (P18)
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#>
#defaultView:Timeline
SELECT DISTINCT ?item ?itemLabel ?image ?birthdate
WHERE {
?item wdt:P21 wd:Q6581072;
wdt:P106/wdt:P279* wd:Q36834;
wdt:P569 ?birthdate .
?item wdt:P18 ?image.
FILTER(YEAR(?birthdate) > 1000 && YEAR(?birthdate) < 1700)
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?birthdate"):::projected
v3("?image"):::projected
v2("?item"):::projected
a1((" "))
c4(["wd:Q6581072"]):::iri
c11(["bd:serviceParam"]):::iri
c13(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c7(["wd:Q36834"]):::iri
f0[["year-from-dateTime(?birthdate) > '1000^^xsd:integer'year-from-dateTime(?birthdate) < '1700^^xsd:integer'"]]
f0 --> v1
v2 --"wdt:P21"--> c4
v2 --"wdt:P106"--> a1
a1 --"wdt:P279"--> c7
v2 --"wdt:P569"--> v1
v2 --"wdt:P18"--> v3
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c11 --"wikibase:language"--> c13
end