Question: Which area is larger, Newcastle upon Tyne (the one whose official name is Newcastle upon Tyne) or Kingston upon Hull?
Choices: Trieste
Dundee
Kingston
Kilkenny
Newcastle upon Tyne
Cork
Santo Domingo
Bergen
Abidjan
Chihuahua
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Newcastle upon Tyne" . ?e <official_name> ?pv_1 . ?pv_1 <pred:value> "Newcastle upon Tyne" . } UNION { ?e <pred:name> "Kingston upon Hull" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Newcastle upon Tyne
function: FilterStr
dependencies: 0
inputs: official name
Newcastle upon Tyne
function: Find
inputs: Kingston upon Hull
function: SelectBetween
dependencies: 1
2
inputs: area
greater
Answer: Newcastle upon Tyne