Question: What is the name of the town that is by the Mediterranean Sea?
Choices:
Barcelona
Windsor
Beirut
Kingston upon Thames
Greece
Valletta
Richmond
Walsall
Aegean Sea
Pietermaritzburg
Answer: Valletta
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "town" . ?e <located_in_or_next_to_body_of_water> ?e_1 . ?e_1 <pred:name> "Mediterranean Sea" .   }
Program:
function: Find
inputs: Mediterranean Sea
function: Relate
dependencies: 0
inputs: located in or next to body of water
backward
function: FilterConcept
dependencies: 1
inputs: town
function: What
dependencies: 2