Question: How is Get Carter (the one that has John C. McGinley as a cast member) related to Andrew Stevens ?
Choices:
model item
place of death
broadcast by
headquarters location
collection
derivative work
executive producer
is a list of
source of material
from fictional universe
Answer: executive producer
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Get Carter" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "John C. McGinley" . ?e_2 <pred:name> "Andrew Stevens" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: John C. McGinley
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Get Carter
function: And
dependencies: 1
2
function: Find
inputs: Andrew Stevens
function: QueryRelation
dependencies: 3
4