Question: Which area is larger in size, Tianjin or Alexandria (the one whose population is 2926859)?
Choices: Fremantle
The Go-Between
Gibraltar
İzmir
Odessa
Busan
Alexandria
Basra
Tianjin
Barcelona
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Tianjin" . } UNION { ?e <pred:name> "Alexandria" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "2926859"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Tianjin
function: Find
inputs: Alexandria
function: FilterNum
dependencies: 1
inputs: population
2926859
=
function: SelectBetween
dependencies: 0
2
inputs: area
greater
Answer: Tianjin