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