Question: Does Donald Trump (who is the president of the United States of America) or Mark Hamill have fewer children?
Choices: Paul Simon
Richard Gere
Sylvester Stallone
Simon Cowell
Mark Hamill
William Henry Harrison
Rahul Dev Burman
Donald Trump
Max Fleischer
David Byrne
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Donald Trump" . ?e_1 <head_of_government> ?e . ?e_1 <pred:name> "United States of America" .   } UNION { ?e <pred:name> "Mark Hamill" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: head of government
forward
function: Find
inputs: Donald Trump
function: And
dependencies: 1
2
function: Find
inputs: Mark Hamill
function: SelectBetween
dependencies: 3
4
inputs: number of children
less
Answer: Mark Hamill