as he turned one of the streets heading for the commotion , he was able to make out a very large and elegant temple , charles thoughts went to jerusalem and the temple that was built by king solomon .