Question: Which has more people, Toledo (the one whose official website is http://www.toledo.oh.gov/) or West Hollywood?
Choices:
Toledo
Lansing
Oakland
Boulder
Waukegan
Columbus
New Haven
Greenville
Franklin
West Hollywood
Program:
function: Find
inputs: Toledo
function: FilterStr
dependencies: 0
inputs: official website
http://www.toledo.oh.gov/
function: Find
inputs: West Hollywood
function: SelectBetween
dependencies: 1
2
inputs: population
greater
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> "West Hollywood" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Toledo