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