W3C home > Mailing lists > Public > www-rdf-logic@w3.org > April 2004

Re: Restricting value of property to user-defined datatype

From: Dave Reynolds <der@hplb.hpl.hp.com>
Date: Tue, 27 Apr 2004 12:19:57 +0100
Message-ID: <408E41DD.5090600@hplb.hpl.hp.com>
To: Anjum Shehzad <anjum@oslab.khu.ac.kr>
Cc: www-rdf-logic@w3.org

Anjum Shehzad wrote:

> I want to define my own data type e.g. an integer representing a
> day-of-the-month should be between 1 and 31 (daysInt). I know how to do
> this with XSD SimpleType element but can the RDF/RDFS/OWL parser
> understand the datatype daysInt? 

Some toolkits, for example Jena [1], do support user defined XSD datatypes 
by using a local convention for the URI of the defined datatype. The 
problem, as you point out, is that there is no defined standard for this 
URI convention and so any such usage may not be portable.

The semantic web best practices WG is, I believe, hoping to work with the 
XML Schema WG to resolve this.


[1] http://jena.sourceforge.net/
Received on Tuesday, 27 April 2004 07:21:53 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 2 March 2016 11:10:42 UTC