Question: Tell me the one with the bigger percent of water area, Washington DC or Phoenix (which has a local dialing code of 520)
Choices: Boulder
Washington, D.C.
Waukegan
Lansing
Compton
New Haven
Franklin
Oakland
Phoenix
Columbus
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Washington, D.C." . } UNION { ?e <pred:name> "Phoenix" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> "520" . } ?e <water_as_percent_of_area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Washington, D.C.
function: Find
inputs: Phoenix
function: FilterStr
dependencies: 1
inputs: local dialing code
520
function: SelectBetween
dependencies: 0
2
inputs: water as percent of area
greater
Answer: Washington, D.C.