Question: Who is a mom to more kids: Jennifer Garner or Jennifer Jason Leigh?
Choices:
David Byrne
Sylvester Stallone
Rahul Dev Burman
James E. Reilly
Jennifer Jason Leigh
Max Fleischer
Simon Cowell
Jennifer Garner
William Henry Harrison
Paul Simon
Program:
function: Find
inputs: Jennifer Garner
function: Find
inputs: Jennifer Jason Leigh
function: SelectBetween
dependencies: 0
1
inputs: number of children
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jennifer Garner" .  } UNION { ?e <pred:name> "Jennifer Jason Leigh" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Jennifer Garner