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] Finding Maximum of Sum

Hakan BULU hakan.bulu at
Fri Jul 23 00:52:01 PDT 2010

Hi all,

from Thomas's mail we have a SWRL rule;

Person(?p) ^ unterrichtet_Vorlesung(?p, ?m) ^ AnzahlSWS(?m, ?a)  ˚
sqwrl:makeSet(?s, ?a) ^ sqwrl:groupBy(?s, ?p) ˚
sqwrl:sum(?sum, ?s) ˚  ^ swrlb:lessThan(?sum, 16)   → sqwrl:select(?sum, ?p)

i have a rule similar this one. and i'm trying to find maximum ?sum value.

 while trying to sqwrl:makeSet(?set,?sum) ,  i get following exeption:
makeSet in rule Rule-3 returned with unbound arguments.

also sqwrl:max(?max,?sum) is not working, because atom needs a collection.

best regards...

Hakan BULU
Ph.D. student in Dokuz Eylul University
Department of Computer Engineering
+90 232 412 79 73
+90 536 248 49 10
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the protege-owl mailing list