Question: Which has a lesser area, Penang or Chihuahua (whose ISO 3166-2 code is MX-CHH)?
Choices:
Upper Austria
Minas Gerais
Chihuahua
Podlaskie Voivodeship
Chiapas
New South Wales
England
Lublin Voivodeship
Punjab
Penang
Answer: Penang
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Penang" . } UNION { ?e <pred:name> "Chihuahua" . ?e <ISO_3166-2_code> ?pv_1 . ?pv_1 <pred:value> "MX-CHH" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Penang
function: Find
inputs: Chihuahua
function: FilterStr
dependencies: 1
inputs: ISO 3166-2 code
MX-CHH
function: SelectBetween
dependencies: 0
2
inputs: area
less