W3C home > Mailing lists > Public > public-rdf-comments@w3.org > September 2012

Re: Use of XSD namespace in RDF recommendations

From: Ivan Herman <ivan@w3.org>
Date: Tue, 4 Sep 2012 19:38:27 +0200
Message-Id: <B161B0A3-124C-4D2E-AC61-14060A6409BC@w3.org>
Cc: Antoine Zimmermann <antoine.zimmermann@emse.fr>, "public-rdf-comments@w3.org" <public-rdf-comments@w3.org>, "richard@ex-parrot.com" <richard@ex-parrot.com>
To: Dan Brickley <danbri@danbri.org>
Dan,

 the question is of course justified, but I should also add that, in fact, very very few people use xmls schema datatype definitions together with RDF, too. In both cases the difficulty is identical: to understand and process those datatypes an external 'tool' has to be brought in: either an xml schema or an owl processor... Mainly in a non-XML RDF world (ie, as Richard said, with a diminishing usage of RDF/XML) the chance of using XML schema based derived datatypes is getting smaller and smaller in my view.

I find the OWL 2 datatype definition possibilities one of the most interesting and potentially important part of OWL 2. I actually wish the relevant part of the specification was also made more known and possibly used in isolation; at present it is burried in the overall OWL 2 spec, which is of course not an easy read...

(Maybe it is worth some extra blog/note)

Ivan

---
Ivan Herman
Tel:+31 641044153
http://www.ivan-herman.net

(Written on mobile, sorry for brevity and misspellings...)



On 4 Sep 2012, at 15:37, Dan Brickley <danbri@danbri.org> wrote:

> On 4 September 2012 21:11, Antoine Zimmermann
> <antoine.zimmermann@emse.fr> wrote:
>> FWIW, OWL 2 has a feature to define custom datatypes that can be written
>> completely in RDF, without using XML Schema.
>> 
>> Your example for Chapman codes can be written as follows, in Turtle syntax:
>> 
>> @prefix geo: <http://www.example.com/geo#>
>> @prefix xsd: <http://www.w3.org/2001/XMLSchema#>
>> @prefix owl: <http://www.w3.org/2002/07/owl#>
>> @prefix rdfs:<http://www.w3.org/2000/01/rdf-schema#>
>> 
>> geo:chapman-code  a  rdfs:Datatype;
>>    owl:equivalentClass  [
>>        a  rdfs:Datatype;
>>        owl:onDatatype  xsd:string;
>>        owl:withRestriction ( [xsd:pattern "[a-zA-Z]{3}"] )
>>    ] .
> 
> Interesting! Are many of these showing up "in the wild" yet?
> 
> Dan
> 
Received on Tuesday, 4 September 2012 17:38:54 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:29:54 UTC