Question: Is the population greater for Warwickshire or Cumbria?
Choices:
Essex
East Riding of Yorkshire
Norfolk
Northumberland
Cumbria
Somerset
Staffordshire
West Midlands
Warwickshire
Hertfordshire
Program:
function: Find
inputs: Warwickshire
function: Find
inputs: Cumbria
function: SelectBetween
dependencies: 0
1
inputs: population
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Warwickshire" .  } UNION { ?e <pred:name> "Cumbria" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Warwickshire