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