query-4d5fec4c035331cfaba6a4f5d8b7c079

rq turtle/ttl

bridges2information

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#>
PREFIX schema: <http://schema.org/>
SELECT ?person ?personLabel ?article ?dateofBirth ?dateofDeath WHERE {
  ?person wdt:P31 wd:Q5.
  ?person wdt:P172 wd:Q49085.
  ?article schema:about ?person.
  ?article schema:isPartOf <https://en.wikipedia.org/>.
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
  OPTIONAL { ?person wdt:P569 ?dateofBirth. }
  OPTIONAL { ?person wdt:P570 ?dateofDeath. }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?article"):::projected v3("?dateofBirth"):::projected v4("?dateofDeath"):::projected v1("?person"):::projected c7([https://en.wikipedia.org/]):::iri c9(["bd:serviceParam"]):::iri c2(["wd:Q5"]):::iri c4(["wd:Q49085"]):::iri c11(["#91;AUTO_LANGUAGE#93;,en"]):::literal v1 --"wdt:P31"--> c2 v1 --"wdt:P172"--> c4 v2 --"schema:about"--> v1 v2 --"schema:isPartOf"--> c7 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c9 --"wikibase:language"--> c11 end subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v1 -."wdt:P569".-> v3 end subgraph optional1["(optional)"] style optional1 fill:#bbf,stroke-dasharray: 5 5; v1 -."wdt:P570".-> v4 end