Question: How is Tasmania which is located in or next to the Pacific Ocean related to the Indian Ocean?
Choices: has effect
derivative work
eye color
military rank
location of final assembly
family name
does not have part
located in or next to body of water
penalty
commissioned by
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Tasmania" . ?e_1 <located_in_or_next_to_body_of_water> ?e_3 . ?e_3 <pred:name> "Pacific Ocean" . ?e_2 <pred:name> "Indian Ocean" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Pacific Ocean
function: Relate
dependencies: 0
inputs: located in or next to body of water
backward
function: Find
inputs: Tasmania
function: And
dependencies: 1
2
function: Find
inputs: Indian Ocean
function: QueryRelation
dependencies: 3
4
Answer: located in or next to body of water