Question: Who has fewer children, Kathleen Quinlan or George Washington (the one that is the participant of French and Indian War)?
Choices: Kathleen Quinlan
Paul Simon
James E. Reilly
Simon Cowell
Richard Gere
David Byrne
Max Fleischer
Rahul Dev Burman
George Washington
Sylvester Stallone
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Kathleen Quinlan" .  } UNION { ?e <pred:name> "George Washington" . ?e_1 <participant> ?e . ?e_1 <pred:name> "French and Indian War" .   } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Kathleen Quinlan
function: Find
inputs: French and Indian War
function: Relate
dependencies: 1
inputs: participant
forward
function: Find
inputs: George Washington
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: number of children
less
Answer: George Washington