I'd like to generate a set of wikidata items via a generator, with the
listing containing the various associated wikipedia language pages. I think
this would essentially be like using wbgetentities with a generator. I
guess it's not possible in a single query?
To explain: I can run this query:
which gives me the langlinks, as well as the wikidata item.
I'd now like run an equivalent query on wikidata, retrieving all language
links. However, I cannot see a way in which a query like
can be made to include the language links? It's of course possible to get
the ids with the above query, and then the language links with a second
Is it possible in one query? I.e. something like