From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more

NAME

rdfdot - Create dot graph diagrams from RDF data.

VERSION

version 0.141

SYNOPSIS

rdfdot [ <OPTIONS> ] [ [ <RDF> ] <GRAPH> ]

Arguments:

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.

Options:

-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

DESCRIPTION

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.

EXAMPLES

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

AUTHOR

Jakob Voß <voss@gbv.de>

COPYRIGHT AND LICENSE

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:

Around line 123:

Non-ASCII character seen before =encoding in 'Voß'. Assuming UTF-8