Hi Cart,

I have been able to recreate this and reported to development for comment. How 
many such Id's are you seeking to "inject" in the FILTER statement ?

Best Regards
Hugh Williams
Professional Services
OpenLink Software, Inc.      //              http://www.openlinksw.com/
Weblog   -- http://www.openlinksw.com/blogs/
LinkedIn -- http://www.linkedin.com/company/openlink-software/
Twitter  -- http://twitter.com/OpenLink
Google+  -- http://plus.google.com/100570109519069333827/
Facebook -- http://www.facebook.com/OpenLinkSoftware
Universal Data Access, Integration, and Management Technology Providers

On 10 Jul 2014, at 15:01, Bart Vandewoestyne <bart.vandewoest...@telenet.be> 
wrote:

> Hello list,
> 
> I have a SPARQL query that gets constructed as follows: first, using 
> some other technology, i obtain a comma-separated list of id's and 
> 'inject' them in the FILTER statement of a SPARQL query, something like 
> this:
> 
>             FILTER (?id in (<http://someid_1>,
>                             <http://someid_2>,
>                             <http://someid_3>,
>                             ...
>                             <http://someid_N>))
> 
> where N can become 'large' (whatever that may be).
> 
> After performing a small test, I noticed that 4094 is the maximum number 
> of id's that I can insert in my FILTER statement.  When trying with 4095 
> id's, I get:
> 
> Virtuoso 37000 Error SP030: SPARQL compiler, line 4102: Too many 
> arguments of a standard built-in function in operator() at ')' before ')'
> 
> Is there a way to overcome this problem?  Or are there other 
> ways/methods of 'injecting' strings/lists/data like this in SPARQL queries?
> 
> Kind regards,
> Bart
> 
> ------------------------------------------------------------------------------
> Open source business process management suite built on Java and Eclipse
> Turn processes into business applications with Bonita BPM Community Edition
> Quickly connect people, data, and systems into organized workflows
> Winner of BOSSIE, CODIE, OW2 and Gartner awards
> http://p.sf.net/sfu/Bonitasoft
> _______________________________________________
> Virtuoso-users mailing list
> Virtuoso-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users

Reply via email to