Matching triple patterns with Signal/Collect.