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));
    }
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 ) ) ; }
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