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