def METHOD_NAME(identifier_string: str, format: str) -> Identifier:
    g = Graph()
    g.parse(
        data=f"""<{EGDC.subject}> <{EGDC.predicate}> {identifier_string} .""",
        format=format,
    )
    triples = list(g.triples((None, None, None)))
    assert len(triples) == 1
    (subj, pred, obj) = triples[0]
    assert subj == EGDC.subject
    assert pred == EGDC.predicate
    assert isinstance(obj, Identifier)
    return obj