Question: Which area is smaller, Illinois (the one that contains Columbia College Chicago) or Tennessee (the one that is a part of contiguous United States)?
Choices:
Hawaii
Massachusetts
Florida
Iowa
New Jersey
Kansas
Colorado
Illinois
New Mexico
Tennessee
Answer: Tennessee
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Illinois" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Columbia College Chicago" .   } UNION { ?e <pred:name> "Tennessee" . ?e <part_of> ?e_2 . ?e_2 <pred:name> "contiguous United States" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Columbia College Chicago
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Illinois
function: And
dependencies: 1
2
function: Find
inputs: contiguous United States
function: Relate
dependencies: 4
inputs: part of
backward
function: Find
inputs: Tennessee
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: area
less