The same exception what happened earlier continues now. I have the list of object properties to run queries against using a java program and for some queries it gives me timeout exception. One example is the same previous thread example. Another example query is attached here as follows.

select distinct ?s  ?o where { ?s <http://dbpedia.org/ontology/administrativeDistrict> ?o1 . ?o1 <http://dbpedia.org/ontology/administrativeDistrict> ?o . ?s <http://dbpedia.org/ontology/administrativeDistrict> ?o .}

Kalpa Gunaratna
--- Begin Message ---
I am trying to run a query through a java program using Jena ARQ API. Following 
is the query that I run through a java program.

select distinct ?s  ?o where { ?s <http://dbpedia.org/ontology/team> ?o1 . ?o1 
<http://dbpedia.org/ontology/team> ?o . ?s <http://dbpedia.org/ontology/team> 
?o .}

sometimes this works and sometimes doesn't. I do not know the problem. Even in 
the sparql endpoint, sometimes it doesn't work. The exception I get from java 
program is HttpException: 500 SPARQL Request Failed. In sparql endpoint it says 
timeout. I increased the timeout in the web interface but it doesn't help.

I want to run this query for a list of properties and the code breaks when it 
executes the above query since it returns an exception. Do you have any clue 
what is going on?






--- End Message ---
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Dbpedia-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion

Reply via email to