Question: Which has fewer people, Hereford or Groningen (the one that is the headquarter location of FC Groningen)?
Choices: Santo Domingo
Hereford
Kingston
Groningen
Trieste
Abidjan
Chihuahua
Dundee
Bergen
Kilkenny
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Hereford" .  } UNION { ?e <pred:name> "Groningen" . ?e_1 <headquarters_location> ?e . ?e_1 <pred:name> "FC Groningen" .   } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Hereford
function: Find
inputs: FC Groningen
function: Relate
dependencies: 1
inputs: headquarters location
forward
function: Find
inputs: Groningen
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: population
less
Answer: Hereford