## 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 Rule calculate Sum and result only > 18

Hakan BULU hakan.bulu at deu.edu.tr
Thu Jul 22 02:18:47 PDT 2010

```that is not a problem. before sqwrl atoms conjunctions is transformed from ^
to ˚.
my protege doing that and my rules are work well.

On Thu, Jul 22, 2010 at 12:12 PM, Thomas F. <
thomas.farrenkopf at mnd.fh-friedberg.de> wrote:

> thank you for you fast response. but the rule make the same problem.. I
> think that is not possible to build the sum in the antecedent? or it seems
> to be so..
>
> Protege transform the ^ to ˚ before sqwrl:sum. I don't know why.
>
>
> Am 22.07.2010 10:43, schrieb Hakan BULU [via Protege Ontology Editor &
> Knowledge Acquisition System]:
>
> may be you should try this one;
>
> Person(?p) ∧ unterrichtet_Vorlesung(?p, ?m) ∧ AnzahlSWS(?m, ?a) ∧
> sqwrl:sum(?sum,?a)→
> sqwrl:select(?sum) ∧ sqwrl:select(?p) ∧ swrlb:lessThan(?sum, 16)
>
> Hakan BULU
>
>
> On Thu, Jul 22, 2010 at 11:21 AM, Thomas F. <[hidden email]<http://user/SendEmail.jtp?type=node&node=2298319&i=0&by-user=t>
> > wrote:
>
>>
>> Hello,
>>
>> i've written a SWRL rule which calculate the sum of specific properties.
>> But
>> I will only get an answer if the sum is < 16. How can i do that?
>>
>> Person(?p) ∧ unterrichtet_Vorlesung(?p, ?m) ∧ AnzahlSWS(?m, ?a) →
>> sqwrl:sum(?a) ∧ sqwrl:select(?p) ∧ swrlb:lessThan(?a, 16)
>>
>> The swrlb:lessThan Statement will not work.
>> --
>> View this message in context:
>> http://protege-ontology-editor-knowledge-acquisition-system.136.n4.nabble.com/SWRL-Rule-calculate-Sum-and-result-only-18-tp2298288p2298288.html<http://protege-ontology-editor-knowledge-acquisition-system.136.n4.nabble.com/SWRL-Rule-calculate-Sum-and-result-only-18-tp2298288p2298288.html?by-user=t&by-user=t>
>> Sent from the Protege OWL mailing list archive at Nabble.com.
>> _______________________________________________
>> protege-owl mailing list
>> [hidden email]<http://user/SendEmail.jtp?type=node&node=2298319&i=1&by-user=t>
>>
>> https://mailman.stanford.edu/mailman/listinfo/protege-owl
>>
>> Instructions for unsubscribing:
>> http://protege.stanford.edu/doc/faq.html#01a.03
>>
>
>
>
> --
> Hakan BULU
> Ph.D. student in Dokuz Eylul University
> Department of Computer Engineering
> TURKEY
> +90 232 412 79 73
> +90 536 248 49 10
>
> _______________________________________________
> protege-owl mailing list
> [hidden email]<http://user/SendEmail.jtp?type=node&node=2298319&i=2&by-user=t>
> https://mailman.stanford.edu/mailman/listinfo/protege-owl
>
> Instructions for unsubscribing:
> http://protege.stanford.edu/doc/faq.html#01a.03
>
>
> ------------------------------
>  View message @
> http://protege-ontology-editor-knowledge-acquisition-system.136.n4.nabble.com/SWRL-Rule-calculate-Sum-and-result-only-18-tp2298288p2298319.html<http://protege-ontology-editor-knowledge-acquisition-system.136.n4.nabble.com/SWRL-Rule-calculate-Sum-and-result-only-18-tp2298288p2298319.html?by-user=t>
> To unsubscribe from SWRL Rule calculate Sum and result only > 18, click
> here.
>
>
> ------------------------------
> View this message in context: Re: SWRL Rule calculate Sum and result only
> > 18<http://protege-ontology-editor-knowledge-acquisition-system.136.n4.nabble.com/SWRL-Rule-calculate-Sum-and-result-only-18-tp2298288p2298367.html>
>
> Sent from the Protege OWL mailing list archive<http://protege-ontology-editor-knowledge-acquisition-system.136.n4.nabble.com/Protege-OWL-f137.html>at Nabble.com.
>
> _______________________________________________
> 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
>
>

--
Hakan BULU
Ph.D. student in Dokuz Eylul University
Department of Computer Engineering
TURKEY
+90 232 412 79 73
+90 536 248 49 10
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/protege-owl/attachments/20100722/fafd2c03/attachment.html>
```