Question: Tell me which person has less children, Mary McCormack or Madonna.
Choices: Paul Simon
James E. Reilly
Madonna
Max Fleischer
Richard Gere
Sylvester Stallone
Mary McCormack
William Henry Harrison
Rahul Dev Burman
David Byrne
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Madonna" .  } UNION { ?e <pred:name> "Mary McCormack" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Madonna
function: Find
inputs: Mary McCormack
function: SelectBetween
dependencies: 0
1
inputs: number of children
less
Answer: Mary McCormack