Ladsgroup created this task.
Ladsgroup added projects: Wikidata, Wikidata Query Builder.
Restricted Application added a subscriber: Aklapper.

TASK DESCRIPTION
  As an editor I want to obtain result faster and without timeout as much as 
possible.
  
  **Problem**
  Labeling service in WDQS makes the query much slower (T212933: Optimize 
SERVICE wikibase:label <https://phabricator.wikimedia.org/T212933> and T166139: 
Query optimizer for labels should be using sub queries 
<https://phabricator.wikimedia.org/T166139>), specially for cases involving 
MINUS (see T272140#6756245 <https://phabricator.wikimedia.org/T272140#6756245>)
  
  **Acceptance criteria:**
  The result query needs to be use labeling service wrapping the main query 
instead of being used directly. Like:
  
    SELECT DISTINCT ?item ?itemLabel ?instance ?instanceLabel WHERE {
      {
        SELECT DISTINCT ?item ?instance WHERE {
          ?item (p:P106/ps:P106/(wdt:P279*)) wd:Q2526255.
          ?item (p:P31/ps:P31) ?instance.
          MINUS { ?item (p:P31/ps:P31/(wdt:P279)*) wd:Q5. }
        }
        LIMIT 5
      }
      SERVICE wikibase:label { bd:serviceParam wikibase:language 
"[AUTO_LANGUAGE]". }
    }

TASK DETAIL
  https://phabricator.wikimedia.org/T272490

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Ladsgroup
Cc: Lydia_Pintscher, Aklapper, Ladsgroup, Akuckartz, Nandana, Lahi, Gq86, 
GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, 
Wikidata-bugs, aude, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to