code: def convert_to_annotation(file, output):
      
      resource = parse_bel_resource(file)
  
      write_annotation(
          keyword=resource['Namespace']['Keyword'],
          values={k: '' for k in resource['Values']},
          citation_name=resource['Citation']['NameString'],
          description=resource['Namespace']['DescriptionString'],
          file=output
      )
docs: Convert a namespace file to an annotation file.