[Pellet-users] Possible bugs detected in Pellet 1.4RC2

Federico Peinado fpeinado at fdi.ucm.es
Tue Mar 6 17:10:18 UTC 2007


Hi everybody,

It is my first message in the list, but me and my group have been using
Pellet (nice tool!) so much time ago.

We have two problems.

---
The first one is about integration of Pellet1.4RC2 with Jena 2.5.2. It
is strange because we don´t have this problem with Jena 2.5.1 or Jena
2.5.0. The error looks like this:

testGetAnnotationPropertyIndividuals(es.ucm.disia.dlmodel.test.JenaModelTest)java.lang.NoClassDefFoundError: 



com/hp/hpl/jena/rdql/QueryResults
     at
org.mindswap.pellet.jena.PelletInfGraph.<init>(PelletInfGraph.java:158)
     at org.mindswap.pellet.jena.PelletReasoner.bind(PelletReasoner.java:84)
     at
com.hp.hpl.jena.ontology.impl.OntModelImpl.generateGraph(OntModelImpl.java:2729) 



     at
com.hp.hpl.jena.ontology.impl.OntModelImpl.<init>(OntModelImpl.java:143)
     at
com.hp.hpl.jena.ontology.impl.OntModelImpl.<init>(OntModelImpl.java:132)
     at
com.hp.hpl.jena.rdf.model.ModelFactory.createOntologyModel(ModelFactory.java:448) 



     at es.ucm.disia.dlmodel.JenaModel.init(JenaModel.java:205)
     at es.ucm.disia.dlmodel.JenaModel.<init>(JenaModel.java:61)
     at es.ucm.disia.dlmodel.test.JenaModelTest.setUp(JenaModelTest.java:28)
     at es.ucm.disia.dlmodel.test.JenaModelTest.main(JenaModelTest.java:394)

Is not com/hp/hpl/jena/rdql/QueryResults a Jena deprecated package?
Strange... where is the call to that package in Pellet? I am not able to
find it in the source code :(

Is anybody working with Pellet 1.4RC2 + Jena 2.5.2 without problems?

---
The second problem is about some possible bugs in Pellet 1.4RC2.

It SEEMS that reasoning with user-defined datatypes with decimals and
open/closed intervals is not working propertly. Concretely we have found
strange behaviour in:

     * [number without decimals, number with decimals)
     * (number without decimals, number with decimals]

it means:

     * MinInclusive<no decimals> MaxExclusive<decimals>
     * MinExclusive<no decimals> MaxInclusive<decimals>

We are working in a ontology of Emotions and we tested these intervals:
           o Anger: [7,10]
           o Displeasures: [7,7.5)
           o Annoyance: [7.5,8)
           o Sulking: [8,8.5)
           o Indignation: [8.5,9)
           o Fury: [9,10]

Annoyance, Indignation and Fury are ok (under Anger), but Displeasure
and Sulking went under Annoyance, Indignation and Fury (?) instead of
Anger.

The same example but without decimals:
           o Anger: [5,10]
           o Displeasures: [5,6)
           o Annoyance: [6,7)
           o Sulking: [7,8)
           o Indignation: [8,9)
           o Fury: [9,10]

and everything works propertly (all of them under Anger)

Changing open intervals for closed intervals and viceversa:
           o Anger: [7,10]
           o Displeasures: [7,7.5]
           o Annoyance: (7.5,8]
           o Sulking: (8,8.5]
           o Indignation: (8.5,9]
           o Fury: (9,10]

everything ok but Sulking that is under Annoyance, Indignation and Fury
(?). It seems that [no decimals, decimals) is not working propertly.

Changing Sulking like this:
             o annoyance: (7,7.5)
           o Sulking: [8,8.5]

and everything is ok again. It seems that (no decimals, decimals] does
not work also.

Last test, just changing Fury:
           o Fury: (9,9.5]

and Fury went to the bad place, under the other 4 concepts...
again it seems that (no decimlas, decimals] is not working as we expected.

Any ideas? Are these bugs (in the case they are bugs) fixed in the SVN
version?

Thanks in advance!
- Federico Peinado
   http://federicopeinado.com






More information about the Pellet-users mailing list