You can do this via the API, e.g.: https://www.wikidata.org/w/api.php?action=query&prop=&format=json&titles=Q1|Qx|Q10000003|Q66666666666666&redirects=1
Note that this uses QIDs directy as page titles. This works on wikidata, but may not work on all wikibase instances. It also does not work for PIDs: for these, you have to prefix the Property namespace, as in Property:P31. A more wikibase way would be to use the wbgetentities API, as in https://www.wikidata.org/w/api.php?action=wbgetentities&ids=Q42|Q64&props= However, this API fails when you proivde a non-existing ID, without providing any information about other IDs. So you can quickly check if all the IDs you have are ok, but you may need several calls to get a list of all the bad IDs. That's rather annoying for your use case. Feel free to file a ticket on phabricator.wikimedia.org. Use the wikidata tag. Tahnks! -- daniel _______________________________________________ Wikidata-tech mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
