Question: Does Westport or Concord ,with website http://www.concordma.gov/, have a lesser population?
Choices:
Amherst
Uxbridge
Greenwich
Concord
Brookline
West Hartford
Litchfield
Westport
Bedford
Kensington
Program:
function: Find
inputs: Westport
function: Find
inputs: Concord
function: FilterStr
dependencies: 1
inputs: official website
http://www.concordma.gov/
function: SelectBetween
dependencies: 0
2
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Westport" . } UNION { ?e <pred:name> "Concord" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.concordma.gov/" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Concord