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">&lt;<a href="mailto:hwilliams@openlinksw.com">hwilliams@openlinksw.com</a>&gt;</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 &quot;dsn=&#39;VOS&#39;,user=&#39;usr&#39;,password=&#39;psw&#39;&quot;<br>  1: Remove all triples in &lt;<a href="http://red/" target="_blank">http://red</a>&gt; context<br>**PASSED**: removed context triples from the graph<br>

  2: Add triples to &lt;<a href="http://red/" target="_blank">http://red</a>&gt; context<br>**PASSED**: add triple to context<br>  3: Print all triples in &lt;<a href="http://red/" target="_blank">http://red</a>&gt; context<br>
[[<br>]]<br>**PASSED**:<br>  4: Count of triples in &lt;<a href="http://red/" target="_blank">http://red</a>&gt; 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 &quot;CONSTRUCT {?s ?p ?o} FROM &lt;<a href="http://red/" target="_blank">http://red</a>&gt; WHERE {?s ?p ?o}&quot; <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 &#39;CONSTRUCT {?s ?p ?o} FROM &lt;<a href="http://red/" target="_blank">http://red</a>&gt; WHERE {?s ?p ?o}&#39; 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 &quot;SELECT * WHERE {graph &lt;<a href="http://red/" target="_blank">http://red</a>&gt; { ?s ?p ?o }}&quot; <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 &#39;SELECT * WHERE {graph &lt;<a href="http://red/" target="_blank">http://red</a>&gt; { ?s ?p ?o }}&#39; 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 &quot;SELECT * WHERE {graph &lt;<a href="http://red/" target="_blank">http://red</a>&gt; { ?s ?p ?o }}&quot; <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 &#39;SELECT * WHERE {graph &lt;<a href="http://red/" target="_blank">http://red</a>&gt; { ?s ?p ?o }}&#39; 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&#39;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">&lt;<a href="mailto:hwilliams@openlinksw.com" target="_blank">hwilliams@openlinksw.com</a>&gt;</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>
&gt; I can add triples to virtuoso using rdfproc, but SPARQL queries just don&#39;t seem to work.<br>
&gt;<br>
&gt; Triple is added successfully:<br>
&gt; $ rdfproc -r xml -s virtuoso -t &quot;user=&#39;usr&#39;,password=&#39;psw&#39;,dsn=&#39;VOS&#39;&quot; somecontext add aa bb cc<br>
&gt; rdfproc: added triple to the graph<br>
&gt;<br>
&gt; Triple can be found using &quot;find&quot; command:<br>
&gt; $ rdfproc -r xml -s virtuoso -t &quot;user=&#39;usr&#39;,password=&#39;psw&#39;,dsn=&#39;VOS&#39;&quot; somecontext find aa bb cc<br>
&gt; Matched triple: {[aa], [bb], &quot;cc&quot;} with context [somecontext]<br>
&gt; rdfproc: matching triples: 1<br>
&gt;<br>
&gt; However, SPARQL queries return 0 results:<br>
&gt; $ rdfproc -s virtuoso -t &quot;user=&#39;usr&#39;,password=&#39;psw&#39;,dsn=&#39;VOS&#39;&quot; somecontext query sparql - &quot;SELECT * WHERE {?s ?p ?o}&quot;<br>
&gt; rdfproc: Query returned bindings results:<br>
&gt; rdfproc: Query returned 0 results<br>
&gt;<br>
&gt; Am I missing something here?<br>
&gt;<br>
&gt; Note: I can run a similar query successfully in ODBC&#39;s ISQL like this:<br>
&gt; CALL DB.DBA.SPARQL_EVAL(&#39;SELECT * FROM NAMED &lt;somecontext&gt; {GRAPH &lt;somecontext&gt; {?s ?p ?o}}&#39;, NULL, 0)<br>
&gt; ...<br>
&gt; 1 row fetched<br>
&gt;<br>
&gt; --<br>
&gt; Rimvydas<br>
</div></div>&gt; _______________________________________________<br>
&gt; redland-dev mailing list<br>
&gt; <a href="mailto:redland-dev@lists.librdf.org" target="_blank">redland-dev@lists.librdf.org</a><br>
&gt; <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>