def dunder_get(_dict, key):
    parts = key.split('__', 1)
    try:
        result = _dict[parts[0]]
    except KeyError:
        return None
    else:
        return result if len(parts) == 1 else dunder_get(result, parts[1])
URI#context
dataset/ETHPy150Open naiquevin/lookupy/lookupy/dunderkey.py/dunder_get--crossover with--dataset/ETHPy150Open RDFLib/rdflib/rdflib/graph.py/ConjunctiveGraph.context_id