test_class.declarator: ast
test_class.modifier: private
test_class.original_string: private ASTQueryContainer ast;
test_class.type: ASTQueryContainer
test_class.var_name: ast
test_class.file: recommendation-servlet/src/test/java/org/sindice/analytics/queryProcessor/TestContentRemovalProcessor.java
test_class.identifier: TestContentRemovalProcessor
test_case.body: @Test
    public void testSubjectAndIRIRemoval()
    throws Exception {
      final String q = "SELECT * { ?s <name> <test>. ?s <label> <test>. <moi> a <Person>. <moi> ?p <Person> }";
      final String expectedAst = "QueryContainer\n" +
                                  " SelectQuery\n" +
                                  "  Select ( * )\n" +
                                  "  WhereClause\n" +
                                  "   GraphPatternGroup\n" +
                                  "    BasicGraphPattern\n" +
                                  "     TriplesSameSubjectPath\n" +
                                  "      Var (s)\n" +
                                  "      PropertyListPath\n" +
                                  "       PathAlternative\n" +
                                  "        PathSequence\n" +
                                  "         PathElt\n" +
                                  "          IRI (name)\n" +
                                  "       ObjectList\n" +
                                  "        Var (IRIn1010444415016862037)\n" +
                                  "     TriplesSameSubjectPath\n" +
                                  "      Var (s)\n" +
                                  "      PropertyListPath\n" +
                                  "       PathAlternative\n" +
                                  "        PathSequence\n" +
                                  "         PathElt\n" +
                                  "          IRI (label)\n" +
                                  "       ObjectList\n" +
                                  "        Var (IRIn1010444415016862037)\n" +
                                  "     TriplesSameSubjectPath\n" +
                                  "      Var (IRIn8119792335708867021)\n" +
                                  "      PropertyListPath\n" +
                                  "       PathAlternative\n" +
                                  "        PathSequence\n" +
                                  "         PathElt\n" +
                                  "          IRI (http://www.w3.org/1999/02/22-rdf-syntax-ns#type)\n" +
                                  "       ObjectList\n" +
                                  "        IRI (Person)\n" +
                                  "     TriplesSameSubjectPath\n" +
                                  "      Var (IRIn8119792335708867021)\n" +
                                  "      PropertyListPath\n" +
                                  "       Var (p)\n" +
                                  "       ObjectList\n" +
                                  "        Var (IRI4869599639157439053)";
  
      ast = SyntaxTreeBuilder.parseQuery(q);
      ContentRemovalProcessor.process(ast);
      assertEquals(expectedAst, ast.dump(""));
    }
test_case.class_method_signature: TestContentRemovalProcessor.testSubjectAndIRIRemoval()
test_case.full_signature: @Test public void testSubjectAndIRIRemoval()
test_case.identifier: testSubjectAndIRIRemoval
test_case.invocations: parseQuery process assertEquals dump
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testSubjectAndIRIRemoval()
focal_class.file: recommendation-servlet/src/main/java/org/sindice/analytics/queryProcessor/ContentRemovalProcessor.java
focal_class.identifier: ContentRemovalProcessor
focal_class.class_method_signature: ContentRemovalProcessor.ContentRemovalProcessor()
focal_class.full_signature: private  ContentRemovalProcessor()
focal_class.identifier: ContentRemovalProcessor
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  ContentRemovalProcessor()
focal_class.class_method_signature: ContentRemovalProcessor.process(ASTQueryContainer ast)
focal_class.full_signature: public static void process(ASTQueryContainer ast)
focal_class.identifier: process
focal_class.modifiers: public static
focal_class.parameters: (ASTQueryContainer ast)
focal_class.return: void
focal_class.signature: void process(ASTQueryContainer ast)
focal_method.body: public static void process(ASTQueryContainer ast)
    throws VisitorException {
      final ContentRemovalVisitor c = new ContentRemovalVisitor();
      c.visit(ast, null);
    }
focal_method.class_method_signature: ContentRemovalProcessor.process(ASTQueryContainer ast)
focal_method.full_signature: public static void process(ASTQueryContainer ast)
focal_method.identifier: process
focal_method.invocations: visit
focal_method.modifiers: public static
focal_method.parameters: (ASTQueryContainer ast)
focal_method.return: void
focal_method.signature: void process(ASTQueryContainer ast)