@Test
public void testConnectedObject3() throws Exception {

  final String query = "SELECT * { ?s ?p ?o . ?a ?POF ?p . }";
  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.edge().add(new Edge(null, "v1", "s", "?p", null));
  rq.edge().add(new Edge(null, "v2", "a", "?" + SyntaxTreeBuilder.PointOfFocus, "p"));
  helper.assertDGSQuery(rq, actual);
}