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

TASK DESCRIPTION

Both of these queries show unhelpful errors instead of a helpful warning message like "no data was found". Also, looking at the code, there seems to be no way for the visualizer to show a custom error message in the error band above visualizer.

Returns a single empty object

#defaultView:Map
SELECT ?place ?placeLabel ?location
WHERE {}

{
  "head" : {    "vars" : [ "place", "placeLabel", "location" ]  },
  "results" : {    "bindings" : [ { } ]  }
}

Returns empty response

#defaultView:Map
SELECT ?place ?placeLabel ?location
WHERE { wd:Q0 wdt:P0 ?location  . }
{
  "head" : {    "vars" : [ "place", "placeLabel", "location" ]  },
  "results" : {    "bindings" : [ ]  }
}

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

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

To: Yurik
Cc: Aklapper, Yurik, Lucas_Werkmeister_WMDE, GoranSMilovanovic, QZanden, EBjune, merbst, Avner, debt, Gehel, Jonas, FloNight, Xmlizer, jkroll, Smalyshev, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to