Hello !

 

 

Following TBox:

 

 

classInsect                     BaseClass

     classBeatle                SubClass

 

classPlant                       BaseClass

     classTree                   SubClass

 

 

case 1:

 

ObjectProperty between SUBCLASSES: OPBeatleEatTree: domain=classBeatle
range=classTree

 

Now the different between Protege and jena (2.6.3):

 

In Protege I can only select individuals from subclasses classBeatle and
classTree.

In Jena (model SELECT 'ALL'  ?sub ?praed ?obj) are 

- two domains (classBeatle and Baseclass classInsect) and 

- two ranges  (classTree and Baseclass classPlant)

 

 

And vice versa:

 

 

case 2:

 

ObjectProperty between BASECLASSES: OPInsectEatPlant: domain=classInsect
range=classPlant

 

 

In Protege I can select individuals from all classes: classInsect,
classBeatle and classPlant, classTree.

In jena the domain and range are also for Baseclasses classInsect and
classPlant.

 

 

What is the problem ?

Can I solve it, or is that a bug in Framwork jena?

 

With best regards

Michael

 

Reply via email to