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