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