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] Property limitations involving arithmetic

Martin O'Connor martin.oconnor at stanford.edu
Mon Oct 27 11:59:43 PDT 2008


Something like:

AClass(?c) ^ prop1(?c, ?v1) ^ prop2(?c, ?v2) ^ prop3(?c, ?v3) ^  
swrlb:add(?total, ?v1, ?v2, ?v3) ^ swrlb:greaterThan(?total, <some  
number>) -> ...

Martin

Quoting don mcquinn <mcquinnd at hotmail.com>:

>
> OK, but how would that work? I know of no builtin that returns the   
> sum of integer properties. > Date: Mon, 27 Oct 2008 11:31:10 -0700>   
> From: martin.oconnor at stanford.edu> To:   
> protege-owl at lists.stanford.edu> Subject: Re: [protege-owl] Property   
> limitations involving arithmetic> > Quoting don mcquinn   
> <mcquinnd at hotmail.com>:> > >> > I don't know if my problem requires   
> SWRL or not, but I have a class > > (which I will call Component)   
> which has three numeric properties > > and I want to insure that the  
>  sum of the 3 numeric properties does > > not exceed a maximum  
> value.  Can this be done with normal property > > restrictions or  
> does it  require SWRL?> > SWRL is required here I think.> > Martin>   
> _______________________________________________> 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