Question: What has less area, Victoria (that contains Geelong) or Minas Gerais?
Choices:
Victoria
Tasmania
Greater Poland Voivodeship
Punjab
Lublin Voivodeship
New South Wales
England
Minas Gerais
Upper Austria
Chiapas
Program:
function: Find
inputs: Minas Gerais
function: Find
inputs: Geelong
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Victoria
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Minas Gerais" .  } UNION { ?e <pred:name> "Victoria" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Geelong" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Victoria