Question: What is the connection between A Star Is Born (the one that has Jean Louis as a costume designer) to Jack Warner (the one that has the occupation of film producer)?
Choices:
narrative role
instrumentation
executive producer
interests
material used
basic form of government
musical conductor
official residence
member of political party
office held by head of state
Answer: executive producer
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "A Star Is Born" . ?e_1 <costume_designer> ?e_3 . ?e_3 <pred:name> "Jean Louis" . ?e_2 <pred:name> "Jack Warner" . ?e_2 <occupation> ?e_4 . ?e_4 <pred:name> "film producer" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Jean Louis
function: Relate
dependencies: 0
inputs: costume designer
backward
function: Find
inputs: A Star Is Born
function: And
dependencies: 1
2
function: Find
inputs: film producer
function: Relate
dependencies: 4
inputs: occupation
backward
function: Find
inputs: Jack Warner
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7