MisterSynergy added a comment. |
The lack of powerful means to traverse the Wikidata knowledge tree within Lua modules is in fact a problem for Wikidata as well, not only for module coders on Wikipedia side. {{#property:}}/{{#statement:}} parser functions and Module:Wikidata allow simple data retrieval from the connected item, but any lookup of items (as indicated by Jarekt) is very difficult. Users deal with this problem by adding all information they want to access from a client (e.g. in an infobox) directly to the connected item—even if it is utterly misplaced there (for instance country qualifiers to place of birth data in an item about a person).
The most effective method to search in the Wikidata knowledge tree is likely a SPARQL query. It would thus be very useful if a SPARQL interface for item lookup was available in Lua.
Cc: Agabi10, Liuxinyu970226, Paucabot, Vriullop, MisterSynergy, Pasleim, Aklapper, Jarekt, GoranSMilovanovic, QZanden, Izno, Wikidata-bugs, aude, Mbch331
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs