Question: Which one is smaller in area, Manchester (the one whose population is 107219) or Greenville (the one whose official name is Greenville) ?
Choices:
Franklin
Waukegan
Lansing
Columbus
Boulder
New Britain
Manchester
Oakland
Greenville
Compton
Answer: Greenville
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Manchester" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "107219"^^xsd:double . } UNION { ?e <pred:name> "Greenville" . ?e <official_name> ?pv_2 . ?pv_2 <pred:value> "Greenville" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Manchester
function: FilterNum
dependencies: 0
inputs: population
107219
=
function: Find
inputs: Greenville
function: FilterStr
dependencies: 2
inputs: official name
Greenville
function: SelectBetween
dependencies: 1
3
inputs: area
less