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