query-16cc8126901939f96e8e56f3f483a53f
.on Mastodon and on TwitterOriginally posted
Use at
- https://query.wikidata.org/sparql
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
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 DISTINCT ?person ?personLabel ?personDescription ?name WHERE {
?person wdt:P31 wd:Q5;
wdt:P569 ?dob.
FILTER(?dob >= "1800-00-00"^^xsd:dat)
?person wdt:P1559 ?name.
FILTER(LANG(?name) = "la")
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;
v2("?dob")
v1("?name"):::projected
v3("?person"):::projected
c8(["bd:serviceParam"]):::iri
c4(["wd:Q5"]):::iri
c10(["#91;AUTO_LANGUAGE#93;,en"]):::literal
f0[["?name = 'la'"]]
f0 --> v1
f1[["?dob >= s1800-00-00^^<http://www.w3.org/2001/XMLSchema#dat>'"]]
f1 --> v2
v3 --"wdt:P31"--> c4
v3 --"wdt:P569"--> v2
v3 --"wdt:P1559"--> v1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c8 --"wikibase:language"--> c10
end