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