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