Question: Does Perak or Tyrol cover less area?
Choices: Perak
Upper Austria
Minas Gerais
Podlaskie Voivodeship
Lublin Voivodeship
Greater Poland Voivodeship
New South Wales
England
Punjab
Tyrol
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Perak" .  } UNION { ?e <pred:name> "Tyrol" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Austria" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Perak
function: Find
inputs: Austria
function: Relate
dependencies: 1
inputs: contains administrative territorial entity
forward
function: Find
inputs: Tyrol
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: area
less
Answer: Tyrol