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