On Wed, 2010-08-18 at 18:36 +0200, Mildred Ki'Lya wrote: > On 2010-08-18 18:16, Mildred Ki'Lya wrote: > > So, if I understood everything well, I should have something like: > > > > > > nmo:Mailbox -> nie:hasPart -> nmo:MailboxDataObject -> nie:interpretedAs > > -> nmo:Email > > > > and of course > > > > nmo:Email -> nie:isStoredAs -> nmo:MailboxDataObject -> nie:isPartOf -> > > nmo:Mailbox > > Additionally, how do I generate the URI for the different objects?
As described here: http://live.gnome.org/Tracker/Documentation/Examples/SPARQL/Email#Storage <quote> To get a good scheme for forming URLs for IMAP, read RFC 5092. The FETCH command in IMAP explains how to use sections at page 55. For a URL scheme for POP read RFC 2384. Avoid inventing your own URL scheme. You want to use these URLs for the value of nie:url in RDF. You can also use them for the subjects of your resources, which is what I will do in the examples that follow. </quote> > For nmo:Mailbox, this is just the filename (uri provided by Tracker). > > But for nmo:MailboxDataObject and nmo:Email, what are the most > appropriate URI? I thought of using "<file-uri>#<n>" for > MailboxDataObject and "urn:email:<message-id>" for Email. Do you think > it is appropriate? > > Mildred > > PS: I'm writing the plugin using Vala, I prefer to plain C :) Sure Cheers, Philip -- Philip Van Hoof freelance software developer Codeminded BVBA - http://codeminded.be _______________________________________________ tracker-list mailing list tracker-list@gnome.org http://mail.gnome.org/mailman/listinfo/tracker-list