Question: How is the detective fiction work known as Sherlock Holmes related to the buddy film genre?
Choices:
airline alliance
genre
creator
twinned administrative body
doctoral advisor
copyright holder
superhuman feature or ability
start point
broadcast by
legal form
Program:
function: Find
inputs: detective fiction
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Sherlock Holmes
function: And
dependencies: 1
2
function: Find
inputs: buddy film
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Sherlock Holmes" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "detective fiction" . ?e_2 <pred:name> "buddy film" . ?e_1 ?p ?e_2 .  }
Answer: genre