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