Question: Between Tyne and Wear or Greater Manchester, which takes up a larger area?
Choices:
Staffordshire
Derbyshire
Somerset
Norfolk
Northumberland
Warwickshire
Essex
Greater Manchester
Tyne and Wear
Cumbria
Program:
function: Find
inputs: Tyne and Wear
function: Find
inputs: Greater Manchester
function: SelectBetween
dependencies: 0
1
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Tyne and Wear" .  } UNION { ?e <pred:name> "Greater Manchester" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Greater Manchester