import csv


def read_dbpedia_prefix(file_path="data/prefixes.csv"):
    """
    Read prefixes from DBpedia
    """
    result = {}
    with open(file_path) as csvfile:
        reader = csv.reader(csvfile, delimiter='\t')
        for row in reader:
            result[row[0]] = row[1]

    # Or we can use pandas to read csv into a DataFrame object
    # data = pd.read_csv("data/prefixes.csv", sep='\t')
    # return data

    return result