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] SWRL Builtin does not work with datatype property

Martin O'Connor martin.oconnor at stanford.edu
Wed Feb 14 16:58:20 PST 2007


This is a bug in SWRL datatype handling. I have fixed this bug and the 
fix will be in the next beta.

Martin

Mudunuri, Raj wrote:

>Hi Martin,
>
>It seems there is still some problem even in 3.3 beta... it computes well and places the right answers in the hasSum field... but then, this field is showed in Red border for some reason that I don't know, and at this point when I run Racer after this new SWRL knowledge, it gives an ABox error...
>
>It seems the problem lies in categorizing (by Protégé or SWRL!) the computed value as string, despite the hasSum property is chosen as Integer... so I guess Racer's problem is that the hasSum's value, which is supposed to be an integer, is now shown as a string (placing the value to the left of the box) after SWRL's processing...
>
>So, does the problem lie with the SWRL or Protégé?
>
>Cheers,
>Raj
>
>
>
>-----Ursprüngliche Nachricht-----
>Von: protege-owl-bounces at mailman.stanford.edu [mailto:protege-owl-bounces at mailman.stanford.edu] Im Auftrag von Martin O'Connor
>Gesendet: Samstag, 10. Februar 2007 02:38
>An: User support for the Protege-OWL editor
>Betreff: Re: [protege-owl] SWRL Builtin does not work with datatype property
>
>
>This is a bug that is fixed in the latest 3.3 beta.
>
>Martin
>
>Britta Hummel wrote:
>
>  
>
>>I work with Protege 3.2.1 and the SWRL Tab.
>>
>>I encoded a rule that adds the value of 2 functional integer datatype 
>>properties together and stores the result as another datatype property:
>>
>>MyClass(?x) AND hasSummand1(?x,?s1) AND hasSummand2(?x,?s2) AND 
>>swrlb:add(?sum, ?s1, ?s2) => hasSum(?x, ?sum)
>>
>>As soon as I create more than one individuals of MyClass, SWRL messes 
>>up the relations and seems to arbitrarily add integers together.
>>
>>I attached an example ontology.
>>
>>Did I encode the rule wrong or could this be a SWRL bug?
>>
>>Any help would be appreciated.
>>
>>  Britta
>>
>>    
>>
> 
>_______________________________________________
>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