Question: Which area is smaller, Salisbury (the one whose WOEID is 33893) or Truro?
Choices:
Truro
Santo Domingo
Dundee
Chihuahua
Kingston
Trieste
Salisbury
Kilkenny
Abidjan
Bergen
Answer: Truro
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Salisbury" . ?e <WOEID> ?pv_1 . ?pv_1 <pred:value> "33893" . } UNION { ?e <pred:name> "Truro" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Salisbury
function: FilterStr
dependencies: 0
inputs: WOEID
33893
function: Find
inputs: Truro
function: SelectBetween
dependencies: 1
2
inputs: area
less