Link queries for boolean