@Test
public void testTranslateClassTriplePattern()
throws Exception {

  final String query = "SELECT * { ?s a <Person> . }";
  final ASTQueryContainer ast = SyntaxTreeBuilder.parseQuery(query);
  final RecommendationQuery actual = SparqlTranslationProcessor.process(null, ast);
  final RecommendationQuery rq = new RecommendationQuery(DataGraphSummaryVocab.GRAPH_SUMMARY_GRAPH, null);
  rq.type().add(new Type(null, "s", "<Person>"));
  helper.assertDGSQuery(rq, actual);
}