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