ruby ./rdftest.rb nodeID/ex1.rdf
Opening file: '#<File:0x2ae44b8>' 


# Ruby-RDF NTriple serializer $Id: nodeID.txt,v 1.1 2003/03/20 05:13:57 danbri Exp $ 
#

<http://rdfweb.org/people/danbri/> <http://purl.org/dc/elements/1.1/creator> _:bnodeid:98135375 .
_:bnodeid:98135375 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
<http://rdfweb.org/people/danbri/> <http://purl.org/dc/elements/1.1/title> "Dan Brickley's home page" .
_:bnodeid:98205566 <http://example.org/stuff/1.0/fullName> "Dave Beckett" .
<http://www.w3.org/TR/rdf-syntax-grammar> <http://purl.org/dc/elements/1.1/title> "RDF/XML Syntax Specification (Revised)" .
_:bnodeid:98135375 <http://xmlns.com/foaf/0.1/name> "Dan Brickley" .
<http://www.w3.org/TR/rdf-syntax-grammar> <http://example.org/stuff/1.0/editor> _:bnodeid:98205566 .
_:bnodeid:98205566 <http://example.org/stuff/1.0/homePage> <http://purl.org/net/dajobe/> .
_:bnodeid:98135375 <http://xmlns.com/foaf/0.1/homepage> <http://rdfweb.org/people/danbri/> .

ruby ./rdftest.rb nodeID/example11.rdf
Opening file: '#<File:0x2ae44d0>' 


# Ruby-RDF NTriple serializer $Id: nodeID.txt,v 1.1 2003/03/20 05:13:57 danbri Exp $ 
#

_:bnodeid:67446899 <http://example.org/stuff/1.0/fullName> "Dave Beckett" .
<http://www.w3.org/TR/rdf-syntax-grammar> <http://purl.org/dc/elements/1.1/title> "RDF/XML Syntax Specification (Revised)" .
_:bnodeid:67446899 <http://example.org/stuff/1.0/homePage> <http://purl.org/net/dajobe/> .
<http://www.w3.org/TR/rdf-syntax-grammar> <http://example.org/stuff/1.0/editor> _:bnodeid:67446899 .

echo "Compare (@@automate?) with expected ntriples:"
Compare (@@automate?) with expected ntriples:
cat nodeID/example11.nt
<http://www.w3.org/TR/rdf-syntax-grammar> <http://purl.org/dc/elements/1.1/title> "RDF/XML Syntax Specification (Revised)" .
<http://www.w3.org/TR/rdf-syntax-grammar> <http://example.org/stuff/1.0/editor> _:abc .
_:abc <http://example.org/stuff/1.0/fullName> "Dave Beckett" .
_:abc <http://example.org/stuff/1.0/homePage> <http://purl.org/net/dajobe/> .
