Question: Which one has more people,  Thiruvananthapuram or Thunder Bay (the one whose inception time is 1683) ?
Choices: Chihuahua
Thunder Bay
Bergen
Trieste
Kilkenny
Kingston
Santo Domingo
Thiruvananthapuram
Abidjan
Cork
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Thiruvananthapuram" . } UNION { ?e <pred:name> "Thunder Bay" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 1683 . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Thiruvananthapuram
function: Find
inputs: Thunder Bay
function: FilterYear
dependencies: 1
inputs: inception
1683
=
function: SelectBetween
dependencies: 0
2
inputs: population
greater
Answer: Thiruvananthapuram