Search Mailing List Archives
[protege-owl] Rules in Protege 4.x
moodleyp at cs.ukzn.ac.za
Thu Jan 21 02:22:39 PST 2010
I haven't used ontology rules before, thought the concept seems interesting.
However, in the first case you described, I agree with Thomas. I'm assuming
that you have a *hasRating* data property for the restaurants? Therefore the
following equivalence class would list all of the members you require:
Restaurant and hasRating some int[>= 7]
Basically, if an individual is a *Restaurant* and it has a
*hasRating*relationship with a data value that's an in and >= 7, then
must belong to said class. I think that the above is the general approach
one would take to model what you initially suggested.
On Thu, Jan 21, 2010 at 9:46 AM, swamy <alswamy at gmail.com> wrote:
> Thanks a lot for the reply.
> Hi All,
> I need to add so many different rules for owl. So can somebody please help
> me in using the "rules view" in Protege 4. what does it support?
> Thank you in advance.
> On Wed, Jan 20, 2010 at 10:58 PM, Thomas Russ <tar at isi.edu> wrote:
>> On Jan 20, 2010, at 5:21 AM, swamy wrote:
>> Hi All,
>>> I am trying to write a rule using Protege 4 (through Views -> Ontology
>>> views -> Rules).
>>> I can write some sample rules and those are added to my owl when I saved
>>> Now I struck with writing lessthan operation in the rule window. Can
>>> somebody help me in explain this.
>>> I want to write something like:
>>> I have a list of restaurants and their rating.
>>> I want to get which restaurant is having more than 7 rating.
>> You shouldn't need rules to get this using OWL 2.0
>> You can define a datarange with this constraint and use that to define (or
>> use DL-Query) to get what you want.
>> But since I am not a Protege 4 user, I can't give you precise directions
>> for doing this through the Protege 4 interface.
>> protege-owl mailing list
>> protege-owl at lists.stanford.edu
>> Instructions for unsubscribing:
> Thanks & Regards
> protege-owl mailing list
> protege-owl at lists.stanford.edu
> Instructions for unsubscribing:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the protege-owl