Question: Who has fewer children, Cyndi Lauper or Akira Toriyama?
Choices:
William Henry Harrison
Paul Simon
Richard Gere
Rahul Dev Burman
Cyndi Lauper
Simon Cowell
James E. Reilly
Akira Toriyama
Max Fleischer
Sylvester Stallone
Program:
function: Find
inputs: Cyndi Lauper
function: Find
inputs: Akira Toriyama
function: SelectBetween
dependencies: 0
1
inputs: number of children
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Cyndi Lauper" .  } UNION { ?e <pred:name> "Akira Toriyama" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Cyndi Lauper