Summer Lee has defeated Bhavini Patel in the Democratic primary for Pennsylvania’s 12th Congressional District, the Associated Press projects.