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