Question: Does Asheville or Manchester (the one whose local dialing code is 603) have greater area ?
Choices:
Asheville
Boulder
Franklin
Manchester
Lansing
Waukegan
Greenville
Compton
Columbus
Oakland
Program:
function: Find
inputs: Asheville
function: Find
inputs: Manchester
function: FilterStr
dependencies: 1
inputs: local dialing code
603
function: SelectBetween
dependencies: 0
2
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Asheville" . } UNION { ?e <pred:name> "Manchester" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> "603" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Asheville