Lucas_Werkmeister_WMDE added a comment.

If you relax the acceptance criteria (I haven’t checked your list in detail), then there is a way to automatically reformat SPARQL queries: edit them using the query helper. Anything you do in the query helper (e. g. add a limit and then remove it again) parses and then stringifies the query, effectively normalizing it. There have also recently been efforts to improve SPARQL.js’s stringification, see #58 – we should probably update our version.


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

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

To: Lucas_Werkmeister_WMDE
Cc: Lucas_Werkmeister_WMDE, abian, Aklapper, Lahi, Gq86, GoranSMilovanovic, QZanden, EBjune, merbst, LawExplorer, Salgo60, Jonas, Xmlizer, jkroll, Smalyshev, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Lydia_Pintscher, Mbch331
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to