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

Martin O'Connor martin.oconnor at stanford.edu
Tue Apr 27 15:52:26 PDT 2010


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
>   




More information about the protege-owl mailing list