query-ea13fd42b70cc00cd72307bc8082dbf0

rq turtle/ttl

Citizen of Dominion of India whose DOB is on or after 26 JAN 1950 SELECT ?human ?humanLabel ?dob WHERE { ?human wdt:P31 wd:Q5. ?human wdt:P27 wd:Q1775277. ?human wdt:P569 ?dob. FILTER ( ?dob >= "1950-01-26T00:00:00Z"^^xsd:dateTime) #>= dob on or after SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" } }

Use at

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#>
# Citizen of Dominion of India whose DOB is on or after 26 JAN 1950
  SELECT ?human ?humanLabel ?dob WHERE {
  ?human wdt:P31 wd:Q5.
  ?human wdt:P27 wd:Q1775277.
  ?human wdt:P569 ?dob.
      FILTER ( ?dob >= "1950-01-26T00:00:00Z"^^xsd:dateTime)  #>= dob on or after
  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("?dob"):::projected v2("?human"):::projected c5(["wd:Q1775277"]):::iri c8(["bd:serviceParam"]):::iri c3(["wd:Q5"]):::iri c10(["#91;AUTO_LANGUAGE#93;,en"]):::literal f0[["?dob >= '1950-01-26T00:00:00Z^^xsd:dateTime'"]] f0 --> v1 v2 --"wdt:P31"--> c3 v2 --"wdt:P27"--> c5 v2 --"wdt:P569"--> v1 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c8 --"wikibase:language"--> c10 end