Re: [Tracker] Tracker import/export data
- From: Adrien Bustany <abustany gnome org>
- To: Lucian Torje <torjelucian gmail com>
- Cc: tracker-list gnome org
- Subject: Re: [Tracker] Tracker import/export data
- Date: Mon, 31 Jan 2011 19:47:48 +0200
Le Mon, 31 Jan 2011 12:26:34 +0200,
Lucian Torje <torjelucian gmail com> a écrit :
Hello all,
Is there a way to export the tracker data using SPARQL queries (same
way as the extractors construct the metadata about files) and import
them as INSERT queries on a remote computer having maybe a different
version of tracker installed?
(I'm trying to find a way to import/export tracker data from one
device to another in a way that it does not depend on the devices or
tracker version).
Thank you,
Lucian Torje
Hello Lucian
as far as I know, there is no such export tool, but there is
tracker-import which can import ttl files. Writing a client using
tracker-sparql that writes to a ttl file shouldn't be too complex.
However, you can't run unrestricted predicate queries using traker (so
no SELECT ?s ?p ?o WHERE {?s ?p ?o}), not sure if selecting first all
the rdfs:Resource, and then SELECT ?p ?o WHERE { <uri> ?p ?o } would be
enough.
Cheers
Adrien
[
Date Prev][Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]