Question: Which one counts more people living there, Tucson or Norwich (the one whose official website is http://www.norwichct.org/) ?
Choices:
Columbus
New Haven
Franklin
Oakland
Boulder
Greenville
Lansing
Compton
Tucson
Waukegan
Program:
function: Find
inputs: Tucson
function: Find
inputs: Norwich
function: FilterStr
dependencies: 1
inputs: official website
http://www.norwichct.org/
function: SelectBetween
dependencies: 0
2
inputs: population
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Tucson" . } UNION { ?e <pred:name> "Norwich" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.norwichct.org/" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Tucson