query-09131a261540dbe2a178d83dd48d4c22

rq turtle/ttl

TODO

Use at

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 ?personDescription ?birthplaceLabel ?dob ?dod (SAMPLE(?img) AS ?image)
WHERE {
  VALUES ?p106 { wd:Q36180 wd:Q753110 wd:Q6625963 wd:Q1607826 wd:Q482980 wd:Q49757 wd:Q1086863 wd:Q1930187 wd:Q214917 wd:Q28389 }
  ?person wdt:P27 wd:Q30 ;
          wdt:P19/wdt:P131* wd:Q771 ;
          wdt:P19 ?birthplace ;
          wdt:P569 ?dob ;
  OPTIONAL {?person wdt:P18 ?img .}
  OPTIONAL {?person wdt:P570 ?dod .}
  { ?person wdt:P106 ?p106 }
  MINUS {?person wdt:P570 [] .}
  FILTER (YEAR(?dob) > 1919)
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en"}
} GROUP BY ?person ?personLabel ?personDescription ?dod ?dob ?birthplaceLabel
ORDER BY ASC (?dob)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v4("?birthplace") v1("?dob"):::projected v6("?dod"):::projected v7("?image") v5("?img"):::projected v2("?p106") v3("?person"):::projected a2((" ")) a1((" ")) c3(["wd:Q30"]):::iri c12(["bd:serviceParam"]):::iri c14(["#91;AUTO_LANGUAGE#93;,en"]):::literal c6(["wd:Q771"]):::iri f0[["year-from-dateTime(?dob) > '1919^^xsd:integer'"]] f0 --> v1 bind1[/VALUES ?p106/] bind1-->v2 bind10(["wd:Q36180"]) bind10 --> bind1 bind11(["wd:Q753110"]) bind11 --> bind1 bind12(["wd:Q6625963"]) bind12 --> bind1 bind13(["wd:Q1607826"]) bind13 --> bind1 bind14(["wd:Q482980"]) bind14 --> bind1 bind15(["wd:Q49757"]) bind15 --> bind1 bind16(["wd:Q1086863"]) bind16 --> bind1 bind17(["wd:Q1930187"]) bind17 --> bind1 bind18(["wd:Q214917"]) bind18 --> bind1 bind19(["wd:Q28389"]) bind19 --> bind1 v3 --"wdt:P27"--> c3 v3 --"wdt:P19"--> a1 a1 --"wdt:P131"--> c6 v3 --"wdt:P19"--> v4 v3 --"wdt:P569"--> v1 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v3 -."wdt:P18".-> v5 end subgraph optional1["(optional)"] style optional1 fill:#bbf,stroke-dasharray: 5 5; v3 -."wdt:P570".-> v6 end v3 --"wdt:P106"--> v2 subgraph minus2["MINUS"] style minus2 stroke-width:6px,fill:pink,stroke:red; v3 --"wdt:P570"--> a2 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c12 --"wikibase:language"--> c14 end bind4[/"sample(?img)"/] v5 --o bind4 bind4 --as--o v7