query-df29ae1f5044ce9f460fe337afc8744c

rq turtle/ttl

Citizen of British India whose DOB is on or after 15 AUG 1947 SELECT ?human ?humanLabel ?dob WHERE { ?human wdt:P31 wd:Q5. ?human wdt:P27 wd:Q129286. ?human wdt:P569 ?dob. FILTER ( ?dob >= "1947-08-15T00: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 British India whose DOB is on or after 15 AUG 1947
  SELECT ?human ?humanLabel ?dob WHERE {
  ?human wdt:P31 wd:Q5.
  ?human wdt:P27 wd:Q129286.
  ?human wdt:P569 ?dob.
      FILTER ( ?dob >= "1947-08-15T00: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 c8(["bd:serviceParam"]):::iri c3(["wd:Q5"]):::iri c5(["wd:Q129286"]):::iri c10(["#91;AUTO_LANGUAGE#93;,en"]):::literal f0[["?dob >= '1947-08-15T00: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