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