Question: Which has less population, Salinas or Mansfield whose official website is http://www.ci.mansfield.oh.us/?
Choices:
Oakland
Franklin
Greenville
Compton
Boulder
Salinas
Mansfield
New Haven
Waukegan
Columbus
Program:
function: Find
inputs: Salinas
function: Find
inputs: Mansfield
function: FilterStr
dependencies: 1
inputs: official website
http://www.ci.mansfield.oh.us/
function: SelectBetween
dependencies: 0
2
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Salinas" . } UNION { ?e <pred:name> "Mansfield" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.ci.mansfield.oh.us/" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Mansfield