W3C home > Mailing lists > Public > public-owl-wg@w3.org > October 2007

Re: ISSUE-11 (datatype facets): REPORTED: Specification of which facet is being restricted in a datatype restriction is missing

From: Peter F. Patel-Schneider <pfps@research.bell-labs.com>
Date: Thu, 25 Oct 2007 03:29:16 -0400 (EDT)
Message-Id: <20071025.032916.109659962.pfps@research.bell-labs.com>
To: hoekstra@uva.nl
Cc: public-owl-wg@w3.org

Just done.  ISSUE-28

peter


From: Rinke Hoekstra <hoekstra@uva.nl>
Subject: Re: ISSUE-11 (datatype facets): REPORTED: Specification of which facet is being restricted in a datatype restriction is missing
Date: Thu, 25 Oct 2007 09:15:12 +0200

> Points to Google code issue 10, but this issue "Multiple facet 
> restrictions per datarange" has not been migrated (yet)
> 
> -Rinke
> 
> Web Ontology Language (OWL) Working Group Issue Tracker wrote:
> > 
> > ISSUE-11 (datatype facets): REPORTED: Specification of which facet is being restricted in a datatype restriction is missing
> > 
> > http://www.w3.org/2007/OWL/tracker/issues/
> > 
> > Raised by: Peter Patel-Schneider
> > On product: 
> > 
> > Reported by matthew.horridge, Apr 18, 2007
> > 
> > The schema describes datatype restrictions as follows
> > 
> >    <xsd:element name="DatatypeRestriction">
> >      <xsd:complexType>
> >        <xsd:sequence>
> >          <xsd:element ref="owl11xml:Datatype"/>
> >          <xsd:element ref="owl11xml:Constant"/>
> >        </xsd:sequence>
> >        <xsd:attributeGroup ref="xml:specialAttrs"/>
> >      </xsd:complexType>
> >    </xsd:element>
> > 
> > There is no way to specify which facet is being restricted.
> > 
> > Since it looks like multiple facet restrictions per restricted datatype will be allowed [1] I suggest 
> > that we have a syntax that has a datatype facet restriction element, so that we have something 
> > which looks something like this:
> > 
> >                     <DatatypeRestriction>
> >                         <Datatype URI="&xsd;nonNegativeInteger"/>
> >                         <DatatypeFacetRestriction facet="&owl11;minInclusive">
> >                             <Constant Datatype="&xsd;int">10</Constant>
> >                         </DatatypeFacetRestriction>
> >                     </DatatypeRestriction>
> >                    
> > Cheers,
> > 
> > Matthew
> > 
> > 
> > [1] Bug 10: http://code.google.com/p/owl1-1/issues/detail?id=10&can=2&q=
> > 
> > 
> > 
> > 
> 
> -- 
> ----------------------------------------------
> Drs. Rinke Hoekstra
> 
> Email: hoekstra@uva.nl   Skype:  rinkehoekstra
> Phone: +31-20-5253499    Fax:   +31-20-5253495
> Web:   http://www.leibnizcenter.nl/users/rinke
> 
> Leibniz Center for Law,         Faculty of Law
> University of Amsterdam,           PO Box 1030
> 1000 BA  Amsterdam,            The Netherlands
> ----------------------------------------------
Received on Thursday, 25 October 2007 07:37:55 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:13:26 GMT