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