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

TASK DESCRIPTION

When I'm typing in the WQS query form, help is provided in terms of variable names and such, but if I'm typing a SPARQL command like "SHA512", "group_concat", "FILTER" or "BIND" or even just an asterisk, no help is available as to how this command can or should be used (nor can I search for example queries using that command - see T154768).

It would be very useful to have some sort of help structure that makes users aware of SPARQL syntax, including parentheses, curly brackets and things like ";.:!*/+" or Wikidata specifics like "wdt:", "p:", "pq", "psv", "wdno" etc.

This help could become available either

  • as characters are being typed in or
  • by clicking on/ hovering over characters that are already there (e.g. in an example query) or
  • statically from a list of supported commands/ operators/ namespaces etc. that are generally available for such a query (similar to the special characters list in edit mode on many wikis), though this could perhaps be limited to things not yet used in a given query if help for the used ones is already there as per the two bullets above.

.

If this were to be complemented by a way to see commands that


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

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

To: Daniel_Mietchen
Cc: Jonas, Daniel_Mietchen, Aklapper, EBjune, merbst, Avner, debt, Gehel, D3r1ck01, FloNight, Xmlizer, Izno, jkroll, Smalyshev, Wikidata-bugs, Jdouglas, aude, Deskana, Manybubbles, Mbch331
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to