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