Question: Does Toronto or Chongqing have more area?
Choices:
Abidjan
Kingston
Kilkenny
Toronto
Cork
Trieste
Dundee
Chihuahua
Chongqing
Santo Domingo
Program:
function: Find
inputs: Toronto
function: Find
inputs: Chongqing
function: SelectBetween
dependencies: 0
1
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Toronto" .  } UNION { ?e <pred:name> "Chongqing" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Chongqing