Question: Which capital whose country is France has the smallest area?
Choices:
Sarajevo
Riga
Manila
Mexico City
Paris
Moscow
New Delhi
Tallinn
Strasbourg
Doha
Answer: Strasbourg
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "capital" . ?e <country> ?e_1 . ?e_1 <pred:name> "France" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: France
function: Relate
dependencies: 0
inputs: country
backward
function: FilterConcept
dependencies: 1
inputs: capital
function: SelectAmong
dependencies: 2
inputs: area
smallest