Question: What geographic region is located in or next to South Australia and located in or next to Western Australia?
Choices: Atlantic Canada
Pacific Ocean
Indian Ocean
Lake District
Transylvania
Africa
Antarctica
South America
Caribbean
Piedmont
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "geographic region" . ?e_1 <located_in_or_next_to_body_of_water> ?e . ?e_1 <pred:name> "South Australia" .  ?e_2 <located_in_or_next_to_body_of_water> ?e . ?e_2 <pred:name> "Western Australia" .  }
Program:
function: Find
inputs: South Australia
function: Relate
dependencies: 0
inputs: located in or next to body of water
forward
function: FilterConcept
dependencies: 1
inputs: geographic region
function: Find
inputs: Western Australia
function: Relate
dependencies: 3
inputs: located in or next to body of water
forward
function: FilterConcept
dependencies: 4
inputs: geographic region
function: And
dependencies: 2
5
function: What
dependencies: 6
Answer: Indian Ocean