W3C home > Mailing lists > Public > public-rdf-in-xhtml-tf@w3.org > March 2008


From: Mark Birbeck <mark.birbeck@x-port.net>
Date: Mon, 10 Mar 2008 15:58:43 +0000
Message-ID: <a707f8300803100858g728a0844sec8b452fdb22e58c@mail.gmail.com>
To: "Shane McCarron" <shane@aptest.com>
Cc: public-rdf-in-xhtml-tf.w3.org <public-rdf-in-xhtml-tf@w3.org>

Hi Shane,

That's the whole problem that CURIEs is trying to address! :)

The problem is that in RDF/XML, element names are being used to
abbreviate predicates, and that is wholly unsuitable, as you've seen.
The dislocation is not caused by us; you'd have the same problem no
matter how you obtained the RDF (N3, Turtle, RDFa, etc.) since the
problem is in going from arbitrary URIs to XML, as used by RDF/XML.

So the answer isn't "you are wrong", since you are right. But it's
also not "we don't care", since we very much care, and CURIEs is part
of an attempt to solve this problem.



On 10/03/2008, Shane McCarron <shane@aptest.com> wrote:
>  Okay.... Someone please tell me I am wrong about the following:
>  When trying to force my RDFa parser to emit RDF/XML so it will work with
>  the test suite, I noticed that the general model for RDF/XML is that
>  predicates are expressed as elements.  E.g. a property of "foaf:name" in
>  RDFa would map to an element <foaf:name> in RDF/XML.  And somewhere the
>  foaf namespace would be declared.  So far so good.
>  Then I started thinking about our extension model and CURIEs.   If I use
>  one of our existing examples about isbn numbers..... let's say I declare
>  xmlns:amazon="http://www.amazon.com/books?isbn="  and in my RDFa I have
>  something like <span property="amazon:12345">My Book Title</span>
>  I think that we generate a triple where the predicate is amazon:12345,
>  or http://www.amazon.com/books?isbn=12345 - again, so far so good.
>  But, if I want to map that into RDF/XML, I need to do something like:
>     <amazon:12345>My Book Title</amazon:12345>
>  Sadly, that is invalid.
>  Please, someone tell me I am wrong.  Alternately, someone tell me we
>  don't care.
>  --
>  Shane P. McCarron                          Phone: +1 763 786-8160 x120
>  Managing Director                            Fax: +1 763 786-8180
>  ApTest Minnesota                            Inet: shane@aptest.com

  Mark Birbeck

  mark.birbeck@x-port.net | +44 (0) 20 7689 9232
  http://www.x-port.net | http://internet-apps.blogspot.com

  x-port.net Ltd. is registered in England and Wales, number 03730711
  The registered office is at:

    2nd Floor
    Titchfield House
    69-85 Tabernacle Street
    EC2A 4RR
Received on Monday, 10 March 2008 15:58:54 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:01:56 UTC