A New Friend<br>John left his house to go grocery shopping. Before he made it, he saw a stray dog on the sidewalk. He stopped to check for a collar, but there was none. He took the dog home, and named him Frank. Frank and John are now best friends.
John left the house to get a dog. 
According to the text, John left the house to get grocery, but on his way he found a dog, but the dog was not the reason why he left the house. 
( z1 leave :ARG0 ( z2 person :name ( z3 name :op "John" ) ) :ARG1 ( z4 house ) :purpose ( z5 get :ARG0 z2 :ARG1 ( z6 dog ) ) )