Question: What is the connection between Caravaggio (the one whose publication date is 1987-01-22) to Michael Gough?
Choices:
place of burial
practiced by
manufacturer
conferred by
characters
cast member
board member
noble title
subject has role
works in collection
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Caravaggio" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "1987-01-22"^^xsd:date . ?e_2 <pred:name> "Michael Gough" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Caravaggio
function: FilterDate
dependencies: 0
inputs: publication date
1987-01-22
=
function: Find
inputs: Michael Gough
function: QueryRelation
dependencies: 1
2