Question: Of capitals that are twinned administrative bodies of Saint Petersburg, which one covers the smallest area ?
Choices: Kiev
Tehran
Baku
Prague
Minsk
Istanbul
Tallinn
Cape Town
Riga
Yerevan
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "capital" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> "Saint Petersburg" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Saint Petersburg
function: Relate
dependencies: 0
inputs: twinned administrative body
forward
function: FilterConcept
dependencies: 1
inputs: capital
function: SelectAmong
dependencies: 2
inputs: area
smallest
Answer: Tallinn