Question: Which one has more area Cambridgeshire (the one whose area is 3389 square kilometers) or Northamptonshire?
Choices:
Warwickshire
Northumberland
Cambridgeshire
Cumbria
Northamptonshire
Derbyshire
Somerset
Staffordshire
Essex
West Midlands
Answer: Cambridgeshire
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Cambridgeshire" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "3389"^^xsd:double . } UNION { ?e <pred:name> "Northamptonshire" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Cambridgeshire
function: FilterNum
dependencies: 0
inputs: area
3389 square kilometre
=
function: Find
inputs: Northamptonshire
function: SelectBetween
dependencies: 1
2
inputs: area
greater