问一道英语的句型转换,

问题描述:

问一道英语的句型转换,
John went to the school libarary to borrow some books?(对画线部分提问)(画线部分是to borrow some books)
______ did John go to the school library ______

What did John go to the school library for?