Question: Which area is bigger, Hertfordshire or South Yorkshire?
Choices: Essex
Hertfordshire
Northumberland
South Yorkshire
Staffordshire
Norfolk
West Midlands
Cumbria
Warwickshire
Derbyshire
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Hertfordshire" .  } UNION { ?e <pred:name> "South Yorkshire" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Hertfordshire
function: Find
inputs: South Yorkshire
function: SelectBetween
dependencies: 0
1
inputs: area
greater
Answer: Hertfordshire