Question: Which city that shares a border with Manila has the largest area?
Choices: Santo Domingo
Chihuahua
Quezon City
Abidjan
San Juan
Kilkenny
Kingston
Trieste
Dundee
Bergen
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Manila" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Manila
function: Relate
dependencies: 0
inputs: shares border with
backward
function: FilterConcept
dependencies: 1
inputs: city
function: SelectAmong
dependencies: 2
inputs: area
largest
Answer: Quezon City