@Matěj Suchánek: could you please look on this, wikidatawiki_p.* are not working, Thanks!
Topic on Talk:Quarry
wikidatawiki_p
is a database name. This query is attempting a "cross wiki join" which is no longer possible due to technical changes that we have been forced to make on the backing wiki replica database servers. See wikitech:News/Wiki Replicas 2020 Redesign and phab:T260389 for more detailed information.
Thanks for your info. Could someone rewrite the quarry, so it can be queried.
No, it isn't possible to do this kind of query using Quarry anymore.
Thank you for response.