W3C home > Mailing lists > Public > www-rdf-interest@w3.org > February 2000

the hash sign

From: John Parnefjord <John.Parnefjord@kib.ki.se>
Date: Thu, 10 Feb 2000 14:54:41 +0100
To: "W3C RDF-interest" <www-rdf-interest@w3.org>
Message-ID: <000701bf73ce$60b93170$377aed82@nirvana.kib.ki.se>
Hi!

Could anyone explain about the hash-sign (#) following the URI when declaring XML namespaces in RDF. For example you may write:

<rdf:RDF  
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:schema="http://mysite.org/schema/">  
   <rdf:Description about="">
      <schema:property1>some value</schema:property1>
	<schema:property2>some value</schema:property2>
   </rdf:Description>
</rdf:RDF>

The first XML namespace, RDF, uses the #-sign as a suffix to the URI. This is not the case regarding the second xmlns-declaration, schema. 

Is this suffix used as an anchor, as in HTML? In that case rdf:Description could be translated to http://www.w3.org/1999/02/22-rdf-syntax-ns#Description, and by doing this you can point to a definition of the property. Why not using the same technique for the second schema then?

Hope someone can answer (and perhaps point out where in the RDF-rec I have to read a bit more carefully).

// John




________________________________________

	John Parnefjord

	Karolinska Institutets Bibliotek
	Nobels väg 8
	171 77 Solna
	Sweden

	Tel: 08-728 66 52
	Fax: 08-33 04 81
	Webb: www.kib.ki.se
	E-post: John.Parnefjord@kib.ki.se
_________________________________________
		
 
 
Received on Thursday, 10 February 2000 08:57:03 GMT

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