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