W3C home > Mailing lists > Public > www-webont-wg@w3.org > January 2003

Re: OWL datatyping and example

From: Mike Dean <mdean@bbn.com>
Date: Fri, 10 Jan 2003 01:04:17 -0800
Message-Id: <200301100904.BAA05120@escher.SD.BBN.COM>
To: Jerome.Euzenat@inrialpes.fr (Jerome Euzenat)
cc: www-webont-wg@w3.org

> 1) is the mention of the rdf:datatype compulsory?

Yes.

> 2) is string the default value if not mentionned?

No.  It becomes a simple literal.

> 3) how to express a list of value (this comes from the test case for 
> the XML Presentation syntax):
> 
> <owl:oneOf rdf:parseType="Collection">
> 1 2 3 4
> </owl:oneOf>
> 
> <owl:oneOf rdf:parseType="Collection">
> red green blue
> </owl:oneOf>

You can use rdf:parseType="Collection" for object properties
only, e.g.

<owl:oneOf rdf:parseType="Collection">
  <owl:Thing rdf:about="#red"/>
  <owl:Thing rdf:about="#green"/>
  <owl:Thing rdf:about="#blue"/>
</owl:oneOf>

	Mike
Received on Friday, 10 January 2003 04:05:02 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:57:56 GMT