ISSUE-11

datatype facets

RESOLVED: Specification of which facet is being restricted in a datatype restriction is missing

State:
CLOSED
Product:
Raised by:
Peter Patel-Schneider
Opened on:
2007-10-24
Description:
Reported by matthew.horridge, Apr 18, 2007
http://lists.w3.org/Archives/Public/public-owl-dev/2007JanMar/0127.html

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] ISSUE-28, Bug 10: http://code.google.com/p/owl1-1/issues/detail?id=10&can=2&q=

Related Actions Items:
No related actions
Related emails:
  1. Re: ISSUE-11 (datatype facets): REPORTED: Specification of which facet is being restricted in a datatype restriction is missing (from boris.motik@comlab.ox.ac.uk on 2007-11-07)
  2. Re: ISSUE-11 (datatype facets): REPORTED: Specification of which facet is being restricted in a datatype restriction is missing (from hoekstra@uva.nl on 2007-10-25)
  3. Re: ISSUE-11 (datatype facets): REPORTED: Specification of which facet is being restricted in a datatype restriction is missing (from pfps@research.bell-labs.com on 2007-10-25)
  4. Re: ISSUE-11 (datatype facets): REPORTED: Specification of which facet is being restricted in a datatype restriction is missing (from hoekstra@uva.nl on 2007-10-25)
  5. ISSUE-11 (datatype facets): REPORTED: Specification of which facet is being restricted in a datatype restriction is missing (from sysbot+tracker@w3.org on 2007-10-24)

Related notes:

No additional notes.

Display change log ATOM feed


Ian Horrocks <ian.horrocks@comlab.ox.ac.uk>, Alan Ruttenberg <alanruttenberg@gmail.com>, Chairs, Ivan Herman <ivan@w3.org>, Sandro Hawke <sandro@w3.org>, Staff Contacts
Tracker, originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: index.php,v 1.231 2009/11/16 15:00:54 dom Exp $