Bug CORE-142
1 vote

SparqlQuery.ToString() may omit FILTER clauses in some cases

Created by Rob Vesse on 11/9/2011 4:29 AM Last Updated by Rob Vesse on 11/9/2011 5:01 AM
%
 (hrs)
Logged: 0  (hrs)

 Description

Some relatively simple queries may not round trip properly when parsed and then output with SparqlQuery.ToString() e.g.

SELECT * WHERE { { ?s ?p ?o } FILTER(ISURI(?o)) }

This appears to be a bug in ToString() somewhere, most likely in GraphPattern.ToString() as when formatting with SparqlFormatter.Format() the query will round trip fine

 

    Rob Vesse (Wednesday, November 09, 2011 5:01 AM) #

Fixed as of SVN revision 1957