Question: Does Kirkcaldy or the Hastings whose country is the United Kingdom occupy a larger area?
Choices:
Colchester
Hastings
Royal Tunbridge Wells
Wimbledon
South Shields
Kirkcaldy
Doncaster
Wigan
Edmonton
Blackburn
Program:
function: Find
inputs: Kirkcaldy
function: Find
inputs: United Kingdom
function: Relate
dependencies: 1
inputs: country
backward
function: Find
inputs: Hastings
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Kirkcaldy" .  } UNION { ?e <pred:name> "Hastings" . ?e <country> ?e_1 . ?e_1 <pred:name> "United Kingdom" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Hastings