[Tracker] Is this RDF query correct?
- From: Laurent Aguerreche <laurent aguerreche free fr>
- To: tracker-list gnome org
- Subject: [Tracker] Is this RDF query correct?
- Date: Thu, 31 Aug 2006 21:18:01 +0200
Hello,
I try to use this RDF query:
<rdfq:Condition>
<rdfq:and>
<rdfq:or>
<rdfq:contains>
<rdfq:Property name="Doc.Title" />
<rdf:String>opengl</rdf:String>
</rdfq:contains>
<rdfq:contains>
<rdfq:Property name="Doc.Subject" />
<rdf:String>opengl</rdf:String>
</rdfq:contains>
<rdfq:contains>
<rdfq:Property name="Doc.Keywords" />
<rdf:String>opengl</rdf:String>
</rdfq:contains>
<rdfq:contains>
<rdfq:Property name="Doc.Comments" />
<rdf:String>opengl</rdf:String>
</rdfq:contains>
</rdfq:or>
<rdfq:contains>
<rdfq:Property name="File.Format" />
<rdf:String>pdf</rdf:String>
</rdfq:contains>
</rdfq:and>
</rdfq:Condition>
and it fails with this message :
Error in rdf query parse: Line 12 character 1: CONTAINS element not
expected here
What is the problem? How can I do a OR between numerous 'contains'
encapsulated itself in a AND? Is it legal?
Laurent.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]