Question: Which occupies a smaller area: Aylesbury, or the Maidstone designated by OS grid code TQ765555?
Choices: Northampton
Aylesbury
Guildford
Maidstone
Reading
Bedford
Ipswich
Dorchester
Taunton
Oxford
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Aylesbury" . } UNION { ?e <pred:name> "Maidstone" . ?e <OS_grid_reference> ?pv_1 . ?pv_1 <pred:value> "TQ765555" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Aylesbury
function: Find
inputs: Maidstone
function: FilterStr
dependencies: 1
inputs: OS grid reference
TQ765555
function: SelectBetween
dependencies: 0
2
inputs: area
less
Answer: Aylesbury