[redland-dev] Another SPARQL Syntax Error

Donald Ephraim Curtis dcurtis at cs.uiowa.edu
Tue Dec 13 09:13:05 GMT 2005


This query:

SELECT ?value WHERE ( <file://home/mp/development/rci/systems/test> 
<http://milkbox.net/rad-schema#Components> ?node . ?node ?property ?value )

gives me this error:

librdf error URI file:///usr/local/mp/development/rsi/src/:1 - SPARQL 
syntax error at '.'
librdf error URI file:///usr/local/mp/development/rsi/src/:1 - syntax 
error, unexpected $end, expecting ')'


now, i know my syntax may be wrong because i'm basically back to the 
original problem i was working on.

basically here is the RDF:

     <rdf:Description about="file://home/mp/development/rci/systems/test">
         <rdf:type rdf:resource="http://milkbox.net/rsi-schema#System" />
         <c:Components>
             <rdf:Seq>
                 <rdf:_1 
rdf:resource="file://home/mp/development/rci/components/rng" />
                 <rdf:_2 
rdf:resource="file://home/mp/development/rci/components/sum" /> 
                 </rdf:Seq>
         </c:Components>
         <c:ShortDescription>Test Component</c:ShortDescription>
         <c:LongDescription>This is used for testing the two 
components.</c:LongDescription>
     </rdf:Description>

sorry for line wraps.  just trying to get the

file://home/mp/development/rci/components/rng
file://home/mp/development/rci/components/sum

nodes and having a hell of a time.




More information about the redland-dev mailing list