Search Mailing List Archives
[protege-owl] Expressing value range for data type property
babarathotmail at yahoo.com
Tue Mar 10 04:10:30 PDT 2009
Thank you Mathew,
I was already with this delightful fear that I would have to switch back to p4 again, since I forget it clean.
Though so far I was bit jubilant about
" OWL/Preference dialog box, and check "import Protege metadata ontology"
and "Support user-defined XML Schema datatypes (numeric ranges)" under "Protege Features."
But it sets the range of whole property, don't have any impact on restrictions framework.
Babar Shahzad Chaudary,
Deptt of Information Processing
University of Oulu, Finland.
----- Original Message ----
From: Matthew Horridge <matthew.horridge at cs.man.ac.uk>
To: User support for the Protege-OWL editor <protege-owl at lists.stanford.edu>
Sent: Tuesday, March 10, 2009 12:43:09 PM
Subject: Re: [protege-owl] Expressing value range for data type property
I don't think the RDF/XML below is well formed (you can't have
minCardinality and maxCardinality on the same node) - in any case, it
doesn't look like this is what Babar wants...
Babar, you need a datatype restriction, and this can be done with OWL
2 (i.e. Protege 4)
On 10 Mar 2009, at 10:23, 侯滇滇 wrote:
> In protege or Protege API?
> Restriction is one for a Class .
> <owl:Class rdf:ID="ClassA">
> <owl:onProperty rdf:resource="#hasPositionX"/>
> <owl:minCardinality rdf:datatype="&xsd;float">
> <owl:maxCardinality rdf:datatype="&xsd;float">
> </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,
> >Deptt of Information Processing
> >University of Oulu, Finland.
> >protege-owl mailing list
> >protege-owl at lists.stanford.edu
> >Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03
> protege-owl mailing list
> protege-owl at lists.stanford.edu
> Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03
protege-owl mailing list
protege-owl at lists.stanford.edu
Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03
More information about the protege-owl