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