Question: Which one, Terry Gilliam or Harlan Ellison, has less number of children?
Choices:
David Byrne
Simon Cowell
Harlan Ellison
Max Fleischer
William Henry Harrison
Paul Simon
Terry Gilliam
Sylvester Stallone
James E. Reilly
Richard Gere
Program:
function: Find
inputs: Terry Gilliam
function: Find
inputs: Harlan Ellison
function: SelectBetween
dependencies: 0
1
inputs: number of children
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Terry Gilliam" .  } UNION { ?e <pred:name> "Harlan Ellison" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Harlan Ellison