Both sentences are correct. But, perhaps a better sentence would be --

"The capacious room was in one of the nine elementary schools in the area."

I am writing a personal narrative for my AP english class. One sentence I had written went as follows:

The capacious room belonged to one of nine elementary schools in the area.

However, a fellow student told me that "belonged to" was incorrect; it didn't make sense. I changed it to this, but I think that the wording is very awkward:

The capacious room was part of one of nine elementary schools in the area.

Was my original sentence wrong, and if so how do I change it?