• Carlos Garnacho's avatar
    libtracker-data: Use "tracker_triples" table in variable predicate queries · 5d186707
    Carlos Garnacho authored
    There were some special cases that were handled individually:
    - select * { <s> ?p ?o } was handled through querying the rdf:types of <s>,
      and performing an UNION of all related tables. This doesn't play along
      with parameterized variables where the subject might be a variable assigned
      later through the TrackerSparqlStatement.
    - select * { ?s ?p <o> } used similar tricks (querying <o> this time). It had
      all those drawbacks, plus it only worked for properties with rdfs:Resource
      range.
    - select * { ?s ?p ?o . ?p rdfs:domain <dom> } was handled specially.
    - select * { ?s ?p ?o } is unsupported
    - select * { <s> ?p <o> } was silently unhandled
    
    All those combinations are transparently handled with the tracker_triples
    virtual table now.
    5d186707
Name
Last commit
Last update
data Loading commit data...
docs Loading commit data...
examples Loading commit data...
po Loading commit data...
src Loading commit data...
tests Loading commit data...
utils Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
COPYING.GPL Loading commit data...
COPYING.LGPL Loading commit data...
ChangeLog.pre-0-6-93 Loading commit data...
MAINTAINERS Loading commit data...
NEWS Loading commit data...
README Loading commit data...
config.h.meson.in Loading commit data...
gitlog-to-changelog Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...
tracker.doap Loading commit data...