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