[gnome-online-miners/sam/tracker3: 3/5] Add DataObject class to our resources




commit eea5992f4b6f594f35a8bb84a4fcd04cab0536ec
Author: Sam Thursfield <sam afuera me uk>
Date:   Fri May 15 01:37:28 2020 +0200

    Add DataObject class to our resources
    
    We need this to set nie:dataSource property. I don't understand
    how this worked in the past.

 src/gom-tracker.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/gom-tracker.c b/src/gom-tracker.c
index 5666c16..63a4c29 100644
--- a/src/gom-tracker.c
+++ b/src/gom-tracker.c
@@ -208,7 +208,7 @@ gom_tracker_sparql_connection_insert_or_replace_triple (TrackerSparqlConnection
   insert = g_string_new (NULL);
   g_string_append_printf
     (insert,
-     "INSERT OR REPLACE %s { <%s> a nie:InformationElement ; %s %s }",
+     "INSERT OR REPLACE %s { <%s> a nie:InformationElement, nie:DataObject ; %s %s }",
      graph_str, resource, property_name, quoted);
   g_free (quoted);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]