GNOME Bugzilla – Bug 658838
TrackerSparqlBuilder uses deprecated graph syntax
Last modified: 2021-05-26 22:23:53 UTC
tracker_sparql_builder_insert_open(), insert_silent_open() and delete_open() take an optional 'graph' parameter. It uses the deprecated 'INSERT INTO' syntax. It would be nice if it output the new GRAPH { syntax instead to avoid the need to call tracker_sparql_builder_graph_open()/close() explicitly.
(In reply to comment #0) > tracker_sparql_builder_insert_open(), insert_silent_open() and delete_open() > take an optional 'graph' parameter. It uses the deprecated 'INSERT INTO' > syntax. It would be nice if it output the new GRAPH { syntax instead to avoid > the need to call tracker_sparql_builder_graph_open()/close() explicitly. Deprecated by WHO? I thought INSERT INTO and INSERT do the exact same thing in SQL, has the spec changed?
The SPARQL 1.1 update spec doesn't have "INSERT INTO" at all, only "INSERT { GRAPH" and "WITH <graph> INSERT": http://www.w3.org/TR/sparql11-update/#deleteInsert So I guess INSERT INTO is "non-standard" rather than "deprecated."
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new enhancement request ticket at https://gitlab.gnome.org/GNOME/tracker/-/issues/ Thank you for your understanding and your help.