Question: What is the link between Sherlock and Sherlock Holmes (that derives Murder by Decree)?
Choices: honorific suffix
characters
risk factor
member of political party
native language
based on
spouse
family
has effect
lifestyle
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Sherlock" . ?e_2 <pred:name> "Sherlock Holmes" . ?e_2 <derivative_work> ?e_3 . ?e_3 <pred:name> "Murder by Decree" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Sherlock
function: Find
inputs: Murder by Decree
function: Relate
dependencies: 1
inputs: derivative work
backward
function: Find
inputs: Sherlock Holmes
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
Answer: characters