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