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