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