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