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