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