query-b1371eda05cf5c1aa28815e87219ef4e
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 ?pob1 ?pob1Label ?sibling ?siblingLabel ?pob2Label
WHERE
{
?item wdt:P3373 ?sibling.
?item wdt:P569 ?dob .
?sibling wdt:P569 ?dob .
?item wdt:P19 ?pob1 .
filter not exists {?sibling wdt:P19 ?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;
v4("?dob")
v3("?item"):::projected
v5("?pob1"):::projected
v2("?pob2")
v1("?sibling"):::projected
c5(["bd:serviceParam"]):::iri
c7(["#91;AUTO_LANGUAGE#93;,en"]):::literal
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0v1 --"wdt:P19"--> e0v2
e0v2("?pob2"):::projected
e0v1("?sibling"):::projected
end
f0--EXISTS--> f0e0
f0 --> v1
f0 --> c1
f0 --> v2
v1 --"wdt:P19"--> v2
v3 --"wdt:P3373"--> v1
v3 --"wdt:P569"--> v4
v1 --"wdt:P569"--> v4
v3 --"wdt:P19"--> v5
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c5 --"wikibase:language"--> c7
end