Search Mailing List Archives
[protege-discussion] Inverse Slot with system slots
Tania Tudorache
tudorache at stanford.edu
Wed Jan 10 16:06:23 PST 2007
Hi Daniel,
I think I did not interpret your message correctly. The subslot solution
would work only if you already have the subslot values filled in (by the
user or some application) and you use the GraphWidget just to display
the instances and their relationships.
But, if you intend to use the GraphWidget to create reified
relationships, then the subslots solution will not work, because
GraphWidget will automatically fill in the values of :FROM and :TO and
not the ones of the subslots.
Sorry for the confusion.
Tania
Tania Tudorache wrote:
> There is another solution that I have used sometimes ago. I have created
> subslots of :FORM and :TO for example :FROM-STATE and :TO-STATE.
>
> For the subslots you can specify the inverse slot. And the values of the
> subslots are values of the slot (so of :FROM). In this way, the
> GraphWidget works also fine and you can use the inverse slots as well.
>
> Tania
>
>
> Samson Tu wrote:
>
>> Unfortunately, :FROM and :TO are system slots that are not modifiable by
>> users. I don't know of any way to define inverse slots on them. It would
>> be nice if graph widget provides the configuration option to specify
>> user-defined subslots of :FROM and :TO to use in specific graphs.
>>
>> For my application, I post-process the graphs to insert outgoing
>> references to nodes in my graph.
>>
>> Samson
>>
>> Daniel Goergen wrote:
>>
>>
>>> Hello!
>>>
>>>
>>> I am using the Graph Widget to specify State Machines. The States connect
>>> via a Transitions that are Instances of a Subclass of
>>> Directed-Binary-Relation.
>>> To store the States the transition connects the system-slots :TO and :FROM
>>> are used.
>>> My Problem is that the States themselves need to know their outgoing
>>> transitions which would be possible by defining an inverse slot to :FROM.
>>> Because system slots are not visible when defining inverse slots I am not
>>> able to do that.
>>>
>>> Is there maybe a way to define inverse slots for system slots?
>>>
>>> thanks
>>>
>>> daniel
>>>
>>>
>>>
>>>
>>>
>>> ----------------------------------------
>>> Daniel Goergen
>>> Graduand
>>> Health Services
>>>
>>> Tel.: +49 30 68905 - 2418
>>>
>>> BIOTRONIK GmbH & Co. KG
>>> Woermannkehre 1, 12359 Berlin
>>> _______________________________________________
>>> protege-discussion mailing list
>>> protege-discussion at lists.stanford.edu
>>> https://mailman.stanford.edu/mailman/listinfo/protege-discussion
>>>
>>> Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03
>>>
>>>
>>>
>>
>>
>
> _______________________________________________
> protege-discussion mailing list
> protege-discussion at lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/protege-discussion
>
> Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03
>
>
More information about the protege-discussion
mailing list