Re: [Tracker] Object / RDF storage



Sorry for the delay, reply inline :)

On Sat, May 16, 2009 at 9:02 AM, Philip Van Hoof <spam pvanhoof be> wrote:


This AppDevelopersManual is outdated.


Dho!

Most important things that you need to know about for Tracker's first
next release series (the 0.7 release series) is the Nepomuk ontology and
SPARQL as query language.

Âo. http://www.semanticdesktop.org/ontologies/
Âo. http://www.w3.org/TR/rdf-sparql-query/


o. Right now you simply give the SPARQL query as a "s" (a string over
 DBus) to a method:

 org.freedesktop.Tracker.Resources, /org/freedesktop/Tracker/Resources
 on service org.freedesktop.Tracker (note that these might change in
 future)

 SparqlQuery (query as s) -> result as array of [array of string]


You also have

o. Deleting triples

 Delete (subject, predicate, object)

o. Inserting triples (individual ones)

 Insert (subject, predicate, object)

o. Loading a Turtle file into the store (bulk insert):

 Load (uri as string)

o. Update extension which implements:
 http://jena.hpl.hp.com/~afs/SPARQL-Update.html

 SparqlUpdate


And you have the class signals. The online documentation for this is
updated and available here:

http://live.gnome.org/Tracker/Documentation/SignalsOnChanges


ok, so this api is accessible only trought dbus? no lib avaiable?

there is an api that permit to store object and their metadata that
allow me to forget rdf?

Note yet for master. Except some of the tools and maybe a few very
simple APIs (get all files that are audio, for example).


ok, so for its not possible, for example, retrive all file and their
metadata for files that are audio (for example)?

Actually i haven't looked the code, but reading around i hope that
tracker can do all things i need, but i want a confirm :)

Confirmed


:)


-- 
michele tameni
http://www.amdplanet.it



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