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