Re: [Tracker] How to get newly added audio files?

2011-04-15 Thread simon hong
2011/4/15 Philip Van Hoof > On Fri, 2011-04-15 at 10:27 +0900, simon hong wrote: > > Hey Simon, > > > SELECT MAX (?t) WHERE { ?u a nmm:MusicPiece; tracker:added ?t } > > The result is string formatted xsd:dateTime. > > I want to convert above result to another format like timezone. > > So, I made

Re: [Tracker] How to get newly added audio files?

2011-04-15 Thread Philip Van Hoof
On Fri, 2011-04-15 at 10:27 +0900, simon hong wrote: Hey Simon, > SELECT MAX (?t) WHERE { ?u a nmm:MusicPiece; tracker:added ?t } > The result is string formatted xsd:dateTime. > I want to convert above result to another format like timezone. > So, I made following query to convert xsd:dateTime,

Re: [Tracker] How to get newly added audio files?

2011-04-14 Thread simon hong
2011/4/14 Adrien Bustany > Le Thu, 14 Apr 2011 10:37:27 +0200, > Philip Van Hoof a écrit : > > > On Thu, 2011-04-14 at 17:19 +0900, simon hong wrote: > > > > There are two arrays, inserted and deleted. The inserted triples are > > in inserted and the deleted triples are in deleted. > > > > An ov

Re: [Tracker] How to get newly added audio files?

2011-04-14 Thread Adrien Bustany
Le Thu, 14 Apr 2011 10:37:27 +0200, Philip Van Hoof a écrit : > On Thu, 2011-04-14 at 17:19 +0900, simon hong wrote: > > There are two arrays, inserted and deleted. The inserted triples are > in inserted and the deleted triples are in deleted. > > An overwrite means that there's one in inserted

Re: [Tracker] How to get newly added audio files?

2011-04-14 Thread Philip Van Hoof
On Thu, 2011-04-14 at 17:19 +0900, simon hong wrote: There are two arrays, inserted and deleted. The inserted triples are in inserted and the deleted triples are in deleted. An overwrite means that there's one in inserted and one in deleted (one complete graphupdated signal is transactional). >

Re: [Tracker] How to get newly added audio files?

2011-04-14 Thread simon hong
Hello, 2011/3/30 simon hong > Thank you Adrien, Martyn and Philip! > > Most of my questions are solved :) > > 2011/3/30 Philip Van Hoof : > > On Wed, 2011-03-30 at 18:02 +0900, simon hong wrote: > >> 2011/3/28 Adrien Bustany > > > >> > I guess you can use the tracker:modified or tracker:added p

Re: [Tracker] How to get newly added audio files?

2011-03-31 Thread simon hong
Hi, 2011/3/30 Philip Van Hoof > On Wed, 2011-03-30 at 18:02 +0900, simon hong wrote: > > 2011/3/28 Adrien Bustany > > > > I guess you can use the tracker:modified or tracker:added properties > here > > > (I'd recommend tracker:modified, but am not sure how it's defined for > newly > > > saved r

Re: [Tracker] How to get newly added audio files?

2011-03-30 Thread simon hong
Thank you Adrien, Martyn and Philip! Most of my questions are solved :) 2011/3/30 Philip Van Hoof : > On Wed, 2011-03-30 at 18:02 +0900, simon hong wrote: >> 2011/3/28 Adrien Bustany > >> > I guess you can use the tracker:modified or tracker:added properties here >> > (I'd recommend tracker:modi

Re: [Tracker] How to get newly added audio files?

2011-03-30 Thread Philip Van Hoof
On Wed, 2011-03-30 at 18:02 +0900, simon hong wrote: > 2011/3/28 Adrien Bustany > > I guess you can use the tracker:modified or tracker:added properties here > > (I'd recommend tracker:modified, but am not sure how it's defined for newly > > saved resources). > > Now, I use "SELECT nie:url(?u) W

Re: [Tracker] How to get newly added audio files?

2011-03-30 Thread Martyn Russell
On 30/03/11 10:02, simon hong wrote: 2011/3/28 Adrien Bustany Hi, Now, I use "SELECT nie:url(?u) WHERE {?u a nfo:Audio}" to get audio files. I don't know how to use above properties (tracker:modified or tracker:added) for fetching newly added files. Can you give some advice how to make sparq

Re: [Tracker] How to get newly added audio files?

2011-03-30 Thread simon hong
2011/3/28 Adrien Bustany > > On Mon, 28 Mar 2011 13:52:24 +0900, simon hong wrote: >> >> Dear Tracker folks, >> >> I want to write small  program by using tracker. >> (I want to use tracker because tracker can add new files automatically.) >> >> That program loops infinitely, and gets newly added

Re: [Tracker] How to get newly added audio files?

2011-03-27 Thread Adrien Bustany
On Mon, 28 Mar 2011 13:52:24 +0900, simon hong wrote: Dear Tracker folks, I want to write small program by using tracker. (I want to use tracker because tracker can add new files automatically.) That program loops infinitely, and gets newly added audio file list from tracker. At first loop,

[Tracker] How to get newly added audio files?

2011-03-27 Thread simon hong
Dear Tracker folks, I want to write small program by using tracker. (I want to use tracker because tracker can add new files automatically.) That program loops infinitely, and gets newly added audio file list from tracker. At first loop, it gets all audio files from tracker. And next loop (mayb