Question: Which area is larger, Warwickshire or Cambridgeshire (the one whose WOEID is 12602140)?
Choices:
Warwickshire
Norfolk
Northumberland
Staffordshire
East Riding of Yorkshire
Cambridgeshire
West Midlands
Essex
Somerset
Cumbria
Answer: Cambridgeshire
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Warwickshire" . } 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: Warwickshire
function: Find
inputs: Cambridgeshire
function: FilterStr
dependencies: 1
inputs: WOEID
12602140
function: SelectBetween
dependencies: 0
2
inputs: area
greater