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