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