def METHOD_NAME(cypher, kg_name, data_type):
    rtx_config = RTXConfiguration()
    kg2_neo4j_info = rtx_config.get_neo4j_info(kg_name)
    driver = GraphDatabase.driver(kg2_neo4j_info['bolt'],
                                  auth=(kg2_neo4j_info['username'],
                                        kg2_neo4j_info['password']))
    with driver.session() as session:
        start = time.time()
        print(f"Grabbing {data_type} from {kg_name} neo4j...")
        results = session.run(cypher).data()
        elapsed_time = time.time() - start
        print(f"...done. Query took {round(elapsed_time / 60, 2)} minutes.")
    driver.close()
    return results