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