Some N-Triples visualized with GraphViz

The script in ../util/nt2dot.rb is handy for turning N-Triples into a form GraphViz can understand.

Files

Original

From xml-dist-app:

In Message-ID: <005601c1cd05$9a982f80$b47ba8c0@zerogravitas>

Using your triples the graph would look like this:

 
    nontermA edgeB "terminalB"
    nontermA edgeC "terminalC"
    nontermA edgeD "nontermD"
    nontermD structE "nontermE"
    nontermE edgeF "terminalF"
    nontermE edgeG "terminalG"
 

Output

graphviz diagram from SOAP / N-Triples input

Details

What I typed...

danbri@fireball:~/s-rubyrdf/util > ./nt2dot.rb < gudge1.nt > gudge1.dot
danbri@fireball:~/s-rubyrdf/util > dot -Tpng gudge1.dot > gudge1.png
danbri@fireball:~/s-rubyrdf/util > dot -Tsvg gudge1.dot > gudge1.svg

$Id: intro.html,v 1.2 2002/03/16 16:47:17 danbri Exp $