Question: Does Toledo (whose official website is http://www.toledo.oh.gov/) or Oxnard have smaller population?
Choices:
Compton
Franklin
Boulder
Waukegan
Lansing
New Haven
Columbus
Oakland
Toledo
Oxnard
Program:
function: Find
inputs: Toledo
function: FilterStr
dependencies: 0
inputs: official website
http://www.toledo.oh.gov/
function: Find
inputs: Oxnard
function: SelectBetween
dependencies: 1
2
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Toledo" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.toledo.oh.gov/" . } UNION { ?e <pred:name> "Oxnard" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Oxnard