W3C home > Mailing lists > Public > public-xg-geo@w3.org > August 2006

RE: INSEE releases OWL ontology and RDF data for geographical entities

From: Hans Teijgeler <hans.teijgeler@quicknet.nl>
Date: Sun, 6 Aug 2006 15:45:48 +0200
To: "'Eric van der Vlist'" <vdv@dyomedea.com>, "'Xiaoshu Wang'" <wangxiao@musc.edu>
Cc: "'Dan Connolly'" <connolly@w3.org>, <semantic-web@w3.org>, <public-xg-geo@w3.org>
Message-ID: <000e01c6b95e$a39393a0$0202a8c0@hans>

Eric,

I thought I understood you, until the last five words: 'you won't have
roundtrip'.
Please elaborate on what you exactly mean with that roundtrip.

Thanks,
Hans
____________________
OntoConsult
Hans Teijgeler
ISO 15926 specialist
Netherlands
+31-72-509 2005
www.InfowebML.ws 
hans.teijgeler@quicknet.nl
 

-----Original Message-----
From: semantic-web-request@w3.org [mailto:semantic-web-request@w3.org] On
Behalf Of Eric van der Vlist
Sent: Sunday, August 06, 2006 10:41
To: Xiaoshu Wang
Cc: 'Dan Connolly'; semantic-web@w3.org; public-xg-geo@w3.org
Subject: RE: INSEE releases OWL ontology and RDF data for geographical
entities

Xiaoshu,

Le samedi 05 août 2006 à 17:45 -0400, Xiaoshu Wang a écrit :
[...]
> The reason for me to raise this question is this.  Unlike hash URI, 
> the namespace URI can not be "inferred" or "guessed" from a URI 
> itself.  For instance, a URI of http://foo.com/bar can be constructed 
> with namespace http://foo.com/, http://foo.com/b or http://foo.com/ba 
> coupled with local ID of "bar", "ar" and "r", respectively.

That's just a minor detail since all this would be bad practises, but in the
same horrors show category, I don't see why you couldn't define namespace
names such as http://foo.com#b or http://foo.com#ba and hashes do not allow
to "infer or guess" (as you say) namespaces names more reliably than slashes
:) !

Note that the RDF recommendation gives a rule about how this kind of
"inference":

"It is recommended that implementors of RDF serializers, in order to break a
URI into a namespace name and a local name, split it after the last XML
non-NCName character, ensuring that the first character of the name is a
Letter or '_'. If the URI ends in a non-NCName character then throw a "this
graph cannot be serialized in RDF/XML" exception or error."

This means that if your namespace URI ends with a letter, you won't have
roundtrip.

Eric

--
GPG-PGP: 2A528005
Le premier annuaire des apiculteurs 100% XML!
                                                http://apiculteurs.info/
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
(ISO) RELAX NG   ISBN:0-596-00421-4 http://oreilly.com/catalog/relax
(W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema
------------------------------------------------------------------------

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.0.394 / Virus Database: 268.10.7/409 - Release Date: 04-Aug-06
 
  

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.0.394 / Virus Database: 268.10.7/409 - Release Date: 04-Aug-06
 
Received on Sunday, 6 August 2006 13:46:30 GMT

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