Dave Beckett's blog

Turtle in Raptor

2004-01-19 00:26

A few hours later, and I've added the new Turtle collection support to Raptor in CVS. Just the usual fiddling to get it working, not too hard.

$ rapper -q -i turtle -o ntriples http://www.ilrt.bris.ac.uk/discovery/2004/01/turtle/example2.ttl
_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "banana" .
_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
_:genid2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "apple" .
_:genid2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid1 .
<http://example.org/stuff/1.0/a> <http://example.org/stuff/1.0/b> _:genid2 .