question: private static void addOrRemoveStatement ( final BigdataSailConnection conn , final BigdataStatement spo , final boolean insert ) throws SailException { final Resource s = ( Resource ) spo . getSubject ( ) ; final URI p = ( URI ) spo . getPredicate ( ) ; final Value o = ( Value ) spo . getObject ( ) ; final Resource c = ( Resource ) ( spo . getContext ( ) == null ? null : spo . getContext ( ) ) ; final Resource [ ] contexts = ( Resource [ ] ) ( c == null ? NO_CONTEXTS : new Resource [ ] { c } ) ; if ( log . isTraceEnabled ( ) ) log . trace ( ( insert ? "INSERT" : "DELETE" ) + ": <" + s + "," + p + "," + o + "," + Arrays . toString ( contexts ) ) ; if ( insert ) { conn . addStatement ( s , p , o , contexts ) ; } else { conn . removeStatements ( s , p , o , contexts ) ; } }
target:  Insert or remove a statement.