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