Question: Is the smaller area occupied by Hiroshima, headquarters of Hiroshima Toyo Carp, or Galway?
Choices: Chihuahua
Trieste
Bergen
Cork
Abidjan
Kilkenny
Dundee
Galway
Kingston
Hiroshima
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Hiroshima" . ?e_1 <headquarters_location> ?e . ?e_1 <pred:name> "Hiroshima Toyo Carp" .   } UNION { ?e <pred:name> "Galway" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Hiroshima Toyo Carp
function: Relate
dependencies: 0
inputs: headquarters location
forward
function: Find
inputs: Hiroshima
function: And
dependencies: 1
2
function: Find
inputs: Galway
function: SelectBetween
dependencies: 3
4
inputs: area
less
Answer: Galway