- From: Geoff Chappell <geoff@sover.net>
- Date: Thu, 13 Jan 2005 08:57:52 -0500
- To: "'Jeremy Carroll'" <jjc@hplb.hpl.hp.com>
- Cc: <www-rdf-interest@w3.org>
> -----Original Message----- > From: www-rdf-interest-request@w3.org [mailto:www-rdf-interest- > request@w3.org] On Behalf Of Jeremy Carroll > Sent: Thursday, January 13, 2005 6:41 AM > To: Geoff Chappell > Cc: www-rdf-interest@w3.org > Subject: Re: xml datatype facets > > > Geoff Chappell wrote: > > Hi, > > > > Any one know of any standards or best practices for specifying facets on > xml > > datatypes in rdf? > > > > I imagine something like this (in turtle/n3): > > > > ex:LengthConstrainedString a rdfs:Datatype; > > rdfs:subClassOf xsd:string; > > xsd:maxLength > "32"^^<http://www.w3.org/2001/XMLSchema#nonNegativeInteger>; > > xsd:minLength > "1"^^<http://www.w3.org/2001/XMLSchema#nonNegativeInteger>. > > > > > > Or....? > > > > Thanks, > > > > Geoff > > > > > > > > SWBPD WG is working on this problem, see > > http://www.w3.org/2001/sw/BestPractices/XSCH/xsch-sw-20041216/ > > particularly section 2. > It provides ability to use user defined XML Schema datatypes directly in > RDF and OWL, but does not provide the mapping of facets to triples that > your example shows. > > I hope a version for public review will be available sometime fairly > soon (but not real soon!) > > Jeremy > Thanks, that looks like it is/will be a useful doc. If it makes sense for this particular document, it would be great if you could also suggest ways to make the datatype definition available to an rdf processor - whether by mapping to triples, shoving in an XMLLiteral on the datatype class with a well known name, or.... Geoff
Received on Thursday, 13 January 2005 13:58:00 UTC