Scholar query in Java