Question: Which has less area, Fargo whose local dialing code is 701 or Kansas City whose local dialing code is 913?
Choices:
Lansing
Oakland
New Haven
Compton
Waukegan
Franklin
Greenville
Boulder
Fargo
Kansas City
Answer: Fargo
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Fargo" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> "701" . } UNION { ?e <pred:name> "Kansas City" . ?e <local_dialing_code> ?pv_2 . ?pv_2 <pred:value> "913" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Fargo
function: FilterStr
dependencies: 0
inputs: local dialing code
701
function: Find
inputs: Kansas City
function: FilterStr
dependencies: 2
inputs: local dialing code
913
function: SelectBetween
dependencies: 1
3
inputs: area
less