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