Question: Which has less area, Springfield (whose area is 214.688522 square kilometres) or Norwich (whose local dialing code is 860)?
Choices:
Compton
New Haven
Norwich
Franklin
Boulder
Greenville
Columbus
Lansing
Oakland
Waukegan
Program:
function: Find
inputs: Springfield
function: FilterNum
dependencies: 0
inputs: area
214.688522 square kilometre
=
function: Find
inputs: Norwich
function: FilterStr
dependencies: 2
inputs: local dialing code
860
function: SelectBetween
dependencies: 1
3
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Springfield" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "214.688522"^^xsd:double . } UNION { ?e <pred:name> "Norwich" . ?e <local_dialing_code> ?pv_2 . ?pv_2 <pred:value> "860" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Norwich