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