Question: Between Guildford, whose 2011 GSS code is E07000209, and West Dorset, which has a greater area?
Choices:
Craven
Great Yarmouth
Guildford
North Norfolk
Carlisle
West Dorset
King's Lynn and West Norfolk
Woking
Kettering
South Somerset
Answer: West Dorset
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Guildford" . ?e <GSS_code_(2011)> ?pv_1 . ?pv_1 <pred:value> "E07000209" . } UNION { ?e <pred:name> "West Dorset" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Guildford
function: FilterStr
dependencies: 0
inputs: GSS code (2011)
E07000209
function: Find
inputs: West Dorset
function: SelectBetween
dependencies: 1
2
inputs: area
greater