### Question:
GraphProcessor { Shape filter(final Shape shape) { return shape.map(new Redactor(Shape.Mode, Shape.Filter)); }    }### Answer:
@Test void testUseIndependentPatternsAndFilters() { exec(() -> assertThat(query( Root, items(and( field(term("employee")), filter().then(field(term("employee"), any(item("employees/1002"), item("employees/1188")))) )) )).isIsomorphicTo(graph( "" +"\n" +"construct {\n" +"\n" +"\t<app:/> ldp:contains ?office.\n" +"\t?office :employee ?employee\n" +"\n" +"} where {\n" +"\n" +"\t?office :employee ?employee, ?x filter (?x in (<employees/1002>, <employees/1188>))\n" +"\n" +"}" ))); }