In case I missed your meaning Group Dynamic queries - that interface is weak but I believe just specifying is and leaving the value empty will work. Do one for Contact and another query for Location - if you add both to one query it's additive and will only match those with both empty.
![Screen Shot 2015-02-27 at 7.52.03 PM.png]()