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