Sergio,

On commercial Virtuoso I get more informative diagnostics, than a silent
crash:
Variable 'v1' is used in the query result set but not assigned.
Ditto ?v2. ?v2 is not reported only because the compiler has no way to
report more than one error.

I'll fix VOS and send a patch that will prevent crash.

Best Regards,

Ivan Mikhailov
OpenLink Software
http://virtuoso.openlinksw.com


On Tue, 2008-09-30 at 15:48 +0200, Sergio Fernández wrote:
> On Tue, 2008-09-30 at 13:06 +0100, Tim Haynes wrote:
> > Could you send us the text of the insert query, and any other useful data 
> > for replicating it, please?
> 
> Sure. It's something like (omitted prefixes declaration):
> 
> INSERT INTO GRAPH <http://localhost/new> {
>   _:v rdf:type ns:Class .
>   _:v ns:prop1 ?v1 .
>   ?v2 ns:prop2 _:v .
>   _:v ns:prop2 ns:Instance
> }
> FROM <http://localhost/>
> WHERE {
>   {
>     SELECT ?user ?forum count(?post) as ?posts count(?reply) as ?replies
>     WHERE {
>       ?user rdf:type sioc:User .
>       ?forum sioc:has_subscriber ?user .
>       ?forum rdf:type sioc:Forum .
>       ?user sioc:creator_of ?post .
>       OPTIONAL {
>         ?reply sioc:reply_of ?post .
>       }
>     }
>   }
>   FILTER (?replies > (?posts-?replies))
> }
> 
> It just a query play con sioc data. But it kill my Virtuoso. Any idea?
> 
> Cheers,
> 


Reply via email to