Unknown bug? inverses of subslots

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Unknown bug? inverses of subslots

Markus Bohr

Hello Protege-Team,

I recently defined two subslots for a superslot and made them inverse to each
other.
I then noticed that, after entering a value for subslot1 via
InstanceListWidgets, there is no entry appearing for subslot2 (after saving) in
the corresponding InstanceListWidgets of the inverse subslot2.
As this does work for (normal) inverse slots, I guess it could be a bug...

BRgrds,
Markus Bohr.

-------------------------------------------------------------------------
To unsubscribe go to http://protege.stanford.edu/community/subscribe.html

Reply | Threaded
Open this post in threaded view
|

Re: Unknown bug? inverses of subslots

Tania Tudorache

Markus,

I could not reproduce this behavior in Protege 3.2 beta322. What version
of Protege are you using? Can you give a more detailed description of
the steps you did?

Thanks,
Tania

Markus Bohr wrote:

>Hello Protege-Team,
>
>I recently defined two subslots for a superslot and made them inverse to each
>other.
>I then noticed that, after entering a value for subslot1 via
>InstanceListWidgets, there is no entry appearing for subslot2 (after saving) in
>the corresponding InstanceListWidgets of the inverse subslot2.
>As this does work for (normal) inverse slots, I guess it could be a bug...
>
>BRgrds,
>Markus Bohr.
>
>-------------------------------------------------------------------------
>To unsubscribe go to http://protege.stanford.edu/community/subscribe.html
>
>
>  
>

-------------------------------------------------------------------------
To unsubscribe go to http://protege.stanford.edu/community/subscribe.html

Reply | Threaded
Open this post in threaded view
|

Re: Unknown bug? inverses of subslots

Markus Bohr

Tania Tudorache <tudorache <at> stanford.edu> writes:

>
>
> Markus,
>
> I could not reproduce this behavior in Protege 3.2 beta322. What version
> of Protege are you using? Can you give a more detailed description of
> the steps you did?
>
> Thanks,
> Tania
>

Hello Tania,

I used also Protege 3.2 beta322 and did the following:
1. create class Requirement
2. create Requirement slot relatedRequirement
3. create subslots dependentRequirement and prerequisiteRequirement for
superslot relatedRequirement
4. (optionally) set relatedRequirement as inverse slot of relatedRequirement
5. set dependentRequirement as inverse slot of prerequisiteRequirement
6. create two Requirement instances and mark second one as dependentRequirement
for first one
7. save
8. Now I would expect that first Requirement is inferred as
prerequisiteRequirement for the second, but it isn't.


> Markus Bohr wrote:
>
> >Hello Protege-Team,
> >
> >I recently defined two subslots for a superslot and made them inverse to
each
> >other.
> >I then noticed that, after entering a value for subslot1 via
> >InstanceListWidgets, there is no entry appearing for subslot2 (after saving)
in

> >the corresponding InstanceListWidgets of the inverse subslot2.
> >As this does work for (normal) inverse slots, I guess it could be a bug...
> >
> >BRgrds,
> >Markus Bohr.
> >
> >-------------------------------------------------------------------------
> >To unsubscribe go to http://protege.stanford.edu/community/subscribe.html
> >
> >
> >  
> >
>
> -------------------------------------------------------------------------
> To unsubscribe go to http://protege.stanford.edu/community/subscribe.html
>
>




-------------------------------------------------------------------------
To unsubscribe go to http://protege.stanford.edu/community/subscribe.html

Reply | Threaded
Open this post in threaded view
|

Re: Unknown bug? inverses of subslots

Tania Tudorache

Markus,

Thank you very much for the detailed description. I could reproduce the
behavior and I have submitted a bug report in our Bugzilla:
http://171.65.65.92/bugzilla/show_bug.cgi?id=119

An interesting thing is that if you detach the superslot,
relatedRequirement, from the Requirement class, then the inverse slots
will behave correctly.

Tania

Markus Bohr wrote:

>Tania Tudorache <tudorache <at> stanford.edu> writes:
>  
>
>>Markus,
>>
>>I could not reproduce this behavior in Protege 3.2 beta322. What version
>>of Protege are you using? Can you give a more detailed description of
>>the steps you did?
>>
>>Thanks,
>>Tania
>>
>>    
>>
>
>Hello Tania,
>
>I used also Protege 3.2 beta322 and did the following:
>1. create class Requirement
>2. create Requirement slot relatedRequirement
>3. create subslots dependentRequirement and prerequisiteRequirement for
>superslot relatedRequirement
>4. (optionally) set relatedRequirement as inverse slot of relatedRequirement
>5. set dependentRequirement as inverse slot of prerequisiteRequirement
>6. create two Requirement instances and mark second one as dependentRequirement
>for first one
>7. save
>8. Now I would expect that first Requirement is inferred as
>prerequisiteRequirement for the second, but it isn't.
>
>
>  
>
>>Markus Bohr wrote:
>>
>>    
>>
>>>Hello Protege-Team,
>>>
>>>I recently defined two subslots for a superslot and made them inverse to
>>>      
>>>
>each
>  
>
>>>other.
>>>I then noticed that, after entering a value for subslot1 via
>>>InstanceListWidgets, there is no entry appearing for subslot2 (after saving)
>>>      
>>>
>in
>  
>
>>>the corresponding InstanceListWidgets of the inverse subslot2.
>>>As this does work for (normal) inverse slots, I guess it could be a bug...
>>>
>>>BRgrds,
>>>Markus Bohr.
>>>
>>>-------------------------------------------------------------------------
>>>To unsubscribe go to http://protege.stanford.edu/community/subscribe.html
>>>
>>>
>>>
>>>
>>>      
>>>
>>-------------------------------------------------------------------------
>>To unsubscribe go to http://protege.stanford.edu/community/subscribe.html
>>
>>
>>    
>>
>
>
>
>
>-------------------------------------------------------------------------
>To unsubscribe go to http://protege.stanford.edu/community/subscribe.html
>
>
>  
>

-------------------------------------------------------------------------
To unsubscribe go to http://protege.stanford.edu/community/subscribe.html