Question: What is the connection between Gettysburg (whose narrative location is Pennsylvania) and Warner Bros.?
Choices: military branch
art director
model item
heritage designation
headquarters location
production company
based on
country for sport
member of political party
hair color
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Gettysburg" . ?e_1 <narrative_location> ?e_3 . ?e_3 <pred:name> "Pennsylvania" . ?e_2 <pred:name> "Warner Bros." . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Pennsylvania
function: Relate
dependencies: 0
inputs: narrative location
backward
function: Find
inputs: Gettysburg
function: And
dependencies: 1
2
function: Find
inputs: Warner Bros.
function: QueryRelation
dependencies: 3
4
Answer: production company