- From: Jeen Broekstra <jeen@aduna.biz>
- Date: Mon, 20 Dec 2004 10:12:45 +0100
- To: James Cerra <jfcst24_public@yahoo.com>
- Cc: www-rdf-interest@w3.org
James Cerra wrote: > Say I have the triple: > > <> > <http://example.com/is%20defined%20by> > <http://example.com/definition%20of%20subject> . > > How do I encode this as rdf/xml? The following > doesn't seem quite right: > > <rdf:RDF > > xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" > xmlns:ex="http://example.com/is%20defined%20" > > <rdf:Description rdf:about=""> > <ex:by > > rdf:resource="http://example.com/definition%20of%20subject" > /> > </rdf:Description> > </rdf:RDF> > > I think this was asked before, but I can't find the > appropriate information. It doesn't seem quite right indeed, but this is more or less the best you can do. See http://www.w3.org/TR/rdf-syntax-grammar/ section 8, which recommends the same approach you have taken. We apparently have to live with the fact that some RDF graphs can not be serialized in XML (or at least not in RDF/XML). Jeen -- Jeen Broekstra Aduna BV Knowledge Engineer Julianaplein 14b, 3817 CS Amersfoort http://aduna.biz The Netherlands tel. +31(0)33 46599877 fax. +31(0)33 46599877
Received on Monday, 20 December 2004 09:12:23 UTC