Question: Does Vilnius or Invercargill occupy a larger area?
Choices:
Bergen
Invercargill
Dundee
Trieste
Cork
Vilnius
Chihuahua
Kilkenny
Abidjan
Santo Domingo
Program:
function: Find
inputs: Vilnius
function: Find
inputs: Invercargill
function: SelectBetween
dependencies: 0
1
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Vilnius" .  } UNION { ?e <pred:name> "Invercargill" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Invercargill