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] About SWRL

Martin O'Connor martin.oconnor at stanford.edu
Fri May 23 10:51:39 PDT 2008


SWRL is a rule language, not a restriction language. This rule, for
example, will classify an OWL individual as a Prograde_orbit if it has
an hasInclination property value of less than 90.0. It does not restrict
the value to be less than 90.0. OWL 2.0 may allow you to do this.

Martin

Khadija Tahera wrote:

> Hi All
> Thank you all for help.
> I tried the hasValue restriction for equal value. Now I want to
> restrict using less or greater value.
> I wrote this rule:
> hasInclination(?x, ?y) ^ swrlb:lessThan(?y, 90.0) → Prograde_orbit(?x)
> , and
> I want any individual of /Prograde_orbit/ class will not take more
> than 90.0 in it's /hasInclination/ property. /hasInclination/ is a
> functional property.
> The above rule is not implementing the restriction. How can I do that?
> May be I have any misunderstanding.
> I am not really comfortable with Protege 4.
> Please reply me.
>
>
> On 5/22/08, *Thomas Russ* <tar at isi.edu <mailto:tar at isi.edu>> wrote:
>
>
>     On May 22, 2008, at 10:05 AM, Khadija Tahera wrote:
>
>     > Hi All
>     >
>     > Few basic questions about the SWRL Tab.
>     >
>     > How can I write a rule for this statement "If the inclination is
>     > equal to 90 deg, then it is a Polar orbit ".
>
>     For an exact value, you can use the hasValue restriction from OWL.
>     You only need to use SWRL if you want a comparison. (Well, that or
>     use OWL 2.0 when that becomes available).
>
>     I presume the hasInclination property is Functional.
>
>     > If I wrote the rule will it be able to restrict the Polar_Orbit
>     > class to take greater or less value in it's hasInclination property?
>
>
>     _______________________________________________
>     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