Question: Is Madurai or Dehradun bigger according to area?
Choices:
Kilkenny
Chihuahua
Madurai
Trieste
Dehradun
Abidjan
Dundee
Bergen
Cork
Kingston
Program:
function: Find
inputs: Madurai
function: Find
inputs: Dehradun
function: SelectBetween
dependencies: 0
1
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Madurai" .  } UNION { ?e <pred:name> "Dehradun" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Dehradun