Question: Does Westport or Concord in Eastern Time Zone have more people?
Choices:
Greenwich
Amherst
Westport
West Hartford
Bedford
Uxbridge
Litchfield
Brookline
Chapel Hill
Kensington
Program:
function: Find
inputs: Westport
function: Find
inputs: Eastern Time Zone
function: Relate
dependencies: 1
inputs: located in time zone
backward
function: Find
inputs: Concord
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: population
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Westport" .  } UNION { ?e <pred:name> "Concord" . ?e <located_in_time_zone> ?e_1 . ?e_1 <pred:name> "Eastern Time Zone" .   } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Westport