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