Question: What is the connection between A View to a Kill (the one whose production company is Metro-Goldwyn-Mayer) to Dolph Lundgren?
Choices:
source of income
librettist
influenced by
conflict
followed by
successful candidate
cast member
has parts of the class
language used
month of the year
Program:
function: Find
inputs: Metro-Goldwyn-Mayer
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: A View to a Kill
function: And
dependencies: 1
2
function: Find
inputs: Dolph Lundgren
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "A View to a Kill" . ?e_1 <production_company> ?e_3 . ?e_3 <pred:name> "Metro-Goldwyn-Mayer" . ?e_2 <pred:name> "Dolph Lundgren" . ?e_1 ?p ?e_2 .  }
Answer: cast member