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