GNOME Bugzilla – Bug 684257
tracker:uri-is-descendant doesn't work with some resource types
Last modified: 2021-05-26 22:23:46 UTC
I wanted to use tracker:uri-is-descendant to fix/workaround bug 666749 in Documents, but it looks like it doesn't work for all types of resource. For example: $ tracker-sparql -q "SELECT ?urn nie:url(?urn) WHERE { ?urn a nfo:Document . FILTER (tracker:uri-is-descendant('file:///home/cosimoc/Downloads/', nie:url(?urn))) }" => 112 results tracker-sparql -q "SELECT ?urn nie:url(?urn) WHERE { ?urn a nie:InformationElement . FILTER (tracker:uri-is-descendant('file:///home/cosimoc/Downloads/', nie:url(?urn))) }" => 0 results This is odd because nfo:Document is a direct subclass of nie:InformationElement.
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.