query-93ac8e9c76d6c27c41c1637af305cf54
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?pob1Label ?sibling ?siblingLabel ?pob2Label
WHERE
{
?item wdt:P3373 ?sibling.
?item wdt:P569 ?dob .
?sibling wdt:P569 ?dob .
?item wdt:P19 ?pob1 .
?sibling wdt:P19 ?pob2 .
filter (?pob1 != ?pob2)
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;
v5("?dob")
v3("?item"):::projected
v1("?pob1")
v2("?pob2")
v4("?sibling"):::projected
c5(["bd:serviceParam"]):::iri
c7(["#91;AUTO_LANGUAGE#93;,en"]):::literal
f0[["?pob1 != ?pob2"]]
f0 --> v1
f0 --> v2
v3 --"wdt:P3373"--> v4
v3 --"wdt:P569"--> v5
v4 --"wdt:P569"--> v5
v3 --"wdt:P19"--> v1
v4 --"wdt:P19"--> v2
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c5 --"wikibase:language"--> c7
end