Page MenuHomePhabricator

allow to exclude selected claims from wbgetentities (or state positively which properties you want)
Open, Needs TriagePublic

Description

see https://www.wikidata.org/w/api.php?action=help&modules=wbgetentities

https://www.mediawiki.org/wiki/API:Presenting_Wikidata_knowledge says

<<... wbgetentities has no means to specify which properties you want, instead you request all claims about the entity ...>>

https://www.wikidata.org/wiki/Q83835 (Swiss Federal Railways - SBB) breaks getEntities() / simplify() has a huge number "owner of" (P1830) statements (a lot of railway stations).
that cause the wbgetentities to get quite slow and the response very big.

It would be very helpful to be able narrow down what is returned