public static Predicate<Quad> filterWithLDF(final String subject, final String predicate,
            final String object) {
        return quad -> !(notCompareWithString(quad.getSubject(), subject)
                    || notCompareWithString(quad.getPredicate(), predicate)
                    || notCompareWithString(quad.getObject(), object));
    }
public static Predicate < Quad > filterWithLDF ( final String subject , final String predicate , final String object ) { return quad -> ! ( notCompareWithString ( quad . getSubject ( ) , subject ) || notCompareWithString ( quad . getPredicate ( ) , predicate ) || notCompareWithString ( quad . 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