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] Applying SWRL rule

Miha Grešak miha.gresak at gmail.com
Wed Apr 28 02:20:54 PDT 2010


Should I write this statement in the SWRL rules tab? If I do that nothing
happens. Select statement should return me some values, how can this be
done?

My sparql statement is fine because I manually put some values and they were
returned. But swrl rule was not considered.


Miha

2010/4/28 Martin O'Connor <martin.oconnor at stanford.edu>

> What happens if you try to execute the equivalent SQWRL query?
>
> helpSt:teaches(?x, ?y) ∧ helpSt:contains(?y, ?z) →  sqwrl:select(?x, ?z)
>
> Martin
>
> Miha Grešak wrote:
>
>> My SWRL looks like this:
>> helpSt:teaches(?x, ?y) ∧ helpSt:contains(?y, ?z) →  helpSt:knows(?x, ?z)
>>
>> (this means: profesor teaches a school subject AND school subject contains
>> knowledge THEN profesor knows the knowledge)
>>
>> Is my logic ok?
>>
>>
>> Miha
>>
>> 2010/4/27 William Koscho <wkoscho at gmail.com <mailto:wkoscho at gmail.com>>
>>
>>
>>    Can you share the SWRL rule and related parts of the ontology?
>>    perhaps the rule is not firing as expected, which is causing your
>>    query to not return results.
>>
>>    On Tue, Apr 27, 2010 at 12:42 PM, Miha Grešak
>>    <miha.gresak at gmail.com <mailto:miha.gresak at gmail.com>> wrote:
>>    > Hello,
>>    >
>>    > I wrote a simple SWRL rule in Protege 3.4.4 and I tick a
>>    checkbox "Enabled"
>>    > next to it but the rule does not apply on my ontology (sparql
>>    query does not
>>    > return values as it should).
>>    > What should I do to make it work?
>>    >
>>    > Thanks,
>>    > Miha
>>    >
>>    > _______________________________________________
>>    > protege-owl mailing list
>>    > protege-owl at lists.stanford.edu
>>    <mailto: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 <mailto: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
>>
>>
>
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/protege-owl/attachments/20100428/4bb6eb61/attachment.html>


More information about the protege-owl mailing list