Question: Which has more speakers, Persian or Hungarian?
Choices:
Thai
Hungarian
American English
Columbia Business School
The Barbarian Invasions
University of Pennsylvania Law School
Australian English
Clive A. Smith
Persian
Canadian English
Answer: Persian
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Persian" .  } UNION { ?e <pred:name> "Hungarian" .  } ?e <number_of_speakers> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Persian
function: Find
inputs: Hungarian
function: SelectBetween
dependencies: 0
1
inputs: number of speakers
greater