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