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