Question: Tell me the one with a smaller area, Espoo or Salisbury (which has native label Salisbury)
Choices:
Salisbury
Kilkenny
Abidjan
Dundee
Chihuahua
Santo Domingo
Kingston
Trieste
Bergen
Espoo
Program:
function: Find
inputs: Espoo
function: Find
inputs: Salisbury
function: FilterStr
dependencies: 1
inputs: native label
Salisbury
function: SelectBetween
dependencies: 0
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Espoo" . } UNION { ?e <pred:name> "Salisbury" . ?e <native_label> ?pv_1 . ?pv_1 <pred:value> "Salisbury" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Salisbury