Question: Which area is smaller, Mexico City or Rome (the one whose postal code is 00118–00199)?
Choices: Mexico City
Paris
New Delhi
Manila
Lausanne
Rome
Tallinn
Moscow
Doha
Riga
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mexico City" . } UNION { ?e <pred:name> "Rome" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> "00118–00199" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Mexico City
function: Find
inputs: Rome
function: FilterStr
dependencies: 1
inputs: postal code
00118–00199
function: SelectBetween
dependencies: 0
2
inputs: area
less
Answer: Rome