query-afc4a774e22dd3723cc82277a16dd9ea
TODO
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 ?pessoa ?pessoaLabel ?anoDeNascimento
WHERE
{
?pessoa wdt:P31 wd:Q5;
wdt:P569 ?dataDeNascimento.
FILTER("2015-01-01"^^xsd:date <= ?dob && ?dataDeNascimento < "2016-01-01"^^xsd:dat).
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?dataDeNascimento")
v1("?dob")
v3("?pessoa"):::projected
c7(["bd:serviceParam"]):::iri
c9(["#91;AUTO_LANGUAGE#93;"]):::literal
c4(["wd:Q5"]):::iri
f0[["'2015-01-01^^xsd:date' <= ?dob?dataDeNascimento < s2016-01-01^^<http://www.w3.org/2001/XMLSchema#dat>'"]]
f0 --> v1
f0 --> v2
v3 --"wdt:P31"--> c4
v3 --"wdt:P569"--> v2
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end