Question: How is Wall Street starring John C. McGinley related to Edward R. Pressman?
Choices:
owner of
home world
executive producer
present in work
superhuman feature or ability
field of this occupation
based on
producer
does not have part
patron saint
Answer: producer
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Wall Street" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "John C. McGinley" . ?e_2 <pred:name> "Edward R. Pressman" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: John C. McGinley
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Wall Street
function: And
dependencies: 1
2
function: Find
inputs: Edward R. Pressman
function: QueryRelation
dependencies: 3
4