The library is next to the canteen.
Let's analyze this sentence. The library is next to the canteen, so we can use "something is somewhere" in Japanese to regard the canteen as a facility. The form of this sentence is "~ はにぁります". The Japanese translation is: "としょかん )はしし". This is complete. If you have any questions, please ask.