query-a3f83a4e1deaee38c385df8fa5de2f29
People born in the XX century with a Featured Article in Spanish
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#>
PREFIX schema: <http://schema.org/>
SELECT ?sitelink ?itemLabel ?birthyear WHERE {
?item wdt:P31 wd:Q5.
?item wdt:P569 ?birth.
BIND(YEAR(?birth) as ?birthyear).
?sitelink schema:isPartOf <https://es.wikipedia.org/>.
?sitelink schema:about ?item.
?sitelink wikibase:badge wd:Q17437796.
FILTER (?birthyear >= 1900).
FILTER (?birthyear < 2000).
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],es". }
}
ORDER BY ?itemLabel
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?birth")
v5("?birthyear"):::projected
v3("?item")
v1("?itemLabel"):::projected
v5("?sitelink"):::projected
c12(["bd:serviceParam"]):::iri
c14(["#91;AUTO_LANGUAGE#93;,es"]):::literal
c7([https://es.wikipedia.org/]):::iri
c4(["wd:Q5"]):::iri
c10(["wd:Q17437796"]):::iri
f0[["?birthyear < '2000^^xsd:integer'"]]
f0 --> v5
f1[["?birthyear >= '1900^^xsd:integer'"]]
f1 --> v5
v3 --"wdt:P31"--> c4
v3 --"wdt:P569"--> v4
bind2[/"year-from-dateTime(?birth)"/]
v4 --o bind2
bind2 --as--o v5
v5 --"schema:isPartOf"--> c7
v5 --"schema:about"--> v3
v5 --"wikibase:badge"--> c10
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c12 --"wikibase:language"--> c14
end