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