Hi,<br><br>Thank you!<br><br>I used the latest ones:<br>$ rdfproc -v<br>
1.0.10<br>and<br>redland-bindings-1.0.10.1 (for Python)<br><br><div class="gmail_quote">On Mon, May 10, 2010 at 2:05 PM, Hugh Williams <span dir="ltr"><<a href="mailto:hwilliams@openlinksw.com">hwilliams@openlinksw.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div style="word-wrap: break-word;">Hi Rimvydas,<div><br></div><div>We are going to check this against the latest Virtuoso 6.1.3127 builds. Can you please confirm which version of Redland you built against 1.0.8 , 1.0.9 or other ? As the last version we tested against was 1.0.8 ...</div>
<div><div class="im"><br><div>
<span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div style="word-wrap: break-word;">
<div><div>Best Regards</div><div>Hugh Williams</div><div>Professional Services</div><div>OpenLink Software</div><div>Web: <a href="http://www.openlinksw.com" target="_blank">http://www.openlinksw.com</a></div><div>Support: <a href="http://support.openlinksw.com" target="_blank">http://support.openlinksw.com</a></div>
<div>Forums: <a href="http://boards.openlinksw.com/support" target="_blank">http://boards.openlinksw.com/support</a></div></div><div><span style="font-size: medium;"><span style="font-size: 12px;">Twitter: <a href="http://twitter.com/OpenLink" target="_blank">http://twitter.com/OpenLink</a></span></span></div>
</div></span></span>
</div>
<br></div><div><div></div><div class="h5"><div><div>On 10 May 2010, at 00:39, Rimvydas wrote:</div><br><blockquote type="cite">Hi,<br><br>I recompiled redland once again:<br>...<br>checking for UnixODBC support... yes<br>
...<br>Triple stores enabled : memory file hashes trees mysql sqlite postgresql virtuoso<br><br>Running the test confirms what I observed:<br>
<br>$ utils/redland-virtuoso-test "dsn='VOS',user='usr',password='psw'"<br> 1: Remove all triples in <<a href="http://red/" target="_blank">http://red</a>> context<br>**PASSED**: removed context triples from the graph<br>
2: Add triples to <<a href="http://red/" target="_blank">http://red</a>> context<br>**PASSED**: add triple to context<br> 3: Print all triples in <<a href="http://red/" target="_blank">http://red</a>> context<br>
[[<br>]]<br>**PASSED**:<br> 4: Count of triples in <<a href="http://red/" target="_blank">http://red</a>> context<br>
**PASSED**: graph has 6 triples<br> 5: Exec: ARC aa bb <br>**FAILED**: Failed to get arc<br> 6: Exec: ARCS aa cc <br>: matching nodes: 0<br>**PASSED**:<br> 7: Exec: ARCS-IN cc <br>**PASSED**: matching arcs: 0<br>
8: Exec: ARCS-OUT aa <br>**PASSED**: matching arcs: 0<br> 9: Exec: CONTAINS aa bb1 cc <br>**PASSED**: the graph contains the triple<br> 10: Exec: FIND aa - - <br>**PASSED**: matching triples: 0<br> 11: Exec: HAS-ARC-IN cc bb <br>
**FAILED**: the graph does not contain the arc<br> 12: Exec: HAS-ARC-OUT aa bb <br>**FAILED**: the graph does not contain the arc<br> 13: Exec: SOURCE aa cc <br>**FAILED**: Failed to get source<br> 14: Exec: SOURCES bb cc <br>
: matching nodes: 0<br>**PASSED**:<br> 15: Exec: TARGET aa bb <br>**FAILED**: Failed to get target<br> 16: Exec: TARGETS aa bb <br>: matching nodes: 0<br>**PASSED**:<br> 17: Exec: REMOVE aa bb1 cc <br>**PASSED**: removed triple from the graph<br>
18: Exec: QUERY "CONSTRUCT {?s ?p ?o} FROM <<a href="http://red/" target="_blank">http://red</a>> WHERE {?s ?p ?o}" <br>rdf_model.c:1393: (librdf_model_query_execute) assertion failed: object pointer of type librdf_query is NULL.<br>
**FAILED**: Query of model with 'CONSTRUCT {?s ?p ?o} FROM <<a href="http://red/" target="_blank">http://red</a>> WHERE {?s ?p ?o}' failed<br>rdf_query.c:390: (librdf_free_query) assertion failed: object pointer of type librdf_query is NULL.<br>
rdf_query.c:390: (librdf_free_query) assertion failed: object pointer of type librdf_query is NULL.<br> 19: Exec1: QUERY_AS_BINDINGS "SELECT * WHERE {graph <<a href="http://red/" target="_blank">http://red</a>> { ?s ?p ?o }}" <br>
rdf_model.c:1393: (librdf_model_query_execute) assertion failed: object pointer of type librdf_query is NULL.<br>**FAILED**: Query of model with 'SELECT * WHERE {graph <<a href="http://red/" target="_blank">http://red</a>> { ?s ?p ?o }}' failed<br>
rdf_query.c:390: (librdf_free_query) assertion failed: object pointer of type librdf_query is NULL.<br>rdf_query.c:390: (librdf_free_query) assertion failed: object pointer of type librdf_query is NULL.<br> 20: Exec2: QUERY_AS_BINDINGS "SELECT * WHERE {graph <<a href="http://red/" target="_blank">http://red</a>> { ?s ?p ?o }}" <br>
rdf_model.c:1393: (librdf_model_query_execute) assertion failed: object pointer of type librdf_query is NULL.<br>**FAILED**: Query of model with 'SELECT * WHERE {graph <<a href="http://red/" target="_blank">http://red</a>> { ?s ?p ?o }}' failed<br>
rdf_query.c:390: (librdf_free_query) assertion failed: object pointer of type librdf_query is NULL.<br>rdf_query.c:390: (librdf_free_query) assertion failed: object pointer of type librdf_query is NULL.<br>=============================================<br>
PASSED: 12 FAILED: 8<br><br><br>Maybe it is somehow related with Virtuoso's version I use (6.1.1.3127)?<br><br><br><div class="gmail_quote">On Mon, May 10, 2010 at 1:24 AM, Hugh Williams <span dir="ltr"><<a href="mailto:hwilliams@openlinksw.com" target="_blank">hwilliams@openlinksw.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi Rymvydas,<br>
<br>
Have you built the Redland Storage Provider into your Redland RDF Framework library as detailed at:<br>
<br>
<a href="http://virtuoso.openlinksw.com/dataspace/dav/wiki/Main/VirtRDFDriverRedland" target="_blank">http://virtuoso.openlinksw.com/dataspace/dav/wiki/Main/VirtRDFDriverRedland</a><br>
<br>
and ran the provides storage test programs to verified its operation ?<br>
<br>
Best Regards<br>
Hugh Williams<br>
Professional Services<br>
OpenLink Software<br>
Web: <a href="http://www.openlinksw.com/" target="_blank">http://www.openlinksw.com</a><br>
Support: <a href="http://support.openlinksw.com/" target="_blank">http://support.openlinksw.com</a><br>
Forums: <a href="http://boards.openlinksw.com/support" target="_blank">http://boards.openlinksw.com/support</a><br>
Twitter: <a href="http://twitter.com/OpenLink" target="_blank">http://twitter.com/OpenLink</a><br>
<div><div></div><div><br>
On 9 May 2010, at 20:44, Rimvydas wrote:<br>
<br>
> I can add triples to virtuoso using rdfproc, but SPARQL queries just don't seem to work.<br>
><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>
</div></div>> _______________________________________________<br>
> redland-dev mailing list<br>
> <a href="mailto:redland-dev@lists.librdf.org" target="_blank">redland-dev@lists.librdf.org</a><br>
> <a href="http://lists.librdf.org/mailman/listinfo/redland-dev" target="_blank">http://lists.librdf.org/mailman/listinfo/redland-dev</a><br>
<br>
</blockquote></div><br><br clear="all"><br>-- <br>Rimvydas Naktinis<br>
</blockquote></div><br></div></div></div></div></blockquote></div><br><br clear="all"><br>-- <br>Rimvydas Naktinis<br>