Question: Is the larger area occupied by Altoona or Greensburg?
Choices:
Philadelphia
York
Greensburg
Johnstown
Chester
Pittsburgh
Altoona
Wilkes-Barre
Bethlehem
Harrisburg
Program:
function: Find
inputs: Altoona
function: Find
inputs: Greensburg
function: SelectBetween
dependencies: 0
1
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Altoona" .  } UNION { ?e <pred:name> "Greensburg" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Altoona