Question: Which has fewer speakers, Hungarian or Persian?
Choices:
Six Feet Under
Australian English
Simon Fraser University
American English
Frank Langella
Thai
Hungarian
Canadian English
Persian
Elizabeth I
Program:
function: Find
inputs: Hungarian
function: Find
inputs: Persian
function: SelectBetween
dependencies: 0
1
inputs: number of speakers
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Hungarian" .  } UNION { ?e <pred:name> "Persian" .  } ?e <number_of_speakers> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Hungarian