Answer:
B) We visited the church, which is in the middle of the square.
Step-by-step explanation:
We visited the church which is in the middle of the square. (Comma missing after church.)
We visited the church, which is in the middle of the square.
We visited the church that is in the middle of the square. (Missing comma after church and that needs to be which.)