Re: [Virtuoso-users] SPARQL processor sensitive to text length of queries.

2012-10-05 Thread Hugh Williams
Hi David, There are no options that can be compiled in per say to log all the translated SPARQL query or execution plans. There is an option to set SPARQL translate and query explain plans ON in the isql command line tool , such that you can get the translated SPARQL or query plan for any qu

Re: [Virtuoso-users] SPARQL processor sensitive to text length of queries.

2012-10-04 Thread David Brooks
Hi Hugh, I had this as two curl commands, one that returned an empty result set, the other good, then tried using trace_on() to see if anything showed. Nothing apparent in the log files so restarted Virtuoso in the foreground and of course the problem went away. I did try your query (before t

Re: [Virtuoso-users] SPARQL processor sensitive to text length of queries.

2012-10-04 Thread Hugh Williams
Hi David, You can use the Virtuoso explain() function to obtain the query execution plan: http://docs.openlinksw.com/virtuoso/fn_explain.html There is also a sparql_to_sql_text function: http://docs.openlinksw.com/virtuoso/fn_sparql_to_sql_text.html As well as the trace_on() fu

Re: [Virtuoso-users] SPARQL processor sensitive to text length of queries.

2012-10-04 Thread David Brooks
Hi Hugh, I noticed things weren't right using the SPARQL endpoint so cut and pasted the query into Conductor's interface. It behaves properly with isql. I have had issues (using /sparql) with textually long queries that returned empty result sets, so tried adding newlines at appropriate plac

Re: [Virtuoso-users] SPARQL processor sensitive to text length of queries.

2012-10-04 Thread Hugh Williams
Hi David, I am unable to recreate this issue, as with one, two or no space a query of a similar form works for me. Actually try it on your instance as it is against one of the system graphs: SELECT distinct ?s where { graph {?s virtrdf:item