A young man sleeping next to a dog.
A man is sleeping next to his daughters dog.
You can not infer the dog is his daughters.
Just because it is a dog doesn't mean it is his daughters dog.
Not all men have daughters.