Question: Tell me the one with the smaller area Chongqing or Kamloops
Choices:
Kilkenny
Cork
Trieste
Kamloops
Abidjan
Dundee
Chihuahua
Kingston
Bergen
Chongqing
Program:
function: Find
inputs: Chongqing
function: Find
inputs: Kamloops
function: SelectBetween
dependencies: 0
1
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Chongqing" .  } UNION { ?e <pred:name> "Kamloops" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Kamloops