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