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