Hello Nathan,

The bug is fixed in both version 5 and version 6 branches, the fix will
appear in the next releases.

Thank you for the report,

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


On Fri, 2010-01-29 at 22:21 +0000, Nathan wrote:
> Nathan wrote:
> > Hi Guys,
> > 
> > Quick bug report:
> > 37000 Error SP031: SPARQL compiler: Internal error:
> > sparp_find_triple_of_var_or_retval(): triple not found for strong match
> > 
> > SPARQL query:
> > define sql:signal-void-variables 1 define input:default-graph-uri
> > <http://dbpedia.org> SELECT * WHERE
> > {
> >   ?s ?p ?o . FILTER( lang(?o) = "en" ) . ?o bif:contains '"xmpp"'
> > option(score ?attributeScore)
> >   OPTIONAL { ?s rdfs:label ?flabel }
> >   OPTIONAL { ?s <http://dbpedia.org/property/abstract> ?fabstract }
> > }
> > 
> > to replicate include option(score ?score) to any bif:contains query then
> > add 2 or more OPTIONAL { } sections to the query, works fine with one.
> > 
> > Many Regards,
> > 
> > Nathan
> > 
> 
> workaround:
> 
> SELECT * WHERE
> {
>   { ?s ?p ?o . FILTER( lang(?o) = "en" ) . ?o bif:contains '"xmpp"'
> option(score ?attributeScore) }
>   OPTIONAL { ?s rdfs:label ?flabel }
>   OPTIONAL { ?s <http://dbpedia.org/property/abstract> ?fabstract }
> }
> 
> note the additional {} prior to optional statements
> 
> regards!



Reply via email to