summaryrefslogtreecommitdiff
path: root/src/libtracker-data/tracker-ontology.c
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2015-10-18 22:41:27 +0200
committerCarlos Garnacho <carlosg@gnome.org>2015-10-19 14:07:18 +0200
commitca5d939fed4715398a8f424e746626e9905e04b6 (patch)
tree5b0681158e47d596f47f23cb0763e06c36d5749d /src/libtracker-data/tracker-ontology.c
parente825bf2275f16319032ba39aed4b10d0a75c518f (diff)
downloadtracker-ca5d939fed4715398a8f424e746626e9905e04b6.tar.gz
libtracker-data: Add support for BIND
The BIND form allows a value to be assigned to a variable from a graph pattern: SELECT ?u ?hour { ?u a rdfs:Resource . nfo:fileLastModified ?modified BIND (HOUR (?modified) AS ?hour) } It will be specially useful on places where we use the result of a calculation on more than one places, eg. on SELECT and FILTER(). It will also be useful combined with DELETE...INSERT...WHERE to perform complex mass-updates in a single query. http://www.w3.org/TR/sparql11-query/#bind
Diffstat (limited to 'src/libtracker-data/tracker-ontology.c')
0 files changed, 0 insertions, 0 deletions