Question: Who has more children, Matthew McConaughey or George H. W. Bush?
Choices:
William Henry Harrison
George H. W. Bush
Matthew McConaughey
Max Fleischer
Richard Gere
Rahul Dev Burman
David Byrne
Simon Cowell
Sylvester Stallone
James E. Reilly
Program:
function: Find
inputs: Matthew McConaughey
function: Find
inputs: George H. W. Bush
function: SelectBetween
dependencies: 0
1
inputs: number of children
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Matthew McConaughey" .  } 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