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