Question: Does Mariah Carey or Drew Barrymore have less children?
Choices:
Max Fleischer
David Byrne
Paul Simon
Simon Cowell
James E. Reilly
Sylvester Stallone
Richard Gere
Drew Barrymore
William Henry Harrison
Mariah Carey
Program:
function: Find
inputs: Mariah Carey
function: Find
inputs: Drew Barrymore
function: SelectBetween
dependencies: 0
1
inputs: number of children
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mariah Carey" .  } UNION { ?e <pred:name> "Drew Barrymore" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Drew Barrymore