Is there a great tutorial for EQS query and its data

I’ve looked over the tutorials in the UE4 wiki I’m not understanding an in depth breakdown of checking obstacles for world obstacles with the query.

Example:
If I have an AI object and a wall further down to its right. And I just want him to run to the right. How would it identify “hey I’m about to hit a wall let me instead pick a spot to my left or right instead of just walking into the wall.”

Now I figured I would use the query and identify the wall this way?
Or am I miss understanding the query and should be looking for another approach?