On 2015-01-12 11:40, Boris Villazon-Terrazas wrote:

[snip]
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

It says here <https://jena.apache.org/documentation/javadoc/arq/com/hp/hpl/jena/sparql/engine/http/HttpQuery.html> that Jena ARQ uses POST for large queries. I also see you can use the setForcePOST() method to force POST, and usesPOST() to see if a request uses POST.




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


------------------------------------------------------------------------
Frans Knibbe
Geodan
President Kennedylaan 1
1079 MB Amsterdam (NL)

T +31 (0)20 - 5711 347
E frans.kni...@geodan.nl
www.geodan.nl <http://www.geodan.nl> | disclaimer <http://www.geodan.nl/disclaimer>
------------------------------------------------------------------------
------------------------------------------------------------------------------
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