query-5b88f3cc156e572459e4947d71eace6a

rq turtle/ttl

Descendants of Bach Descendants of Bach Descendants of Bach Descendants of Bach Descendants of Bach Descendants de Bach Descendants of Bach Descendants of Bach Descendants of Bach バッハの子孫 Afstammelingen van Bach Descendants of Bach Ättlingar till Bach Descendants of Bach Descendants of Bach Descendants of Bach

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 ?human ?humanLabel ?fatherLabel ?motherLabel ?dob ?pobLabel ?famLabel ?geni
WHERE
{
wd:Q1339 wdt:P40/wdt:P40* ?human .
    ?human wdt:P31 wd:Q5 .      
    OPTIONAL{?human wdt:P22 ?father .}
    OPTIONAL{?human wdt:P25 ?mother .}
    OPTIONAL{?human wdt:P569 ?dob .}
    OPTIONAL{?human wdt:P19 ?pob .}
    OPTIONAL{?human wdt:P2600 ?geni .}
    OPTIONAL{?human wdt:P53 ?fam .}
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; v4("?dob"):::projected v7("?fam") v2("?father") v6("?geni"):::projected v1("?human"):::projected v3("?mother") v5("?pob") a1((" ")) c1(["wd:Q1339"]):::iri c12(["bd:serviceParam"]):::iri c4(["wd:Q5"]):::iri c14(["#91;AUTO_LANGUAGE#93;,en"]):::literal c1 --"wdt:P40"--> a1 a1 --"wdt:P40"--> v1 v1 --"wdt:P31"--> c4 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v1 -."wdt:P22".-> v2 end subgraph optional1["(optional)"] style optional1 fill:#bbf,stroke-dasharray: 5 5; v1 -."wdt:P25".-> v3 end subgraph optional2["(optional)"] style optional2 fill:#bbf,stroke-dasharray: 5 5; v1 -."wdt:P569".-> v4 end subgraph optional3["(optional)"] style optional3 fill:#bbf,stroke-dasharray: 5 5; v1 -."wdt:P19".-> v5 end subgraph optional4["(optional)"] style optional4 fill:#bbf,stroke-dasharray: 5 5; v1 -."wdt:P2600".-> v6 end subgraph optional5["(optional)"] style optional5 fill:#bbf,stroke-dasharray: 5 5; v1 -."wdt:P53".-> v7 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c12 --"wikibase:language"--> c14 end