Re: What if an URI also is a URL

On 2007-06 -14, at 19:13, M. David Peterson wrote:

> On Tue, 12 Jun 2007 11:30:34 -0600, Tim Berners-Lee <timbl@w3.org>  
> wrote:
>
>> "That which is denoted by 'i' in <http://www.w3.org/People/Berners- 
>> Lee/card>
>
> So I'm a bit confused by this.  If you parse the above document, as  
> far as I can tell, there is no node that has *any* attribute who's  
> value is "i".
>


Sorry, RDF is serialized into XML in such a way that the URI occurs  
in full:

     <con:Male rdf:about="http://www.w3.org/People/Berners-Lee/card#i">
         <rdf:type rdf:resource="http://xmlns.com/foaf/0.1/Person"/>
         <s:label>Tim Berners-Lee</s:label>
         <con:assistant rdf:resource="http://www.w3.org/People/ 
Berners-Lee/card#amy"/>
	   ...

etc in the RDF/XML version (which you can access specifically as  
<http://www.w3.org/People/Berners-Lee/card.rdf>)
The RDF/XML spec describes how to parse an RDF/XML document.  It does  
not involve looking for attribute name "i".

The N3 notation <http://www.w3.org/People/Berners-Lee/card.n3>), that  
is hand edited, and that is the source from which the .rdf is  
generated, may be easier to read, though it is not designed at all as  
a tutorial.

Tim





> A simple test: http://personplacething.info/service/proxy/? 
> debug=true&return-xml-from-uri=http://www.w3.org/People/Berners-Lee/ 
> card&return-doc-id=i
>
> So by "That which is denoted by 'i' in http://www.w3.org/People/ 
> Berners-Lee/card" what is 'i' then referring to exactly?
>
> Somebody care to clue me in?
>
> NOTE: The above uses the service description file[1] and semweb  
> transformation file[2] which parses the document, looks for any  
> attribute who's value is 'i', and returns a copy of it's containing  
> element and all of its children if it exists as well as a copy of  
> the entire document in the response message.
> [1] http://personplacething-info.googlecode.com/svn/trunk/ 
> public_web/service/proxy/service.op
> [2] http://personplacething-info.googlecode.com/svn/trunk/ 
> public_web/transform/semweb.xslt
>
> -- 
> /M:D
>
> M. David Peterson
> http://mdavid.name | http://www.oreillynet.com/pub/au/2354 | http:// 
> dev.aol.com/blog/3155

Received on Friday, 15 June 2007 14:46:58 UTC