[redland-dev] SPARQL

Dave Beckett dave at dajobe.org
Sat Jan 7 20:07:33 GMT 2006


Donald Ephraim Curtis wrote:
> So, i'm trying to run some SPARQL tests with the C redland libraries.
> 
> Everytime i do a WHERE { ... } it gives me a syntax error.  Namely,
> 
> librdf error URI file:///usr/local/mp/development/rsi/src/:1 - syntax
> error, unexpected '?'
> rad_systems_to_glist : Failed to gather query results.
> 
> from this query:
> 
> SELECT ?system WHERE { ?system
> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
> <http://milkbox.net/rsi-schema#System> }
> 
> am i doing something wrong?

I had an attempt to duplicate this but failed.  Maybe you are using an
older library than me.  If it fails on http://librdf.org/query then let
me know.

Dave


More information about the redland-dev mailing list