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