Question: Is the area greater for Altoona or Reading (the one whose population is 89893)?
Choices:
Wilkes-Barre
Harrisburg
Chester
Altoona
Greensburg
Pittsburgh
Bethlehem
Johnstown
Reading
York
Answer: Reading
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Altoona" . } UNION { ?e <pred:name> "Reading" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "89893"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Altoona
function: Find
inputs: Reading
function: FilterNum
dependencies: 1
inputs: population
89893
=
function: SelectBetween
dependencies: 0
2
inputs: area
greater