Question: What is the connection between Spider-Man 2 (the one that has John Landis as a cast member) to Museum of Modern Art?
Choices:
collection
domain of saint or deity
fabrication method
has immediate cause
commander of
official color
publisher
illustrator
occupant
original language of film or TV show
Answer: collection
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Spider-Man 2" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "John Landis" . ?e_2 <pred:name> "Museum of Modern Art" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: John Landis
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Spider-Man 2
function: And
dependencies: 1
2
function: Find
inputs: Museum of Modern Art
function: QueryRelation
dependencies: 3
4