W3C home > Mailing lists > Public > public-owl-dev@w3.org > April to June 2009

ProtegeReasoner (Pellet Jena ) not connected

From: Pablo Avila <pabloavila.k@gmail.com>
Date: Mon, 8 Jun 2009 10:12:20 +0200
Message-ID: <b0149e230906080112k648c19q159dd0ed69679262@mail.gmail.com>
To: public-owl-dev@w3.org
Hi all,
I am writing an application in Java where I have to query some
information from an ontology created with Protege. For this reason I
have decided to use the Pellet reasoner.
The problem is that after creating the reasoner when I call it (for
example: reasoner.getSubclasses) an error of reasoner not connected or
conexion refused.
I have also opened the port in windows for the reasoner... just in case.
Here I write you my code maybe someone can give an idea or suggest
other way to do it.

ReasonerManager reasonerManager = ReasonerManager.getInstance();
ProtegeOWLReasoner reasoner = reasonerManager.getReasoner(owlModel);
if (!reasoner.isConnected()) {
		     System.out.println("not Connected to reasoner");

Thank you in advance!

Best Regards

Received on Tuesday, 9 June 2009 07:32:58 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:58:18 UTC