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