SPARQLExecutor { @Deprecated public static Boolean executeAsk(final String query, final String endpoint) { QueryExecution qeExe = QueryExecutionFactory.sparqlService(endpoint, query); return qeExe.execAsk(); }  @Deprecated static boolean isEndpointAlive(final String endpoint); @Deprecated static Results executeSelect(final String query, final String endpoint); @Deprecated static Boolean executeAsk(final String query, final String endpoint); @Deprecated static Set<RDFNode> sparql(final String service, final String query);  }
@Test public void testAsk() { assertFalse(SPARQLExecutor.executeAsk("PREFIX foaf: <http: assertTrue(SPARQLExecutor.executeAsk("PREFIX foaf: <http: }