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