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