We recently saw a spike of X usages coming from dewiki's Modul:Wikidata isParent.
isParent basically tries to determine whether a certain entity is a (possibly indirect) (subclass of/instance of) of a certain item. It does that by basically walking up the (subclass of/instance of) graph by recursively loading all entities it encounters and looking at their (subclass of/instance of), up to a max depth of (per default) 5.
We should find a better solution for this, before the function sees widespread usage… otherwise this might cause severe problems.
- Introduce lookup https://github.com/wmde/WikibaseDataModelServices/pull/195
- lua module