[redland-dev] SPARQL queries in rdfproc using Virtuoso
Hugh Williams
hwilliams at openlinksw.com
Mon May 10 00:24:07 CEST 2010
Hi Rymvydas,
Have you built the Redland Storage Provider into your Redland RDF Framework library as detailed at:
http://virtuoso.openlinksw.com/dataspace/dav/wiki/Main/VirtRDFDriverRedland
and ran the provides storage test programs to verified its operation ?
Best Regards
Hugh Williams
Professional Services
OpenLink Software
Web: http://www.openlinksw.com
Support: http://support.openlinksw.com
Forums: http://boards.openlinksw.com/support
Twitter: http://twitter.com/OpenLink
On 9 May 2010, at 20:44, Rimvydas wrote:
> I can add triples to virtuoso using rdfproc, but SPARQL queries just don't seem to work.
>
> Triple is added successfully:
> $ rdfproc -r xml -s virtuoso -t "user='usr',password='psw',dsn='VOS'" somecontext add aa bb cc
> rdfproc: added triple to the graph
>
> Triple can be found using "find" command:
> $ rdfproc -r xml -s virtuoso -t "user='usr',password='psw',dsn='VOS'" somecontext find aa bb cc
> Matched triple: {[aa], [bb], "cc"} with context [somecontext]
> rdfproc: matching triples: 1
>
> However, SPARQL queries return 0 results:
> $ rdfproc -s virtuoso -t "user='usr',password='psw',dsn='VOS'" somecontext query sparql - "SELECT * WHERE {?s ?p ?o}"
> rdfproc: Query returned bindings results:
> rdfproc: Query returned 0 results
>
> Am I missing something here?
>
> Note: I can run a similar query successfully in ODBC's ISQL like this:
> CALL DB.DBA.SPARQL_EVAL('SELECT * FROM NAMED <somecontext> {GRAPH <somecontext> {?s ?p ?o}}', NULL, 0)
> ...
> 1 row fetched
>
> --
> Rimvydas
> _______________________________________________
> redland-dev mailing list
> redland-dev at lists.librdf.org
> http://lists.librdf.org/mailman/listinfo/redland-dev
More information about the redland-dev
mailing list