Question: Which area is larger in size, Nottinghamshire or Cambridgeshire (the one whose WOEID is 12602140)?
Choices:
Norfolk
Cambridgeshire
Essex
Warwickshire
West Midlands
Staffordshire
Nottinghamshire
Somerset
Derbyshire
Northumberland
Answer: Cambridgeshire
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Nottinghamshire" . } UNION { ?e <pred:name> "Cambridgeshire" . ?e <WOEID> ?pv_1 . ?pv_1 <pred:value> "12602140" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Nottinghamshire
function: Find
inputs: Cambridgeshire
function: FilterStr
dependencies: 1
inputs: WOEID
12602140
function: SelectBetween
dependencies: 0
2
inputs: area
greater