@Test
public void testPOFOnObject()
throws Exception {

  final String q = "SELECT ?s WHERE { ?s a < }";
  final String expectedAst = "QueryContainer\n" +
                              " SelectQuery\n" +
                              "  Select\n" +
                              "   ProjectionElem\n" +
                              "    Var (POF)\n" +
                              "  WhereClause\n" +
                              "   GraphPatternGroup\n" +
                              "    BasicGraphPattern\n" +
                              "     TriplesSameSubjectPath\n" +
                              "      Var (s)\n" +
                              "      PropertyListPath\n" +
                              "       PathAlternative\n" +
                              "        PathSequence\n" +
                              "         PathElt\n" +
                              "          IRI (http://www.w3.org/1999/02/22-rdf-syntax-ns#type)\n" +
                              "       ObjectList\n" +
                              "        Var (POF)";
  ast = SyntaxTreeBuilder.parseQuery(q);
  PointOfFocusProcessor.process(ast);
  assertEquals(expectedAst, ast.dump(""));
}