Question: Which has a greater area, Shropshire or Tyne and Wear?
Choices: Derbyshire
Cumbria
West Midlands
Staffordshire
Somerset
Norfolk
Shropshire
Essex
Northumberland
Tyne and Wear
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Shropshire" .  } UNION { ?e <pred:name> "Tyne and Wear" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Shropshire
function: Find
inputs: Tyne and Wear
function: SelectBetween
dependencies: 0
1
inputs: area
greater
Answer: Shropshire