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] Expressing value range for data type property

Thomas Russ tar at ISI.EDU
Tue Mar 10 11:00:07 PDT 2009


This answer is incorrect.
It restricts the cardinality, or number of fillers for the property.
It does not restrict the values the property can take.

On Mar 10, 2009, at 3:23 AM, 侯滇滇 wrote:

> In protege or Protege API?
> Restriction is one for a Class .
> <owl:Class rdf:ID="ClassA">
>    <owl:Restricton>
>       <owl:onProperty rdf:resource="#hasPositionX"/>
>       <owl:minCardinality rdf:datatype="&xsd;float">
>           0
>       </owl:minCardinality>
>       <owl:maxCardinality rdf:datatype="&xsd;float">
>           10
>       </owl:maxCardinality>
>    <owl:Restriction>
> </owl:Class >
> and u can read http://protege.stanford.edu/plugins/owl/api/guide.html
> to create a Restriction Class.
> It is easy that you just create it in protege .
> Hope can help you.
> 在2009-03-10,"babar shahzad" <babarathotmail at yahoo.com> 写道:
> >
> >
> >I have a datatype property 'hasPositionX', whose domain is 'classA'  
> & range is 'float'.
> >I have to create a restriction like, " classA hasPositionX >= 0 or  
> <= 10 " ......( i.e. any value from 0 to 10 )
> >
> >How can I write this restriction in p3.4.
> >
> >Thank you in advance for any kind of help.
> >
> >
> >
> >
> >Babar Shahzad Chaudary,
> >+358408532112
> >Deptt of Information Processing
> >Science,
> >University of Oulu, Finland.
> >
> >
> >
> >
> >_______________________________________________
> >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




More information about the protege-owl mailing list