Question: Does Fremantle or Busan have more area?
Choices:
Gibraltar
Barcelona
Tianjin
Fremantle
Odessa
Busan
York County
Basra
Alexandria
İzmir
Program:
function: Find
inputs: Fremantle
function: Find
inputs: Busan
function: SelectBetween
dependencies: 0
1
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Fremantle" .  } UNION { ?e <pred:name> "Busan" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Busan