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