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