Question: What place has a larger area, Warsaw or Toronto?
Choices:
Kingston
Bergen
Trieste
Abidjan
Cork
Santo Domingo
Warsaw
Chihuahua
Dundee
Toronto
Answer: Toronto
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Warsaw" .  } UNION { ?e <pred:name> "Toronto" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Warsaw
function: Find
inputs: Toronto
function: SelectBetween
dependencies: 0
1
inputs: area
greater