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

babar shahzad babarathotmail at yahoo.com
Tue Mar 10 03:40:38 PDT 2009


thank you 侯滇滇,

Actually I am using p3.4, & facing difficulty to write same in it. Otherwise, its very easy to write same in p4.
I would be benefited a lot if you can guide me for same for 3,4.


 Babar Shahzad Chaudary, 
+358408532112         
Deptt of Information Processing
Science,
University of Oulu, Finland.




________________________________
From: 侯滇滇 <hoho8419 at 163.com>
To: User support for the Protege-OWL editor <protege-owl at lists.stanford.edu>
Sent: Tuesday, March 10, 2009 12:23:47 PM
Subject: Re: [protege-owl] Expressing value range for data type property


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 



________________________________
 网易邮箱,中国第一大电子邮件服务商 


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/protege-owl/attachments/20090310/501f70a4/attachment.html>


More information about the protege-owl mailing list