Question: What relation exists between the Museum of Modern Art and the Ramones, who are part of the MoMA collection?
Choices:
official residence
official language
place of birth
statistical leader
narrative role
symptom of
collection
child astronomical body
mouth of the watercourse
studies
Answer: collection
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Ramones" . ?e_1 <collection> ?e_3 . ?e_3 <pred:name> "Museum of Modern Art" . ?e_2 <pred:name> "Museum of Modern Art" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Museum of Modern Art
function: Relate
dependencies: 0
inputs: collection
backward
function: Find
inputs: Ramones
function: And
dependencies: 1
2
function: Find
inputs: Museum of Modern Art
function: QueryRelation
dependencies: 3
4