[Pellet-users] Problem with Querying in Pellet

Massimo Paolucci paolucci at docomolab-euro.com
Fri Jul 6 17:49:26 UTC 2007


Dear all,

I load a bunch of ontologies (UsersKB attached and imported files),  
and then I query the KB to extract the types of an instance.  I then  
load a new ontology (MVV.owl) and I run exactly the same query and I  
expect the instance to be classified also on the bases of the new  
ontology..

I implemented two versions of a simple program that loads the  
ontologies, does the classification and then the query.    The first  
version (ModelWithJena.java attached) derives the reasoner as  
PelletInfGraph

this.InferenceModel= (PelletInfGraph) Model.getGraph();

The second implementation (PeletNative.java attached) uses the native  
Pellet reasoner.

_reasoner= new OWLReasoner();

The first version of the program is very slow (way too slow), but it  
answer all queries correctly.  The second version is very fast  
(beautifully fast), but after loading the MVV ontology, and querying  
the ontology it hangs for ever.

I tried to find out what the problem is by diving into Jena but I  
could not find it.  Since using Jena does not create any problem,  I  
suspect that there is a problem with the construction of the model  
with Pellet, but of course I am not sure.

I am running Pellet 1.5 RC1, with Java 1.5 under eclipse 3.3.0, the  
code and the ontologies are all attached.

Best Regards,

--- Massimo

        
---------------------------------------------------
Massimo Paolucci
Senior Researcher
DoCoMo Communications Laboratories Europe GmbH
Landsberger Strasse 308-312, 80687 Munich

Phone:  +49-89-56824-238
Fax:    +49-89-56824-301
Mobile: +49-163-34860553

mailto:paolucci at docomolab-euro.com
http://www.docomolab-euro.com

Managing Directors (Geschaeftsfuehrer):
Dr. Toru Otsu, Dr. Narumi Umeda, Kazushige Yoshida
Amtsgericht Muenchen, HRB 132967
--------------------------------------------------





-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.owldl.com/pipermail/pellet-users/attachments/20070706/e81dc0df/attachment-0008.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PelletNativeModel.java
Type: application/octet-stream
Size: 13473 bytes
Desc: not available
Url : http://lists.owldl.com/pipermail/pellet-users/attachments/20070706/e81dc0df/attachment-0007.obj 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.owldl.com/pipermail/pellet-users/attachments/20070706/e81dc0df/attachment-0009.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ModelWithJena.java
Type: application/octet-stream
Size: 12350 bytes
Desc: not available
Url : http://lists.owldl.com/pipermail/pellet-users/attachments/20070706/e81dc0df/attachment-0008.obj 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.owldl.com/pipermail/pellet-users/attachments/20070706/e81dc0df/attachment-0010.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Resources.owl
Type: application/octet-stream
Size: 7103 bytes
Desc: not available
Url : http://lists.owldl.com/pipermail/pellet-users/attachments/20070706/e81dc0df/attachment-0009.obj 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.owldl.com/pipermail/pellet-users/attachments/20070706/e81dc0df/attachment-0011.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MovieDomain.owl
Type: application/octet-stream
Size: 5056 bytes
Desc: not available
Url : http://lists.owldl.com/pipermail/pellet-users/attachments/20070706/e81dc0df/attachment-0010.obj 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.owldl.com/pipermail/pellet-users/attachments/20070706/e81dc0df/attachment-0012.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: UserKB.owl
Type: application/octet-stream
Size: 2183 bytes
Desc: not available
Url : http://lists.owldl.com/pipermail/pellet-users/attachments/20070706/e81dc0df/attachment-0011.obj 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.owldl.com/pipermail/pellet-users/attachments/20070706/e81dc0df/attachment-0013.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Cities.owl
Type: application/octet-stream
Size: 944 bytes
Desc: not available
Url : http://lists.owldl.com/pipermail/pellet-users/attachments/20070706/e81dc0df/attachment-0012.obj 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.owldl.com/pipermail/pellet-users/attachments/20070706/e81dc0df/attachment-0014.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MVV.owl
Type: application/octet-stream
Size: 2228 bytes
Desc: not available
Url : http://lists.owldl.com/pipermail/pellet-users/attachments/20070706/e81dc0df/attachment-0013.obj 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.owldl.com/pipermail/pellet-users/attachments/20070706/e81dc0df/attachment-0015.htm 


More information about the Pellet-users mailing list