Question: Which has a greater population, Independence (which is located in the Pacific Time Zone) or McLean?
Choices:
Towson
Independence
Silver Spring
Mandopop
Stanford
Haverhill
Eastern European Time
McLean
Bethesda
Nathanael Greene
Program:
function: Find
inputs: Pacific Time Zone
function: Relate
dependencies: 0
inputs: located in time zone
backward
function: Find
inputs: Independence
function: And
dependencies: 1
2
function: Find
inputs: McLean
function: SelectBetween
dependencies: 3
4
inputs: population
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Independence" . ?e <located_in_time_zone> ?e_1 . ?e_1 <pred:name> "Pacific Time Zone" .   } UNION { ?e <pred:name> "McLean" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: McLean