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