Question: Which area is smaller, Knoxville or Greenville (the one whose official name is Greenville)?
Choices:
New Britain
Waukegan
Lansing
Franklin
Oakland
Boulder
Greenville
Compton
New Haven
Knoxville
Answer: Greenville
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Knoxville" . } UNION { ?e <pred:name> "Greenville" . ?e <official_name> ?pv_1 . ?pv_1 <pred:value> "Greenville" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Knoxville
function: Find
inputs: Greenville
function: FilterStr
dependencies: 1
inputs: official name
Greenville
function: SelectBetween
dependencies: 0
2
inputs: area
less