Re: [Virtuoso-users] Need help with an error message

2010-09-13 Thread Sebastian Trüg
A small followup. Since I need to get both the excerpt and the score I figure I need to do something like the following to make sure to only get each ?r once: select ?r (bif:concat(bif:search_excerpt(bif:vector('nepomuk'), (select ?v2 where { { ?r ?v1 ?v2 . ?v2 bif:contains 'nepom

Re: [Virtuoso-users] Need help with an error message

2010-09-13 Thread Sebastian Trüg
Hello Ivan, thanks a lot for looking into my query. Now let me see if I understand correctly: On 09/13/2010 09:42 AM, Ivan Mikhailov wrote: > There are two problems with this query. > First, ?v2 and ?v5 are barely connected. It looks like the query is > written to select the excerpt of the "best"

Re: [Virtuoso-users] Need help with an error message

2010-09-13 Thread Ivan Mikhailov
Hello Sebastian, There are two problems with this query. First, ?v2 and ?v5 are barely connected. It looks like the query is written to select the excerpt of the "best" resource about a keyword and the score of it, but max(?v5) seems to be redundant: the score of ?v2 is always the same, no matter

[Virtuoso-users] Need help with an error message

2010-09-10 Thread Sebastian Trüg
I got the error message "[OpenLink][Virtuoso iODBC Driver][Virtuoso Server]SR319: Max length of a temp row (10508) exceeded" with the following query: select distinct ?r max(?v5) as ?_n_f_t_m_s_ (bif:concat(bif:search_excerpt(bif:vector('trueg.'), ?v2))) as ?_n_f_t_m_ex_ where { { ?r ?v1 ?v2 . ?v