Question: Does Terry Crews or Bob Odenkirk have more children?
Choices:
Richard Gere
Paul Simon
James E. Reilly
Rahul Dev Burman
David Byrne
Simon Cowell
Max Fleischer
Bob Odenkirk
Sylvester Stallone
Terry Crews
Program:
function: Find
inputs: Terry Crews
function: Find
inputs: Bob Odenkirk
function: SelectBetween
dependencies: 0
1
inputs: number of children
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Terry Crews" .  } UNION { ?e <pred:name> "Bob Odenkirk" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Terry Crews