In message <[email protected]>, Richard Light
<[email protected]> writes
I'm developing my nascent Turtle parser, and working through the Turtle
examples [1]. Since my objective is to generate RDF from the parsed
Turtle source, I need guidance on whether to implement Collections
(test 07) as a linked list of blank nodes, as suggested by the output
from test 07, or by the rather nicer rdf:parseType="Collection"
construct given in the RDF Primer [2].
Follow-up question: if I did want to use the rdf:parseType="Collection"
construct in my RDF/XML output, how would I do so for the example given,
where the collection is a collection of strings?
@prefix : <http://example.org/stuff/1.0/> .
:a :b ( "apple" "banana" ) .
Richard
--
Richard Light