[Virtuoso-users] Detect graph and ask results without knowing the query

2009-10-14 Thread Sebastian Trüg
Hello, me again. This time I would like to know if there is a clean way to determine the type of query result from the results columns (without fetching a row)? At the moment I am using a rather hacky way: I check if the result has only one column named "__ASK_RETVAL". If that is the case I tre

Re: [Virtuoso-users] Problem with very large RDF literals

2009-10-14 Thread Patrick van Kleef
Hi Sebastian, Can you apply the attached patch to your libsrc/Wi directory and try again please. This should make your insert run in much better time, even without large number of buffers. Impressive. Even with 5000 buffers it only takes 3 seconds or less (I timed everything including st

Re: [Virtuoso-users] Special characters in URIs in SPARQL queries

2009-10-14 Thread Sebastian Trüg
On Tuesday 13 October 2009 22:20:16 Patrick van Kleef wrote: > Hi Sebastian, > > > I am having trouble with some queries when URIs contain special > > characters. In > > the example below it is ( and ). > > The question is: how do I encode them? Do I need to use percent > > encoding or is > > ther