Question: Who has more children, Harrison Ford (a cast member in The Conversation) or Jon Favreau (who was educated at the Bronx High School of Science)?
Choices:
Harrison Ford
Paul Simon
Max Fleischer
James E. Reilly
David Byrne
Sylvester Stallone
Jon Favreau
Rahul Dev Burman
Simon Cowell
Richard Gere
Answer: Harrison Ford
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Harrison Ford" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> "The Conversation" .   } UNION { ?e <pred:name> "Jon Favreau" . ?e <educated_at> ?e_2 . ?e_2 <pred:name> "The Bronx High School of Science" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: The Conversation
function: Relate
dependencies: 0
inputs: cast member
forward
function: Find
inputs: Harrison Ford
function: And
dependencies: 1
2
function: Find
inputs: The Bronx High School of Science
function: Relate
dependencies: 4
inputs: educated at
backward
function: Find
inputs: Jon Favreau
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: number of children
greater