Question: Which has more people, Kanpur or Skopje?
Choices:
Santo Domingo
Kingston
Skopje
Trieste
Kilkenny
Kanpur
Chihuahua
Dundee
Bergen
Cork
Answer: Kanpur
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Kanpur" .  } UNION { ?e <pred:name> "Skopje" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Kanpur
function: Find
inputs: Skopje
function: SelectBetween
dependencies: 0
1
inputs: population
greater