TomT0m created this task.
TomT0m added a project: Wikidata-Query-Service.
Herald added a subscriber: Aklapper.
Herald added projects: Wikidata, Discovery.


Replace wd:Q255 and the like with their label according to the user language is the query service result display for entities datatypes.

Labels for item or other entities can be computed through the « wikibase:label » service. This is useful, but causes major performance issues in queries as some queries timeout with the usage of this service while taking a handful of seconds with the query service call commented.

An idea to solve this is to deal with the computing of the label not at the query time with wikibase:label but at the result display time of the result set. This could be way more efficient in some cases, for example when the result set is small but the service is actually called a lot during the query, or when the result set is big but the user actually watch a tiny fraction of it, especially when the ?xLabel variables generated by the service are used only in the « select … { » projection part of the query and never in the « { … } » part.

The case where only a tiny fraction of the result is actually watched by a human may be pretty common as the results in the table view are paged and the full result set may actually not be use to be watch fully by a human but its destiny is actually to be used by an external tool.



To: TomT0m
Cc: Aklapper, TomT0m, Lahi, Gq86, Darkminds3113, Lucas_Werkmeister_WMDE, GoranSMilovanovic, QZanden, EBjune, merbst, LawExplorer, Avner, Gehel, Jonas, FloNight, Xmlizer, jkroll, Smalyshev, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331
Wikidata-bugs mailing list

Reply via email to