def METHOD_NAME(resource_path):
  """Generates the RDF from Yaml.
  Handles the overall orchestration of the process.
  Args:
    resource_path: the path where to find the yaml files.
  Returns:
    graph: the rdf graph
  """
  # Create global graph
  graph = rdflib.Graph()
  # Bind the OWL and Digital Buildings name spaces
  namespace_manager = namespace.NamespaceManager(graph)
  namespace_manager.bind('owl', namespace.OWL)
  namespace_manager.bind('db', constants.DIGITAL_BUILDINGS_NS)
  namespace_manager.bind('dcterms', 'http://purl.org/dc/terms/')
  graph.namespace_manager = namespace_manager
  # Initialize the ontology headers
  digital_building_ont = infixowl.Ontology(
      identifier=rdflib.URIRef(constants.DB), graph=graph)
  digital_building_ont.label = rdflib.Literal('Digital Buildings')
  graph.add((digital_building_ont.identifier, constants.DCTERMS['title'],
             rdflib.Literal('Digital Buildings Ontology')))
  graph.add((digital_building_ont.identifier, constants.DCTERMS['license'],
             rdflib.Literal(constants.GITHUB_LICENSE)))
  graph.add((digital_building_ont.identifier, constants.DCTERMS['modified'],
             rdflib.Literal(rdf_helper.GetTimeNow())))
  graph.add((digital_building_ont.identifier, rdflib.OWL['versionInfo'],
             rdflib.Literal(constants.ONT_VERSION)))
  graph.add((digital_building_ont.identifier, constants.DCTERMS['creator'],
             rdflib.Literal(constants.AUTHORS)))
  graph.add((digital_building_ont.identifier, constants.DCTERMS['contributor'],
             rdflib.Literal(constants.CONTRIBUTORS)))
  graph.add((digital_building_ont.identifier, rdflib.OWL['seeAlso'],
             rdflib.Literal(constants.GITHUB)))
  graph.add((digital_building_ont.identifier, constants.DCTERMS['description'],
             rdflib.Literal(constants.ONT_DESCRIPTION)))
  # Initialize the main classes
  graph = rdf_ont_init.GenerateGraph(graph)
  # Handle the Facilities file
  facilities_file = rdf_helper.ReadFile(resource_path + FACILITIES)
  yaml_facilities = yaml_handler.ImportYamlFiles(facilities_file)
  graph = rdflib_facilities_handler.GenerateGraph(yaml_facilities, graph)
  # Handle the Units file
  units_file = rdf_helper.ReadFile(resource_path + UNITS)
  yaml_units = yaml_handler.ImportYamlFiles(units_file)
  graph = rdflib_units_handler.GenerateGraph(yaml_units, graph)
  # Handle the Subfields file
  subfields_file = rdf_helper.ReadFile(resource_path + SUBFIELDS)
  yaml_subfields = yaml_handler.ImportYamlFiles(subfields_file)
  graph = rdflib_subfields_handler.GenerateGraph(yaml_subfields, graph)
  # # Handle the Abstract file
  abstract_file = rdf_helper.ReadFile(resource_path + ABSTRACT)
  yaml_abstract = yaml_handler.ImportYamlFiles(abstract_file)
  graph = rdflib_function_handler.GenerateGraph(yaml_abstract, graph)
  # # Handle the General Types file
  generaltypes_file = rdf_helper.ReadFile(resource_path + GENERALTYPES)
  yaml_generaltypes = yaml_handler.ImportYamlFiles(generaltypes_file)
  graph = rdflib_generaltypes_handler.GenerateGraph(yaml_generaltypes, graph)
  # Handle the states file
  states_file = rdf_helper.ReadFile(resource_path + STATES)
  yaml_states = yaml_handler.ImportYamlFiles(states_file)
  graph = rdflib_states_handler.GenerateGraph(yaml_states, graph)
  # Handle the HVAC files
  for hvac_type in carson_types:
    type_file = rdf_helper.ReadFile(resource_path + hvac_type)
    yaml_type = yaml_handler.ImportYamlFiles(type_file)
    graph = rdflib_carson_types_handler.GenerateGraph(yaml_type, graph,
                                                      constants.HVAC_NS)
  return graph