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