Hey, 
I got a strange situation while querying an endpoint by running jena 
execConstruct (),  OR  execConstructTriples().

The issue is uncontrollable loop  (WARN  riot:77 - [line: 4, col: 41] {W108} 
Not an XML Name: ' ') by querying an endpoint 
http://roma.rkbexplorer.com/sparql/  and the actual query i use to run is 

PREFIX void: <http://rdfs.org/ns/void#> CONSTRUCT { 
<http://roma.rkbexplorer.com/sparql#dataset> void:classPartition [ void:class 
?c ; void:propertyPartition [ void:property ?p ] ] } WHERE { ?s a ?c ; ?p ?o .}

the http query generated by jena QueryExecutionFactory.sparqlService(endpoint, 
query) is as follow:
http://roma.rkbexplorer.com/sparql/?query=PREFIX++void%3A+%3Chttp%3A%2F%2Frdfs.org%2Fns%2Fvoid%23%3E%0A%0ACONSTRUCT+%0A++%7B+%3Chttp%3A%2F%2Froma.rkbexplorer.com%2Fsparql%2F%23dataset%3E+void%3AclassPartition+_%3Ac0+.%0A++++_%3Ac0+void%3Aclass+%3Fc+.%0A++++_%3Ac0+void%3ApropertyPartition+_%3Ac1+.%0A++++_%3Ac1+void%3Aproperty+%3Fp+.%7D%0AWHERE%0A++%7B+%3Fs+%3Chttp%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23type%3E+%3Fc+.%0A++++%3Fs+%3Fp+%3Fo%0A++%7D%0A

would you please solve this issue in jena library, since the loop starts within 
jena library as execConstruct or execConstructTriples  function is called. I am 
unable to handle it in my java code since looping start internally.   

Thanks.
Qaiser.

Reply via email to