Question: Which area has a larger population, Gadsden or Auburn (the one whose official website is http://www.auburnalabama.org/)?
Choices:
Franklin
New Haven
Lansing
Greenville
Compton
Gadsden
Waukegan
Auburn
Columbus
Boulder
Program:
function: Find
inputs: Gadsden
function: Find
inputs: Auburn
function: FilterStr
dependencies: 1
inputs: official website
http://www.auburnalabama.org/
function: SelectBetween
dependencies: 0
2
inputs: population
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Gadsden" . } UNION { ?e <pred:name> "Auburn" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.auburnalabama.org/" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Auburn