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