code: public static Predicate<Triple> filterWithLDF(final String subject, final String predicate,
              final String object) {
          return triple -> !(notCompareWithString(triple.getSubject(), subject)
                      || notCompareWithString(triple.getPredicate(), predicate)
                      || notCompareWithString(triple.getObject(), object));
      }
docs: Create a Linked Data Fragments filter.
  
  @param subject the LDF subject
  @param predicate the LDF predicate
  @param object the LDF object
  @return a filtering predicate