query-6727363f75bff2ccae32473c16d822b5

rq turtle/ttl

Peoples born on Oct 31 1980

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#>
SELECT ?person ?personLabel ?birth ?death ?occupationLabel WHERE{
  ?person wdt:P31 wd:Q5.
  ?person wdt:P106 ?occupation.
  ?person wdt:P569 ?birth.

  OPTIONAL {?person wdt:P570 ?death.}

  FILTER("1980-10-31"^^xsd:date = ?birth).
  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; v1("?birth"):::projected v4("?death"):::projected v3("?occupation") v2("?person"):::projected c8(["bd:serviceParam"]):::iri c10(["#91;AUTO_LANGUAGE#93;"]):::literal c3(["wd:Q5"]):::iri f0[["'1980-10-31^^xsd:date' = ?birth"]] f0 --> v1 v2 --"wdt:P31"--> c3 v2 --"wdt:P106"--> v3 v2 --"wdt:P569"--> v1 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P570".-> v4 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c8 --"wikibase:language"--> c10 end