def add_relations(spec_dict: Mapping[str, Any]) -> Mapping[str, Any]:
<EOL>spec_dict["<STR_LIT>"]["<STR_LIT:list>"] = []<EOL>spec_dict["<STR_LIT>"]["<STR_LIT>"] = []<EOL>spec_dict["<STR_LIT>"]["<STR_LIT>"] = []<EOL>spec_dict["<STR_LIT>"]["<STR_LIT>"] = {}<EOL>spec_dict["<STR_LIT>"]["<STR_LIT>"] = {}<EOL>for relation_name in spec_dict["<STR_LIT>"]["<STR_LIT:info>"]:<EOL><INDENT>abbreviated_name = spec_dict["<STR_LIT>"]["<STR_LIT:info>"][relation_name]["<STR_LIT>"]<EOL>spec_dict["<STR_LIT>"]["<STR_LIT:list>"].extend((relation_name, abbreviated_name))<EOL>spec_dict["<STR_LIT>"]["<STR_LIT>"].append(relation_name)<EOL>spec_dict["<STR_LIT>"]["<STR_LIT>"].append(abbreviated_name)<EOL>spec_dict["<STR_LIT>"]["<STR_LIT>"][relation_name] = abbreviated_name<EOL>spec_dict["<STR_LIT>"]["<STR_LIT>"][abbreviated_name] = abbreviated_name<EOL>spec_dict["<STR_LIT>"]["<STR_LIT>"][abbreviated_name] = relation_name<EOL>spec_dict["<STR_LIT>"]["<STR_LIT>"][relation_name] = relation_name<EOL><DEDENT>return spec_dict<EOL>
Add relation keys to spec_dict

    Args:
        spec_dict (Mapping[str, Any]): bel specification dictionary

    Returns:
        Mapping[str, Any]: bel specification dictionary with added relation keys