[tracker/tracker-0.10] libtracker-extract: Generate correct Sparql for the regions of interest
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-0.10] libtracker-extract: Generate correct Sparql for the regions of interest
- Date: Thu, 15 Sep 2011 18:19:07 +0000 (UTC)
commit 3299af32df589e59cd0341553c3cfca63f03759c
Author: Ivan Frade <ivan frade gmail com>
Date: Wed Sep 14 18:21:30 2011 +0300
libtracker-extract: Generate correct Sparql for the regions of interest
src/libtracker-extract/tracker-xmp.c | 9 ---------
1 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/src/libtracker-extract/tracker-xmp.c b/src/libtracker-extract/tracker-xmp.c
index c32bb19..a0ed07f 100644
--- a/src/libtracker-extract/tracker-xmp.c
+++ b/src/libtracker-extract/tracker-xmp.c
@@ -1286,17 +1286,8 @@ tracker_xmp_apply_regions (TrackerSparqlBuilder *preupdate,
}
if (region->link_uri && region->link_class) {
- tracker_sparql_builder_insert_open (preupdate, NULL);
- tracker_sparql_builder_subject_variable (preupdate, "region");
tracker_sparql_builder_predicate (preupdate, "nfo:roiRefersTo");
tracker_sparql_builder_object_iri (preupdate, region->link_uri);
- tracker_sparql_builder_insert_close (preupdate);
-
- tracker_sparql_builder_where_open (preupdate);
- tracker_sparql_builder_subject_iri (preupdate, region->link_uri);
- tracker_sparql_builder_predicate (preupdate, "a");
- tracker_sparql_builder_object (preupdate, region->link_class);
- tracker_sparql_builder_where_close (preupdate);
}
if (graph) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]