Question: Which area is larger, Shreveport or Niagara Falls (the one whose WOEID is 2459807)?
Choices:
Waukegan
Columbus
Shreveport
Oakland
Franklin
Compton
Greenville
New Haven
Boulder
Lansing
Program:
function: Find
inputs: Shreveport
function: Find
inputs: Niagara Falls
function: FilterStr
dependencies: 1
inputs: WOEID
2459807
function: SelectBetween
dependencies: 0
2
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Shreveport" . } UNION { ?e <pred:name> "Niagara Falls" . ?e <WOEID> ?pv_1 . ?pv_1 <pred:value> "2459807" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Shreveport