Question: How is the country of India—which has diplomacy with the US—related to Airport, which has a cast including Bobby Deol?
Choices: dissertation submitted to
location of final assembly
honorific suffix
affiliation
patron saint
country of origin
original film format
board member
foundational text
production company
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Airport" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Bobby Deol" . ?e_2 <pred:name> "India" . ?e_2 <diplomatic_relation> ?e_4 . ?e_4 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Bobby Deol
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Airport
function: And
dependencies: 1
2
function: Find
inputs: United States of America
function: Relate
dependencies: 4
inputs: diplomatic relation
backward
function: Find
inputs: India
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7
Answer: country of origin