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