[Tracker] RDF Queries



For a while now, I've been intrigued by Tracker's supposed ability to use RDF queries. I took some time out tonight to see if I could figure them out, and I've utterly failed. I filed a bug on the documentation noting that this is utterly lacking, and it occurred to me that I could put some time towards writing it up, if I had the right resources.

So far, I've been stymied by the RDF queries. For example, why doesn't something like this work:
<rdfq:Condition>
  <rdfq:equals>
    <rdfq:Property name="Audio:Album" />
    <rdf:String>Abbey Road</rdf:String>
  </rdfq:equals>
</rdfq:Condition>

It seems simple enough, but returns no results, which is baffling. I guess my question is whether there are any useful starting points for figuring this out. I found the examples and metadata descriptions in the source code, but I couldn't find things like the logic operators in the RDF (e.g. equals, inSet, etc.), nor why my queries wouldn't work.

Any help would be appreciated, and if I can find the time, I'd be happy to work on documentation, if it's not done yet.

Mike



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