def get_authors_by_name(name, session):
    """
    Returns a list of authors that have the given name
    """
    query = \
"""MATCH (n:Authors)
WHERE n.name = '{0}'
RETURN n""".format(name)

    result = session.run(query)
    result_list = []
    for record in result.data():
        result_list.append(record["n"])
    return result_list