- From: Garret Wilson <garret@globalmentor.com>
- Date: Sun, 12 Jan 2003 09:46:00 -0800
- To: www-rdf-comments@w3.org
I earlier complained of having rdf:nodeID without a separate rdf:nodeIDRef. I'm now trying to use rdf:nodeID with rdf:parseType="Collection". The primer contains (I'll ignore rdf:resource versus rdf:about for now---see my separate message): <rdf:Description rdf:about="http://example.edu/courses/6.001"> <s:students rdf:parseType="Collection" > <s:student rdf:resource="http://example.edu/students/Amy"/> <s:student rdf:resource="http://example.edu/students/Tim"/> <s:student rdf:resource="http://example.edu/students/John"/> </s:students> </rdf:Description> But what if the original description of each student is a blank node identified by a nodeID? Can I do this? <rdf:Description rdf:about="http://example.edu/courses/6.001"> <s:students rdf:parseType="Collection" > <s:student rdf:nodeID="amy"/> <s:student rdf:nodeID="tim"/> <s:student rdf:nodeID="john"/> </s:students> </rdf:Description> And then what if I don't want them typed? Can I do this? <rdf:Description rdf:about="http://example.edu/courses/6.001"> <s:students rdf:parseType="Collection" > <rdf:Description rdf:nodeID="amy"/> <rdf:Description rdf:nodeID="tim"/> <rdf:Description rdf:nodeID="john"/> </s:students> </rdf:Description> My earlier question of whether this is rdf:about or rdf:resource brings up my other earlier comment relating to the name of rdf:nodeID---I think this should really be: <rdf:Description rdf:about="http://example.edu/courses/6.001"> <s:students rdf:parseType="Collection" > <rdf:Description rdf:nodeIDRef="amy"/> <rdf:Description rdf:nodeIDRef="tim"/> <rdf:Description rdf:nodeIDRef="john"/> </s:students> </rdf:Description> Garret
Received on Sunday, 12 January 2003 13:32:23 UTC