Question: What is the connection between Tower of London (the one that has Boris Karloff as a cast member) to Universal Pictures (the one that is the production company of Do the Right Thing)?
Choices:
academic degree
season starts
field of this occupation
relative
facet of
religious order
production company
superhuman feature or ability
participant of
partially contains
Answer: production company
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Tower of London" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Boris Karloff" . ?e_2 <pred:name> "Universal Pictures" . ?e_4 <production_company> ?e_2 . ?e_4 <pred:name> "Do the Right Thing" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Boris Karloff
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Tower of London
function: And
dependencies: 1
2
function: Find
inputs: Do the Right Thing
function: Relate
dependencies: 4
inputs: production company
forward
function: Find
inputs: Universal Pictures
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7