Question: What is the connection between Along Came a Spider (the one that uses the language English) to Along Came a Spider (the one whose narrative location is Washington, D.C.)?
Choices:
derivative work
quotes work
subject has role
copyright representative
legislative body
chief executive officer
sports season of league or competition
used by
location
position played on team / speciality
Answer: derivative work
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Along Came a Spider" . ?e_1 <language_of_work_or_name> ?e_3 . ?e_3 <pred:name> "English" . ?e_2 <pred:name> "Along Came a Spider" . ?e_2 <narrative_location> ?e_4 . ?e_4 <pred:name> "Washington, D.C." . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: language of work or name
backward
function: Find
inputs: Along Came a Spider
function: And
dependencies: 1
2
function: Find
inputs: Washington, D.C.
function: Relate
dependencies: 4
inputs: narrative location
backward
function: Find
inputs: Along Came a Spider
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7