Question: Tell me the relationship between The Town (which was directed by Ben Affleck) and Museum of Modern Art.
Choices:
performer
located on terrain feature
developer
conferred by
filmography
rector
heritage designation
replaced by
collection
terminus
Program:
function: Find
inputs: Ben Affleck
function: Relate
dependencies: 0
inputs: director
backward
function: Find
inputs: The Town
function: And
dependencies: 1
2
function: Find
inputs: Museum of Modern Art
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Town" . ?e_1 <director> ?e_3 . ?e_3 <pred:name> "Ben Affleck" . ?e_2 <pred:name> "Museum of Modern Art" . ?e_1 ?p ?e_2 .  }
Answer: collection