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