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