W3C home > Mailing lists > Public > semantic-web@w3.org > August 2006

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

From: Eric van der Vlist <vdv@dyomedea.com>
Date: Sun, 06 Aug 2006 10:40:47 +0200
To: Xiaoshu Wang <wangxiao@musc.edu>
Cc: 'Dan Connolly' <connolly@w3.org>, semantic-web@w3.org, public-xg-geo@w3.org
Message-Id: <1154853647.9274.19.camel@localhost>

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

"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

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


GPG-PGP: 2A528005
Le premier annuaire des apiculteurs 100% XML!
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

Received on Sunday, 6 August 2006 08:41:10 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 24 March 2022 20:41:00 UTC