@Test
public void testPOFonClass() throws Exception {

  final String query = "SELECT * { ?a a ?POF . }";
  final ASTQueryContainer ast = SyntaxTreeBuilder.parseQuery(query);
  final RecommendationQuery actual = SparqlTranslationProcessor.process(null, ast);
  final RecommendationQuery rq = new RecommendationQuery(DataGraphSummaryVocab.GRAPH_SUMMARY_GRAPH, null);
  rq.addProjection(QueryProcessor.POF_RESOURCE);
  rq.addProjection(SyntaxTreeBuilder.PointOfFocus);
  rq.addProjection(QueryProcessor.CARDINALITY_VAR);
  rq.addProjection(QueryProcessor.CLASS_ATTRIBUTE_LABEL_VAR);
  rq.addProjection(QueryProcessor.CLASS_ATTRIBUTE_CARD_VAR);
  rq.type().add(new Type(null, "s", "?" + SyntaxTreeBuilder.PointOfFocus));
  helper.assertDGSQuery(rq, actual);
}