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