code: def action_serialize(source, out_fmt="turtle", verbose=False):
      
  
      o = Ontospy(uri_or_path=source, verbose=verbose, build_all=False)
      s = o.serialize(out_fmt)
      print(s)
docs: Util: render RDF into a different serialization 
      valid options are: xml, n3, turtle, nt, pretty-xml, json-ld