A dog is on the beach near a ball.
A dog is playing ball with his owner.
The dog may not be playing with its owner.
Not all dogs on beach are playing ball with their owner.
WE have no idea if the dog is playing with the ball, dogs can be near balls for many reasons. We have no idea if the dog's owner is nearby, he might not be around.