<div dir="ltr"><div>Hello,<br></div><div>I am getting problems when quering  the service "<a href="http://sparql.bioontology.org/sparql">http://sparql.bioontology.org/sparql</a>" through a java application I am coding.</div><div>I set the apikey and the endpoint regularly answers my queries if their length is such that a HTTP  get is still allowed. </div><div><br></div><div>The problems start when ah HTTP Post is required by the length of the query.</div><div>In this case, the method execSelect() calls execGet(), which in turn reverts to execPost(), due to the length of the query.</div><div><br></div><div>By debugging my code, it looks like the  the access to the service is forbidden to execPost() (actually, to the  method exec() in the class HTTPOp  <a href="https://www.google.it/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0ahUKEwiSl-PYrIDSAhVBthoKHQRyDYIQFggcMAA&url=https%3A%2F%2Fjena.apache.org%2Fdocumentation%2Fjavadoc%2Farq%2Forg%2Fapache%2Fjena%2Friot%2Fweb%2FHttpOp.html&usg=AFQjCNE2zmQ-YEwNfBnInQvfXYXFTtW9lA&sig2=kmTPki3dgNKjoYNd-Mbnug">https://www.google.it/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0ahUKEwiSl-PYrIDSAhVBthoKHQRyDYIQFggcMAA&url=https%3A%2F%2Fjena.apache.org%2Fdocumentation%2Fjavadoc%2Farq%2Forg%2Fapache%2Fjena%2Friot%2Fweb%2FHttpOp.html&usg=AFQjCNE2zmQ-YEwNfBnInQvfXYXFTtW9lA&sig2=kmTPki3dgNKjoYNd-Mbnug</a>)</div><div><br></div><div>I guess this is somehow related to the apikey. </div><div>Does the endpoint support queries embedded  in Http Post?</div><div><br></div><div><br></div><div>Cheers </div><div>Simona</div><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><span style="font-family:helvetica,arial,verdana,serif;font-size:12.8px">Simona Colucci, Ph.D.</span><div><font face="Helvetica, Arial, Verdana, serif">Assistant Professor<br></font><div><font face="Helvetica, Arial, Verdana, serif">Politecnico di Bari<br></font><div>Department of Electrical andInformation Engineering<br style="font-family:helvetica,arial,verdana,serif;font-size:12.8px"><a href="http://sisinflab.poliba.it/" style="color:rgb(0,68,119);text-decoration:none;border:0px solid;font-family:helvetica,arial,verdana,serif;font-size:12.8px" target="_blank">Information Systems</a><span style="font-family:helvetica,arial,verdana,serif;font-size:12.8px"> Research Group</span><br style="font-family:helvetica,arial,verdana,serif;font-size:12.8px"><span style="font-family:helvetica,arial,verdana,serif;font-size:12.8px"><b>Address</b>: via E. Orabona, 4 - 70125 Bari</span><br style="font-family:helvetica,arial,verdana,serif;font-size:12.8px"><span style="font-family:helvetica,arial,verdana,serif;font-size:12.8px"><b>Tel:</b>  + 39 080 596 3641</span><br style="font-family:helvetica,arial,verdana,serif;font-size:12.8px"><strong style="font-family:helvetica,arial,verdana,serif;font-size:12.8px">Fax</strong><span style="font-family:helvetica,arial,verdana,serif;font-size:12.8px">: + 39 080 596 3410</span><br></div></div></div></div></div></div></div></div>
<div dir="ltr"><br></div></div>