code: def __serializedDot(self):
  		
  		temp = ""
  		for x,y,z in self.rdflib_graph.triples((None, None, None)):
  			temp += """"%s" -> "%s" [label="%s"];\n""" % (self.namespace_manager.normalizeUri(x), self.namespace_manager.normalizeUri(z), self.namespace_manager.normalizeUri(y))
  		temp = "digraph graphname {\n%s}" % temp
  		return temp
docs: DOT format:
  		digraph graphname {
  			 a -> b [label=instanceOf];
  			 b -> d [label=isA];
  		 }