After I execute a SPARQL, is there any way to check if the ResultSet is empty ? It seems that there is no easy way but to call nextSolution(.. and catch the exception.
Maybe I am feeling too sleepy or something important is missing :-))
After I execute a SPARQL, is there any way to check if the ResultSet is empty ? It seems that there is no easy way but to call nextSolution(.. and catch the exception.
Maybe I am feeling too sleepy or something important is missing :-))