The answers is D.
A) community centers just as much as they were purely religious edifices;and they were structures that represneted a city's commitment to a public realm, the opposite of being a private one.
just .. as much as - repetition. The pronoun they is ambiguous - it can refer to religious edifices or community centers
(B) community centers as much as purely religious edifices; they were structures representing a city's commitment to public realm, as opposed to private.
Same error as above
(C) community centers as well as purely religious edifices; they were structures that represented a city's commitment to a public realm, as opposed to a private one.
The pronoun they is still ambiguous
(D) as much community centers as purely religious edifices, structures that represented a city's commitment to a public realm, as opposed to a private one.
Correct
(E) as much community centers as they were purely religious edifices, structures representing a city's commitment to a public realm, opposite of a private one.
The sentence is in past tense but representing is in present continuous and does not fit in here. "opposite of a private one" is also incorrect.
Hope this helps.
-pradeep
_________________
In the land of the night, the chariot of the sun is drawn by the grateful dead