Question: Does Robert Morley or Patrick O'Neal (whose date of birth is 1967-09-14) have fewer children?
Choices: Max Fleischer
David Byrne
Simon Cowell
Paul Simon
Robert Morley
Richard Gere
Sylvester Stallone
James E. Reilly
William Henry Harrison
Patrick O'Neal
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Robert Morley" . } UNION { ?e <pred:name> "Patrick O'Neal" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> "1967-09-14"^^xsd:date . } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Robert Morley
function: Find
inputs: Patrick O'Neal
function: FilterDate
dependencies: 1
inputs: date of birth
1967-09-14
=
function: SelectBetween
dependencies: 0
2
inputs: number of children
less
Answer: Patrick O'Neal