W3C home > Mailing lists > Public > www-rdf-interest@w3.org > August 2003

RE: Is RDF case-sentive?

From: Hammond, Tony (ELSLON) <T.Hammond@elsevier.com>
Date: Fri, 1 Aug 2003 11:41:59 +0100
Message-ID: <54A600C436EA694581B93E4BD4D4788A07E2EFB7@elslonexc004.wins.epress.co.uk>
To: Benja Fallenstein <b.fallenstein@gmx.de>, Pedro Assis in Oporto <passis@dee.isep.ipp.pt>
Cc: www-rdf-interest@w3.org

Have I missed something here? Isn't case-sensitivity really a property of
the URI scheme - not of RDF? There are case-insensitive URI schemes out
there, e.g. "tel:", "fax:", "modem:".

Not all URIs are "http:".

Tony



-----Original Message-----
From: Benja Fallenstein [mailto:b.fallenstein@gmx.de] 
Sent: 31 July 2003 21:39
To: Pedro Assis in Oporto
Cc: www-rdf-interest@w3.org



Hi,

Pedro Assis in Oporto wrote:
> I couldn't find any reference to the RDF case sensitivity, i.e. two names
> are identical if they differ only in case?

RDF is case-sensitive. From the last call Concepts working draft:

     Two RDF URI references are equal if and only if they compare as
     equal, character by character, as Unicode strings.

     -- http://www.w3.org/TR/rdf-concepts/#section-Graph-URIref

An upper-case 'A' and a lower-case 'a' are different Unicode characters.

> Without using the RDF/XML representation of RDF N-Triples how can the
> namespaces declaration be made?

I don't understand what N-Triples has to do with this?

> For instance, the following XML namespace
> declaration is enclosed in the rdf:RDF tag,
> 
> <rdf:RDF xmlns:owl = "http://www.w3.org/2002/07/owl#">
> 
> now, how can I describe this information in a triple statement?

I don't think that there is a standard vocabulary for describing 
bindings of namespace URIs to namespace prefixes.

But of course, you can make up your own:

     <http://www.w3.org/2002/07/owl#>  my:namespacePrefix  "owl".

or in RDF/XML:

     <rdf:RDF xmlns:rdf="..." xmlns:my="...">
     <rdf:Description rdf:about="http://www.w3.org/2002/07/owl#">
         <my:namespacePrefix>owl</my:namespacePrefix>
     </rdf:Description>
     </rdf:RDF>

Does this help?
- Benja
Received on Friday, 1 August 2003 06:48:12 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:52:01 GMT