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