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