ISSUE-6: Should LDBP say that any kind of user-defined simple data type is disallowed?
User-defined simple types
Should LDBP say that any kind of user-defined simple data type is disallowed?
- State:
- CLOSED
- Product:
- Linked Data Platform Spec
- Raised by:
- Erik Wilde
- Opened on:
- 2012-09-20
- Description:
- http://www.w3.org/2012/ldp/meeting/2012-11-01#ISSUE__2d_6___2d___2d___20_Should_LDBP_say_that_any_kind_of_user__2d_defined_simple_data_type_is_disallowed__3f_
<ericP> RESOLVED: close issue-6 by DELETing LDP ยง4.1.9
=======
i think we absolutely have to allow derived datatypes (not just the XSD built-in simple types listed in section 4.1.9). if i am publishing data with any kind of measurement data, of course, what i should do is use a type that says that something is an integer, but that also is a derived type that says that this is the length of something in meters. or feet. or whatever else i am using. requiring XSD types only pretty much disallows linked data to use the datatypes that may be at the very core of a dataset, and pretty much every XML dataset i know defines its own layered set of datatypes on top of the XSD basic types. i am assuming that RDF datasets are not that different, and that data producers have type systems much richer than just XSD's basic types. - Related Actions Items:
- No related actions
- Related emails:
- LDP Rec (from eric@w3.org on 2015-02-20)
- Re: ldp-ISSUE-59 (recursive-delete): Reconsider usage of Aggregate/Composite construct to get predictable container delete behavior [Linked Data Platform core] (from ashok.malhotra@oracle.com on 2013-04-05)
- Re: Review and Comments for Linked Data Platform FPWD (from david@3roundstones.com on 2013-03-05)
- Re: Review and Comments for Linked Data Platform FPWD (from sspeiche@gmail.com on 2013-03-04)
- Edits done: ISSUE-6: Should LDBP say that any kind of user-defined simple data type is disallowed? (from sspeiche@us.ibm.com on 2012-11-03)
- Re: Limited datatypes (from nathan@webr3.org on 2012-11-01)
- Re: Limited datatypes (from nathan@webr3.org on 2012-11-01)
- Limited datatypes (from nathan@webr3.org on 2012-11-01)
- Review and Comments for Linked Data Platform FPWD (from david@3roundstones.com on 2012-10-28)
- Re: ISSUE-6 test (from david@3roundstones.com on 2012-09-24)
- Re: ISSUE-6 test (from Erik.Wilde@emc.com on 2012-09-24)
- Re: ISSUE-6 test (from lehors@us.ibm.com on 2012-09-24)
- ISSUE-6 test (from eric@w3.org on 2012-09-24)
- Re: ldp-ISSUE-6 (User-defined simple types): Should LDBP say that any kind of user-defined simple data type is disallowed? [Linked Data Platform core] (from Erik.Wilde@emc.com on 2012-09-21)
- Re: ldp-ISSUE-6 (User-defined simple types): Should LDBP say that any kind of user-defined simple data type is disallowed? [Linked Data Platform core] (from andy.seaborne@epimorphics.com on 2012-09-21)
- ldp-ISSUE-6 (User-defined simple types): Should LDBP say that any kind of user-defined simple data type is disallowed? [Linked Data Platform core] (from sysbot+tracker@w3.org on 2012-09-20)
- Re: Controlling datatypes (from Erik.Wilde@emc.com on 2012-09-20)
Related notes:
On 2012-09-21 01:36 , "Andy Seaborne" <andy.seaborne@epimorphics.com> wrote:
Suggested slight rewording:
i think we absolutely have to allow user-define datatypes (not just the
XSD built-in simple types listed in section 4.1.9). if i am publishing
data with any kind of measurement data, of course, what i should do is
use a type that says that something is an integer, but also with a
datatype that says that this is the length of something in meters. or
feet. or whatever else i am using. requiring XSD types only pretty much
disallows linked data to use the datatypes that may be at the very core
of a dataset, and pretty much every XML dataset i know defines its own
layered set of datatypes on top of the XSD basic types. i am assuming
that RDF datasets are not that different, and that data producers have
type systems much richer than just XSD's basic types.
]]
This changes "derived datatypes" to "user-defined datatypes" which
matches the title of the issue. It then covers the QUDT and Geo examples.
"derived datatypes" has a special meaning in XSD which is important here
but it's not the whole story.
[[
Background:
Derived datatypes are restrictions of core XSD primitive datatypes.
See
http://www.w3.org/TR/xmlschema11-2/#built-in-datatypes
for a picture.
xsd:positiveInteger is a derived datatype of xsd:integer.
and xsd:integer is a derived datatype of the primitive datatype xsd:decimal.
The example of "length in meters" is datatype defined outside the XSD
definition (it adds the concept of the length unit).
http://www.w3.org/TR/swbp-xsch-datatypes/ is an interesting and important thing to look at: "XML Schema Datatypes in RDF and OWL"
Erik Wilde, 24 Sep 2012, 14:33:09Display change log