Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[protege-owl] How to define a rule in JessTab detecting and changing relation between two instances?

Martin O'Connor martin.oconnor at stanford.edu
Tue Apr 24 12:37:51 PDT 2007


You are right - in SWRL this would not be valid. However, I think he is 
using the JessTab (not the SWRLJessTab), which is not as formally 
constrained (or as safe) as SWRL.

Martin

Jane Eisenstein wrote:

> I am a newbie, but it is my understanding that SWRL can only assign a 
> value to a property that is not yet valued. Allowing properties to be 
> changed might invalidate previous inferences.
>
> Does your rule perhaps add a second hasState property to the Customer 
> rather than changing the existing value?
>
> Jane Eisenstein
>
> On Apr 24, 2007, at 11:51 AM, shahab wrote:
>
>> Hi everyone,
>>   I do appreciate your help.
>> I am using JessTab to run rules,I have written a rule to change the 
>> value(string) of an instance :
>> (defrule Rule-1 ?obj1 <-(object (is-a Customer) (is-a-name 
>> "Customer") (:NAME "Customer_Inst") (hasState "Ready" )) => (slot-set 
>> ?obj1 hasState "waiting"))
>>
>> But now I want to introduce (Ready, Waiting) as intsances of class 
>> "State".I have done it and now I have two instances Ready and Waiting 
>> . Also I have defined "hasState" as a slot of type of State.
>> But now I wonder how can I write  similar rule (as above) to change 
>> the relation between Customer and Ready to a relation between 
>> Customer and Waiting?
>>
>>
>>
>>
>> ------------------------------------------------------------------------
>> Ahhh...imagining that irresistible "new car" smell?
>> Check out new cars at Yahoo! Autos. 
>> <http://us.rd.yahoo.com/evt=48245/*http://autos.yahoo.com/new_cars.html;_ylc=X3oDMTE1YW1jcXJ2BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDbmV3LWNhcnM-> 
>>
>> _______________________________________________
>> protege-owl mailing list
>> protege-owl at lists.stanford.edu <mailto:protege-owl at lists.stanford.edu>
>> https://mailman.stanford.edu/mailman/listinfo/protege-owl
>>
>> Instructions for unsubscribing: 
>> http://protege.stanford.edu/doc/faq.html#01a.03 
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>protege-owl mailing list
>protege-owl at lists.stanford.edu
>https://mailman.stanford.edu/mailman/listinfo/protege-owl
>
>Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03 
>  
>




More information about the protege-owl mailing list