Question: Is there a larger population of Hungarians or Punjabi people?
Choices:
Irish migration to Great Britain
French American
American Jews
Austrians
Italians
Swedes
Armenians
Punjabi people
Hungarians
Koreans
Program:
function: Find
inputs: Punjabi people
function: Find
inputs: Hungarians
function: SelectBetween
dependencies: 0
1
inputs: population
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Punjabi people" .  } UNION { ?e <pred:name> "Hungarians" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Punjabi people