rdfdot - Create dot graph diagrams from RDF data.
rdfdot [ <OPTIONS> ] [ [ <RDF> ] <GRAPH> ]
RDF RDF input filename with known extension (.ttl, .nt etc.),
default is '-' for standard input.
GRAPH Graph output filename with known extension (.png, .svg etc.),
default is '-' for standard output.
-ttl input is Turtle format
-rdf|xrdf|rdfx input is RDF/XML
-js|json input is RDF/JSON format
-htm|html|xhtml input is HTML with RDFa
-nt input is NTriples format
-nq input is NQuads format
-trig input is TriG format
-png output is PNG format
-svg output is SVG format
-... output is ... format (see -output)
-output list all output formats and their mime type
-I BASE set base URI for input
This command line client is installed with RDF::Trine::Exporter::GraphViz to create nice graph diagrams from RDF data. Namespace prefixes are taken from RDF::NS.
rdfdot myrdf.xml # output as DOT
rdfdot -svg data.ttl # ouptput as SVG
rdfdot myrdf.xml graph.png # create PNG file
cat myrdf.nt | rdfdot -nt graph.gif # RDF from STDIN to GIF file
Jakob Voß <email@example.com>
This software is copyright (c) 2012 by Jakob Voß.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
1 POD Error
The following errors were encountered while parsing the POD:
Non-ASCII character seen before =encoding in 'Voß'. Assuming UTF-8
To install RDF::Trine::Exporter::GraphViz, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.