Instruction: Check if a product can function as a substitute for a given query, even if it doesn't fully meet all requirements. Output yes if it can or no otherwise.

Input:
Query: wall beds & murphy bed queen
Product: Bestar, Universel Collection, Queen Murphy Bed
Answer: yes