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