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