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