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