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