## 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] sqwrl:min(?a, ?b,?c)

Thomas Russ tar at ISI.EDU
Fri Mar 27 14:22:59 PDT 2009

```I suppose you could write three separate rules using simple binary
comparison operators and have that give you the answer you are seeking.

On Mar 27, 2009, at 11:22 AM, Martin O'Connor wrote:

>
> The sqwrl:min built-in does not operate in this way - it is an
> aggregation operator [1].
>
> Martin
>
> [1] http://protege.cim3.net/cgi-bin/wiki.pl?SQWRL#nidA20
>
> mbikinyi brat wrote:
>
>> Dear ALL,
>> I want to calculate the minimum capital cost as below, but the
>> argument of sqwrl:min*(?a, ?b,?c)*  is not allowed. Is there a way
>> out
>>
>> Hybrid(?x)  ∧hasCapitalCost(?x, ?a)  ∧StandAloneDC(?y)
>> ∧hasCapitalCost(?y, ?b)  ∧StandAloneDCAC(?z)  ∧hasCapitalCost(?
>> z, ?c)
>>  → sqwrl:min*(?a, ?b,?c)*
>> **
>> **
>> *Regards,*
>> *Nan*
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> 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
>>
>>
>
> _______________________________________________
> 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

```