Question: Name the museum which has in its collection the painting depicting Johns Hopkins School of Medicine student Gertrude Stein.
Choices:
prison
John Williams
Tower of London
Museum of Modern Art
Louvre Museum
National Gallery
Museo del Prado
Delaware County
Metropolitan Museum of Art
National Gallery of Art
Program:
function: Find
inputs: Johns Hopkins School of Medicine
function: Relate
dependencies: 0
inputs: educated at
backward
function: Find
inputs: Gertrude Stein
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: depicts
backward
function: FilterConcept
dependencies: 4
inputs: painting
function: Relate
dependencies: 5
inputs: collection
forward
function: FilterConcept
dependencies: 6
inputs: museum
function: What
dependencies: 7
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "museum" . ?e_1 <collection> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "painting" . ?e_1 <depicts> ?e_3 . ?e_3 <pred:name> "Gertrude Stein" . ?e_3 <educated_at> ?e_4 . ?e_4 <pred:name> "Johns Hopkins School of Medicine" .   }
Answer: Metropolitan Museum of Art