query-7d4d0b5bc9219a01554e886bdd976581

rq turtle/ttl

Finding scientists who were born or died in Berlin 18:24, 4 March 2017 (UTC)) talk (ShyamalI tried to alter an existing query with the following (only births in this case) but it produced no results. What am I doing wrong? SELECT ?item ?dob WHERE { { ?item wdt:P19 wd:Q64. } UNION { ?item wdt:P19 ?pob. ?pob wdt:P131* wd:Q64. } ?item wdt:P279 wd:Q901. OPTIONAL { ?item wdt:P569 ?dob. } } ORDER BY ?dob LIMIT 4000

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?item ?dob WHERE {
  { ?item wdt:P19 wd:Q64. }
  UNION
  {
    ?item wdt:P19 ?pob.
    ?pob wdt:P131* wd:Q64.
  }
  ?item wdt:P106 wd:Q901.
  OPTIONAL { ?item wdt:P569 ?dob. }
}
ORDER BY ?dob
LIMIT 4000

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?dob"):::projected v2("?item"):::projected v3("?pob") c5(["wd:Q901"]):::iri c2(["wd:Q64"]):::iri subgraph union0[" Union "] subgraph union0l[" "] style union0l fill:#abf,stroke-dasharray: 3 3; v2 --"wdt:P19"--> v3 v3 --"wdt:P131"--> c2 end subgraph union0r[" "] style union0r fill:#abf,stroke-dasharray: 3 3; v2 --"wdt:P19"--> c2 end union0r <== or ==> union0l end v2 --"wdt:P106"--> c5 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P569".-> v1 end