question: public void munge ( String entityId , Collection < Statement > statements , Collection < String > existingValues , Collection < String > existingRefs , Change sourceChange ) { if ( statements . isEmpty ( ) ) { return ; } MungeOperation op = new MungeOperation ( entityId , statements , existingValues , existingRefs ) ; if ( sourceChange != null ) { op . importFromChange ( sourceChange ) ; } op . munge ( ) ; existingValues . removeAll ( op . extraValidSubjects ) ; existingRefs . removeAll ( op . extraValidSubjects ) ; return ; }
target:  Adds and removes entries from the statements collection to munge Wikibase RDF exports into a more queryable form.