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