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