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