Question: Which has more population, Victoria founded in 1862 or Dehradun?
Choices:
Dundee
Bergen
Cork
Victoria
Kingston
Chihuahua
Abidjan
Dehradun
Trieste
Santo Domingo
Answer: Dehradun
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Victoria" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 1862 . } UNION { ?e <pred:name> "Dehradun" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Victoria
function: FilterYear
dependencies: 0
inputs: inception
1862
=
function: Find
inputs: Dehradun
function: SelectBetween
dependencies: 1
2
inputs: population
greater