A German shepherd on a leash barking up at somebody.
a dog sleeps as people walk by
The dog either sleeps, or it's barking at somebody. Dogs sometimes bark in their sleep, but in that instance it's not directed at anyone.
(-x)
(-x)