marmotta.shutdown();
}
@Test
public void testSparqlSelect() throws Exception {
SPARQLClient client = new SPARQLClient(config);
SPARQLResult result = client.select("SELECT ?r ?n WHERE { ?r <http://xmlns.com/foaf/0.1/name> ?n }");
Assert.assertEquals(3, result.size());
Assert.assertThat(result, (Matcher) hasItems(hasKey("r"), hasKey("n")));
Assert.assertThat(result,(Matcher)hasItem(hasValue(hasProperty("content", equalTo("Sepp Huber")))));
}