Question: Is there more area in Northampton, with 80.76 square km, or in Warwick, the capital of Warwickshire?
Choices: Warwick
Oxford
Northampton
Bedford
Guildford
Aylesbury
Reading
Ipswich
Maidstone
Taunton
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Northampton" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "80.76"^^xsd:double . } UNION { ?e <pred:name> "Warwick" . ?e_1 <capital> ?e . ?e_1 <pred:name> "Warwickshire" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Northampton
function: FilterNum
dependencies: 0
inputs: area
80.76 square kilometre
=
function: Find
inputs: Warwickshire
function: Relate
dependencies: 2
inputs: capital
forward
function: Find
inputs: Warwick
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: area
greater
Answer: Northampton