Question: Which area is larger, Milan (the one whose postal code is 20149) or New York City?
Choices:
Dundee
New York City
Chihuahua
Kilkenny
Santo Domingo
Kingston
Abidjan
Milan
Trieste
Bergen
Answer: New York City
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Milan" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> "20149" . } UNION { ?e <pred:name> "New York City" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Milan
function: FilterStr
dependencies: 0
inputs: postal code
20149
function: Find
inputs: New York City
function: SelectBetween
dependencies: 1
2
inputs: area
greater