Question: Does Fayetteville, at telephone area code 479, or Urbana cover more area?
Choices:
Waukegan
New Haven
Fayetteville
Franklin
Lansing
Urbana
Compton
Greenville
Oakland
Columbus
Answer: Fayetteville
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Fayetteville" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> "479" . } UNION { ?e <pred:name> "Urbana" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Fayetteville
function: FilterStr
dependencies: 0
inputs: local dialing code
479
function: Find
inputs: Urbana
function: SelectBetween
dependencies: 1
2
inputs: area
greater