Your answer is B. For parallelism to be correct in a coordinated phrase, all the phrases linked must belong to the same category. In B, "Philadelphia has many historic buildings, beautiful parks, and excellent restaurants"; the conjuction "and" links NPs: many historic buildings, beautiful parks and excellent restaurants. Each of these NPs is modified by an AdjP (adjetival phrase) making all the noun phrases to weitgh the same.