original_docstring: 
          Builds LUBM instance by number of generated graphs to create one LUBM graph
  
          :param args: args[0] - number of generated graphs or path
          :type args: Union[int, Tuple[int, int]]
          :param source_file_format: graph format ('txt'/'rdf')
          :type source_file_format: str
          :param config: edge configuration
          :type config: Optional[Dict[str, str]]
          :return: LUBM instance
          :rtype: LUBM
          
docstring: Builds LUBM instance by number of generated graphs to create one LUBM graph
docstring_tokens: Builds LUBM instance by number of generated graphs to create one LUBM graph
code: def build(cls,
                *args: Union[Path, str, int],
                source_file_format: str = 'rdf',
                config: Optional[Dict[str, str]] = None) -> LUBM:
          """
          Builds LUBM instance by number of generated graphs to create one LUBM graph
  
          :param args: args[0] - number of generated graphs or path
          :type args: Union[int, Tuple[int, int]]
          :param source_file_format: graph format ('txt'/'rdf')
          :type source_file_format: str
          :param config: edge configuration
          :type config: Optional[Dict[str, str]]
          :return: LUBM instance
          :rtype: LUBM
          """
  
          if isinstance(args[0], int):
              number_of_generated_graphs = args[0]
              path_to_graph = gen_lubm_graph(add_graph_dir('LUBM'), number_of_generated_graphs)
              graph = LUBM.load_from_rdf(path_to_graph)
          else:
              source = args[0]
              if source_file_format == 'txt':
                  graph = cls.load_from_txt(source, config)
              else:
                  graph = cls.load_from_rdf(source)
  
          graph.save_metadata()
  
          cls.graphs[(graph.basename, graph.file_extension)] = graph.path
  
          return graph
code_tokens: def build ( cls , * args : Union [ Path , str , int ] , source_file_format : str = 'rdf' , config : Optional [ Dict [ str , str ] ] = None ) -> LUBM : if isinstance ( args [ 0 ] , int ) : number_of_generated_graphs = args [ 0 ] path_to_graph = gen_lubm_graph ( add_graph_dir ( 'LUBM' ) , number_of_generated_graphs ) graph = LUBM . load_from_rdf ( path_to_graph ) else : source = args [ 0 ] if source_file_format == 'txt' : graph = cls . load_from_txt ( source , config ) else : graph = cls . load_from_rdf ( source ) graph . save_metadata ( ) cls . graphs [ ( graph . basename , graph . file_extension ) ] = graph . path return graph
short_docstring: Builds LUBM instance by number of generated graphs to create one LUBM graph
short_docstring_tokens: Builds LUBM instance by number of generated graphs to create one LUBM graph
comment: """
          Builds LUBM instance by number of generated graphs to create one LUBM graph
  
          :param args: args[0] - number of generated graphs or path
          :type args: Union[int, Tuple[int, int]]
          :param source_file_format: graph format ('txt'/'rdf')
          :type source_file_format: str
          :param config: edge configuration
          :type config: Optional[Dict[str, str]]
          :return: LUBM instance
          :rtype: LUBM
          """