Cook the onions in salted water. Drain and set aside. Crush the walnuts and garlic in a mortar with a pinch of salt until everything becomes a paste. Add the oil and lemon juice gradually. Finish the sauce with chopped parsley. Serve onions in large pieces, topped with the sauce.