The bald eagle visits the dog. The dog is big. The dog likes the bald eagle. The mouse needs the bald eagle. The squirrel needs the dog. The squirrel needs the mouse. The squirrel visits the mouse. If something needs the dog and the dog needs the bald eagle then it visits the squirrel. If something needs the dog then the dog likes the squirrel. If something likes the dog and it does not visit the bald eagle then the dog needs the bald eagle.
The dog does not visit the squirrel.