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