Question: Which has fewer people, Austrians or Cherokee (the one that has an ethnic group Willie Nelson)?
Choices:
Armenians
Italians
Sioux
Indian American
Cherokee
Irish migration to Great Britain
Austrians
Swedes
French American
Koreans
Program:
function: Find
inputs: Austrians
function: Find
inputs: Willie Nelson
function: Relate
dependencies: 1
inputs: ethnic group
forward
function: Find
inputs: Cherokee
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Austrians" .  } UNION { ?e <pred:name> "Cherokee" . ?e_1 <ethnic_group> ?e . ?e_1 <pred:name> "Willie Nelson" .   } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Cherokee