Module Expr Str Import alias Import alias Import alias Import alias Import alias ImportFrom alias Assign NameStore ListLoad AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Assign NameStore ListComp SubscriptLoad NameLoad Index NameLoad comprehension NameStore TupleLoad Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Assign NameStore Str Assign NameStore Str Assign NameStore Str FunctionDef arguments args NameParam NameParam NameParam defaults Dict body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Dict FunctionDef arguments args NameParam defaults body If CompareNotIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad BinOpMod Str Call NameLoad NameLoad Return SubscriptLoad NameLoad Index NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If NameLoad body Return NameLoad TryExcept body Return SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Index Num handlers ExceptHandler body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If AttributeLoad NameLoad attr body Return BinOpMod Str TupleLoad NameLoad Call NameLoad AttributeLoad NameLoad attr NameLoad orelse If AttributeLoad NameLoad attr body Return BinOpMod Str TupleLoad NameLoad AttributeLoad NameLoad attr Return BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return BinOpAdd BinOpAdd SubscriptLoad NameLoad Index Num Str SubscriptLoad NameLoad Index Num handlers ExceptHandler body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Str decorator_list Expr Call AttributeLoad NameLoad attr Str For TupleStore NameStore NameStore NameStore NameLoad body Assign NameStore Call NameLoad NameLoad If CompareEq NameLoad AttributeLoad AttributeLoad NameLoad attr attr body Continue If Call NameLoad NameLoad TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore Call NameLoad NameLoad Assign NameStore BinOpAdd Str Str Expr Call AttributeLoad NameLoad attr BinOpMod NameLoad TupleLoad NameLoad NameLoad Call NameLoad NameLoad Call NameLoad NameLoad NameLoad orelse Expr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr TupleLoad Call NameLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Assign NameStore ListComp BinOpMod Str NameLoad comprehension NameStore Call NameLoad SubscriptLoad NameLoad Index NameLoad Assign NameStore BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr BinOpMod NameLoad TupleLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad NameLoad NameLoad Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args defaults body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad NameLoad decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A 
A commandline tool for drawing RDF graphs in Graphviz DOT format

You can draw the graph of an RDF file directly:

.. code-block: bash

   rdf2dot my_rdf_file.rdf | dot -Tpng | display

 N/A rdflib N/A rdflib.extras.cmdlineutils N/A sys N/A cgi N/A collections rdflib XSD N/A LABEL_PROPERTIES N/A N/A N/A rdflib RDFS label N/A N/A rdflib URIRef http://purl.org/dc/elements/1.1/title N/A N/A rdflib URIRef http://xmlns.com/foaf/0.1/name N/A N/A rdflib URIRef http://www.w3.org/2006/vcard/ns#fn N/A N/A rdflib URIRef http://www.w3.org/2006/vcard/ns#org N/A XSDTERMS N/A N/A XSD N/A x N/A x N/A anyURI base64Binary boolean byte date dateTime decimal double duration float gDay gMonth gMonthDay gYear gYearMonth hexBinary ID IDREF IDREFS int integer language long Name NCName negativeInteger NMTOKEN NMTOKENS nonNegativeInteger nonPositiveInteger normalizedString positiveInteger QName short string time token unsignedByte unsignedInt unsignedLong unsignedShort N/A EDGECOLOR blue N/A NODECOLOR black N/A ISACOLOR black rdf2dot N/A N/A g stream opts N/A N/A N/A N/A 
    Convert the RDF graph to DOT
    writes the dot output to the stream
     N/A fields N/A N/A collections defaultdict set N/A nodes N/A node N/A N/A x N/A N/A N/A N/A x nodes N/A N/A N/A nodes N/A x N/A node%d N/A len nodes N/A N/A nodes N/A x N/A label N/A N/A x g N/A N/A N/A labelProp LABEL_PROPERTIES N/A N/A l N/A N/A g value x labelProp N/A l N/A N/A l N/A N/A N/A N/A N/A N/A N/A g namespace_manager compute_qname x N/A 2 N/A N/A N/A N/A x N/A formatliteral N/A N/A l g N/A N/A N/A v N/A N/A cgi escape l N/A N/A l datatype N/A N/A N/A &quot;%s&quot;^^%s N/A v N/A qname N/A l datatype g N/A N/A N/A l language N/A N/A N/A &quot;%s&quot;@%s N/A v N/A l language N/A N/A &quot;%s&quot; v N/A qname N/A N/A x g N/A N/A N/A N/A N/A q N/A N/A g compute_qname x N/A N/A N/A N/A q N/A 0 : N/A q N/A 2 N/A N/A N/A N/A x N/A color N/A N/A p N/A N/A N/A BLACK N/A N/A N/A N/A stream write digraph { 
 node [ fontname="DejaVu Sans" ] ; 
 N/A N/A s p o g N/A N/A sn N/A node s N/A N/A p N/A N/A rdflib RDFS label N/A N/A N/A N/A isinstance o N/A N/A rdflib URIRef N/A rdflib BNode N/A N/A on N/A node o N/A opstr N/A 	%s -> %s [ color=%s, label=< <font point-size='10'  color='#336633'>%s</font> > ] ;
 N/A N/A N/A stream write N/A opstr N/A sn on N/A color p N/A qname p g N/A N/A N/A N/A N/A fields N/A sn add N/A N/A qname p g N/A formatliteral o g N/A N/A u n N/A N/A nodes items N/A N/A N/A N/A stream write N/A # %s %s
 N/A u n N/A f N/A N/A <tr><td align='left'>%s</td><td align='left'>%s</td></tr> x N/A x N/A sorted N/A fields N/A n N/A opstr N/A N/A N/A N/A N/A %s [ shape=none, color=%s label=< <table color='#666666'  cellborder='0' cellspacing='0' border='1'><tr> <td colspan='2' bgcolor='grey'><B>%s</B></td></tr><tr> <td href='%s' bgcolor='#eeeeee' colspan='2'> <font point-size='10' color='#6666ff'>%s</font></td> </tr>%s</table> > ] 
 N/A N/A N/A stream write N/A opstr N/A n NODECOLOR N/A label u g u u N/A N/A join f N/A N/A N/A stream write }
 N/A _help N/A N/A N/A N/A N/A N/A N/A N/A sys stderr write 
rdf2dot.py [-f <format>] files...
Read RDF files given on STDOUT, writes a graph of the RDFS schema in DOT
language to stdout
-f specifies parser to use, if not given,

 N/A main N/A N/A N/A N/A N/A N/A N/A N/A N/A rdflib extras cmdlineutils main rdf2dot _help N/A N/A N/A __name__ __main__ N/A N/A N/A main