Question: Does Johnstown or Erie have fewer people?
Choices:
Pittsburgh
Philadelphia
Greensburg
York
Chester
Wilkes-Barre
Johnstown
Erie
Harrisburg
Easton
Program:
function: Find
inputs: Johnstown
function: Find
inputs: Erie
function: SelectBetween
dependencies: 0
1
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Johnstown" .  } UNION { ?e <pred:name> "Erie" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Johnstown