W3C home > Mailing lists > Public > public-xg-webid@w3.org > November 2011

Re: WebID ISSUE 61 (xsd): xsd datatypes [ontologies]

From: Dominik Tomaszuk <ddooss@wp.pl>
Date: Sun, 20 Nov 2011 13:38:08 +0100
Message-ID: <4EC8F4B0.4080600@wp.pl>
To: Henry Story <henry.story@bblfish.net>
CC: WebID Incubator Group WG <public-xg-webid@w3.org>
On 20.11.2011 13:22, Henry Story wrote:
>>>>>   - xsd:hexBinary
>>>> +1
>>>> But I propose more readable and full-validate datatype based on xsd:string and restrictions to hex and "-" sign
>>>> (...)
>>> And what does that bring you? Now you can't implement type inferencing easily in your rdf engine. With cert:hex or xsd:integer you
>>> can have the rdf engine automatically convert any way of representing a cert:hex string into a BigInteger, and do immediate comparison using an ASK query.   With strings you would have to do a lot more messing around in code.
>> But this proposal is string datatype based. If RDF inference engine doesn't support regexp and OWL restriction - no problem it should use xsd:string.
> but any rdf engine supports xsd:hexBinary .
and supports xsd:string that's why I give +1 for xsd:hexBinary and 
xsd:string (optional with restrictions).

Received on Sunday, 20 November 2011 12:38:33 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:39:48 UTC