Question: Is the smaller area occupied by Greensburg or by Reading, at 26.235358 square kilometers?
Choices:
Greensburg
Pittsburgh
Bethlehem
Philadelphia
Harrisburg
York
Wilkes-Barre
Erie
Johnstown
Reading
Program:
function: Find
inputs: Greensburg
function: Find
inputs: Reading
function: FilterNum
dependencies: 1
inputs: area
26.235358 square kilometre
=
function: SelectBetween
dependencies: 0
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Greensburg" . } UNION { ?e <pred:name> "Reading" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "26.235358"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Greensburg