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