On 09/01/2015 15:12, Jörn Hees wrote:
> Hi,
>
> On 9 Jan 2015, at 14:10, Boris Villazon-Terrazas <bvilla...@isoco.com> wrote:
>
>> I'm performing a query against Virtuoso 07.10.3208 , via Jena-ARQ 2.11.2
>> The query is a bit long, it has 16kb .... and I'm getting an http 400
>> exception
>>
>> is there a way to deal with big SPARQL queries in Virtuoso (in this
>> context, i.e., via Jena)?
>
> are you sending them as HTTP GET or POST?
As I said I'm using Jena ARQ as explained here [1].
...
   Query query = QueryFactory.create(queryString, Syntax.syntaxARQ);
   QueryExecution qexec = 
QueryExecutionFactory.sparqlService(repositoryURLString, query);
   try {
    results = qexec.execSelect();
   }
...

I'm not sure if Jena ARQ sends queries as HTTP GET or POST ...   GET I'm 
afraid

thx
boris

[1] http://jena.apache.org/documentation/query/app_api.html


>
>
> Jörn
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming! The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net
> _______________________________________________
> Virtuoso-users mailing list
> Virtuoso-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users
>


------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
vanity: www.gigenet.com
_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users

Reply via email to