try {
// run a simple query using Jena interface
ExtendedIterator results = model.listIndividuals( cls );
// print if the query succeeded
int size = results.toList().size();
System.out.print( "completed in " + timers.mainTimer.getElapsed() + "ms" );
System.out.println(" (" + size + " results)" );
} catch( TimeoutException e ) {
System.out.println( "interrupted after " + timers.mainTimer.getElapsed() + "ms" );
}