- From: Shane McCarron <shane@aptest.com>
- Date: Mon, 10 Mar 2008 10:52:13 -0500
- To: "public-rdf-in-xhtml-tf.w3.org" <public-rdf-in-xhtml-tf@w3.org>
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
Received on Monday, 10 March 2008 15:52:25 UTC