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