- From: Toby A Inkster <tai@g5n.co.uk>
- Date: Fri, 21 Nov 2008 16:14:08 +0000
- To: Semantic Web <semantic-web@w3.org>
Little question about using two features of RDF/XML in conjunction. Say I have the following RDF/XML: <rdf:Description> <ex:foo> <rdf:List rdf:nodeID="theList"> <rdf:_1><rdf:Description rdf:about="#i1" /></rdf:_1> <rdf:_2><rdf:Description rdf:about="#i2" /></rdf:_2> <rdf:_3><rdf:Description rdf:about="#i3" /></rdf:_3> </rdf:List> </ex:foo> </rdf:Description> Now, this can be simplified, removing the rdf:List and rdf:_n stuff, using parseType="Collection": <rdf:Description> <ex:foo rdf:parseType="Collection"> <rdf:Description rdf:about="#i1" /> <rdf:Description rdf:about="#i2" /> <rdf:Description rdf:about="#i3" /> </ex:foo> </rdf:Description> But note now that the nodeID for the list no longer has an element upon which to be hung. If I want to refer to the same list again, I can't reference it as a named node. Is there a way around it? Can I use, for instance, rdf:nodeID on the <ex:foo/> element? -- Toby A Inkster <mailto:mail@tobyinkster.co.uk> <http://tobyinkster.co.uk>
Received on Friday, 21 November 2008 16:15:24 UTC