Dear All,
In my ontology I have defined the relation Delegation(A,B,G), that means
actor A delegates to actor B the goal G, such that:
A hasDelegation Delegation, where the class Delegation has the properties:
hasDelegator (A in this case),
hasDelegatee (B in this case),
hasDelegatum (G in this case).
Now I need to define the concept of Delegation_chain, which is a chain composed
of at least 2 consecutive delegations, for instance of the same delegatum
(goal).
I have used swrl rules to define Delegation_chain, where so far I have created 2
rules:
1.delegation_chain_rule:
DelegationOnExecution(?x) ∧
hasDelegator(?x, ?b) ∧
hasDelegatee(?x, ?z) ∧
hasDelegatum(?x, ?a) ∧
DelegationOnExecution(?y) ∧
differentFrom(?x, ?y) ∧
hasDelegator(?y, ?z) ∧
hasDelegatee(?y, ?c) ∧
hasDelegatum(?y, ?a)
→ hasDelegationChain(?x, ?y)
2.delegation_chain_transitivity:
hasDelegationChain(?x, ?y) ∧
hasDelegationChain(?y, ?z)
→ hasDelegationChain(?x, ?z)
Using these rules, when I have a model that contains lets say 4 consecutive
delegations, I can identify all the couples that compose a delegation chain
containing two delegations, but not the whole chain starting from the first
delegation to the last one.
Is there a way to identify the first and the last delegation to determine the
whole chain??
Thank you in advance.
Best regards,
Elda Paja.
_______________________________________________
protege-owl mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-owlInstructions for unsubscribing:
http://protege.stanford.edu/doc/faq.html#01a.03