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