Question: Which has fewer people, Puerto Ricans or Punjabi people?
Choices:
Koreans
Austrians
Indian American
American Jews
Irish migration to Great Britain
French American
Punjabi people
Puerto Ricans
Swedes
Armenians
Program:
function: Find
inputs: Puerto Ricans
function: Find
inputs: Punjabi people
function: SelectBetween
dependencies: 0
1
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Puerto Ricans" .  } UNION { ?e <pred:name> "Punjabi people" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Puerto Ricans