query-73ecb02dfd239dc61169f40efeff4baf
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?item ?birth (GROUP_CONCAT(?pob) as ?placeOfBirth)
WHERE {
VALUES ?item { wd:Q6701 }
OPTIONAL {?item wdt:P569 ?birth .}
OPTIONAL {?item wdt:P19 ?pob .}
} group by ?item ?birth
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?birth"):::projected
v1("?item"):::projected
v4("?placeOfBirth")
v3("?pob"):::projected
bind0[/VALUES ?item/]
bind0-->v1
bind00(["wd:Q6701"])
bind00 --> bind0
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P569".-> v2
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P19".-> v3
end
bind2[/"?pob"/]
v3 --o bind2
bind2 --as--o v4