Question: Does Snoop Dogg or Fatboy Slim have fewer kids?
Choices:
James E. Reilly
Simon Cowell
Richard Gere
Rahul Dev Burman
Sylvester Stallone
Paul Simon
William Henry Harrison
Snoop Dogg
David Byrne
Fatboy Slim
Program:
function: Find
inputs: Snoop Dogg
function: Find
inputs: Fatboy Slim
function: SelectBetween
dependencies: 0
1
inputs: number of children
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Snoop Dogg" .  } UNION { ?e <pred:name> "Fatboy Slim" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Fatboy Slim