How to detect which memory is being used when answering a yes or no question?
It depends whether the answers are well known facts. If I know well my name, the color of my hair and whether I can ride a bike then semantic memory is used to answer these questions. If I have a doubt whether I can ride a bike, then I may use other types of memory like episodic or even procedural to come up with an answer. 

Also, I may use episodic memory to answer a specific question today, but if I have to answer the same question tomorrow I will probably use semantic memory because it has become a general fact that is stored in semantic memory.


  Semantic memory reflects our knowledge of the world around us, hence
  the term 'general knowledge' is often used. It holds generic
  information that is more than likely acquired across various contexts
  and is used across different situations.