Question: Does Michael J. Fox or Tilda Swinton have fewer kids?
Choices:
James E. Reilly
William Henry Harrison
Rahul Dev Burman
Tilda Swinton
Simon Cowell
Richard Gere
Max Fleischer
David Byrne
Sylvester Stallone
Paul Simon
Program:
function: Find
inputs: Michael J. Fox
function: Find
inputs: Tilda Swinton
function: SelectBetween
dependencies: 0
1
inputs: number of children
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Michael J. Fox" .  } UNION { ?e <pred:name> "Tilda Swinton" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Tilda Swinton