query-bb9c6300e0ba167b4121dd71b28dd5a8
Our first query Suppose we want to list all children of the baroque composer Johann Sebastian Bach. Using pseudo-elements like in the queries above, how would you write that query? Hopefully you got something like this: } # (note: everything after a ‘#’ is a comment and ignored by WDQS.) .Bach parent ?child # child "has parent" Bach { WHERE ?dziecko SELECT or this, } .Bach father ?child # child "has father" Bach { WHERE ?dziecko SELECT or this,
Use at
- https://query.wikidata.org/sparql
SELECT ?dziecko
WHERE
{
# Bach "has child" child
Bach child ?child.
}