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