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