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