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