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