W3C home > Mailing lists > Public > www-rdf-comments@w3.org > October to December 2002

RE: "Resource" (RDF vocabulary definitions)

From: Danny Ayers <danny666@virgilio.it>
Date: Mon, 25 Nov 2002 14:53:42 +0100
To: "Brian McBride" <bwm@hplb.hpl.hp.com>, "www-rdf-comments" <www-rdf-comments@w3.org>
Message-ID: <EBEPLGMHCDOJJJPCFHEFIELBIJAA.danny666@virgilio.it>

>> > Does this mean that if I represent a graph in rdf/xml inside an html
>> > document by putting some triples inside rdf tags it has a completely
>> > different meaning to a graph expressed in exactly the same way but
>> served as
>> > an .rdf document?
>
>I said somthing like that once and Graham Klyne pointed out my error to me.
>
>If I have some HTML containing say:
>
>   <rdf:Description rdf:about="http://example.org/something#foo">
>      ...
>
>The issue here is about what http://example.org/something#foo names.  The
>meaning of this is not dependent on the mimetype of the referring
>document,
>e.g. text/html, but on the mime-type of the *retrieved* document.  The RDF
>specs are saying that for determining the RDF meaning of this
>uriref, it is
>the meaning that would be assigned by retrieving a document of mime-type
>application/rdf+xml.
>
>Embedding in a document of mime-type text/html does not affect this.

Sorry Brian, I'm a little confused, could you just please clarify -

irrespective of the mime-type of the document containing

<rdf:Description rdf:about="http://example.org/something#foo">

the interpretation of http://example.org/something#foo here will be the
(opaque) RDF interpretation if the mime-type of http://example.org/something
is application/rdf+xml,
but if the mime-type of http://example.org/something was text/html then this
would likely be interpreted as an element <a name="foo"> in
http://example.org/something

ok so far?

now looking at this from an application's perspective, let's say we know
that http://example.org/something#foo is retrievable. So we GET it, if the
mime-type returned is application/rdf+xml then the application (somewhere
just after the parser) would be looking at the resource #foo in the target
doc, if the mime-type was text/html it would be looking at the anchor #foo.

How's that? Or have I totally misunderstood? (again).

A related (slightly Trojan) question :

Assuming the kind of setup above with application/rdf+xml, what is the
relationship *in the graph* between

<rdf:Description rdf:about="http://example.org/something">
and
<rdf:Description rdf:about="http://example.org/something#foo">

Cheers,
Danny.
Received on Monday, 25 November 2002 09:04:46 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 21 September 2012 14:16:31 GMT