Search Mailing List Archives
[protege-discussion] data range expression
Alex Shkotin
alex.shkotin at gmail.com
Wed Mar 31 09:12:05 PDT 2010
exactly,
like this class expression in Protege 4 (OWL2):
(MMC_Cpx some decimal[> "0"^^integer, <= "5"^^integer])
or (MMC_Cpx some decimal[< "10"^^integer, > "5"^^integer])
and MMC_Chr some decimal[< "5"^^integer, > "0"^^integer]
and MMC_Ol some decimal[> "40"^^integer, < "90"^^integer]
and MMC_Opx some decimal[< "60"^^integer, > "10"^^integer]
Alex
2010/3/31 Thomas Russ <tar at isi.edu>
>
> On Mar 31, 2010, at 4:19 AM, Jinsongdi Yu wrote:
>
> Hi,
>>
>> Is it possible to express the restriction of one of the datatype by data
>> range expression, let's say
>> x is a integer data with the range value from 1 to 5
>> Is it the enumeration the only way?
>> Any further expression, such as 1<=x<=5
>>
>
> With Protege frames, you can set minimum and maximum values for slots.
>
> With Protege OWL 3.4 (using OWL 1.0) you have to use an enumeration or a
> custom datatype. The custom datatype will not be handled by the reasoners.
>
> With Protege OWL 4.x (using OWL 2.0) you can use datatype range
> expressions.
>
> _______________________________________________
> protege-discussion mailing list
> protege-discussion at lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/protege-discussion
>
> 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-discussion/attachments/20100331/14eed78e/attachment.html>
More information about the protege-discussion
mailing list