Question: What is the connection between Psycho (the one whose publication date is 1959) to Psycho (the one whose genre is slasher film)?
Choices:
owned by
had as last meal
replaces
candidate
location of formation
relative
derivative work
basic form of government
talk show guest
production designer
Answer: derivative work
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Psycho" . ?e_1 <publication_date> ?pv . ?pv <pred:year> 1959 . ?e_2 <pred:name> "Psycho" . ?e_2 <genre> ?e_3 . ?e_3 <pred:name> "slasher film" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Psycho
function: FilterYear
dependencies: 0
inputs: publication date
1959
=
function: Find
inputs: slasher film
function: Relate
dependencies: 2
inputs: genre
backward
function: Find
inputs: Psycho
function: And
dependencies: 3
4
function: QueryRelation
dependencies: 1
5