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