I can add triples to virtuoso using rdfproc, but SPARQL queries just don't seem to work.<br clear="all"><br>Triple is added successfully:<br>$ rdfproc -r xml -s virtuoso -t "user='usr',password='psw',dsn='VOS'" somecontext add aa bb cc<br>
rdfproc: added triple to the graph<br><br>Triple can be found using "find" command:<br>$ rdfproc -r xml -s virtuoso -t "user='usr',password='psw',dsn='VOS'" somecontext find aa bb cc<br>
Matched triple: {[aa], [bb], "cc"} with context [somecontext]<br>rdfproc: matching triples: 1<br><br>However, SPARQL queries return 0 results:<br>$ rdfproc -s virtuoso -t "user='usr',password='psw',dsn='VOS'" somecontext query sparql - "SELECT * WHERE {?s ?p ?o}"<br>
rdfproc: Query returned bindings results:<br>rdfproc: Query returned 0 results<br><br>Am I missing something here?<br><br>Note: I can run a similar query successfully in ODBC's ISQL like this:<br>CALL DB.DBA.SPARQL_EVAL('SELECT * FROM NAMED <somecontext> {GRAPH <somecontext> {?s ?p ?o}}', NULL, 0)<br>
...<br>1 row fetched<br><br>-- <br>Rimvydas<br>