Question: Which area is smaller, Sault Ste. Marie or Agra?
Choices:
Abidjan
Dundee
Chihuahua
Trieste
Kilkenny
Sault Ste. Marie
Bergen
Santo Domingo
Agra
Cork
Program:
function: Find
inputs: Sault Ste. Marie
function: Find
inputs: Agra
function: SelectBetween
dependencies: 0
1
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Sault Ste. Marie" .  } UNION { ?e <pred:name> "Agra" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Agra