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