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
Fri Feb 9 17:38:12 PST 2007


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
>




More information about the protege-owl mailing list