Hi,
I'm trying to make this query work with Wikipedia redirects: https://w.wiki/$sF
SELECT * WHERE { VALUES ?page { "Aachen"@en "Akron"@en } ?sitelink schema:name ?page; schema:isPartOf https://en.wikipedia.org/; schema:about ?city. }
Aachen works, Akron does not, as it is a redirect. How can I make a query which works with such redirects?
I'm trying to get Wikidata ids for the links from this table: https://en.wikipedia.org/wiki/List_of_cities_by_GDP (The html has mw-redirect class for the redirects).
Regards, Zsolt