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