Question: What is the relationship between Watchmen (the one whose publication date is 1986) and Alan Moore (the one that has a notable work From Hell)?
Choices: capital
dissertation submitted to
main food source
language of work or name
replaced by
office contested
copyright representative
author
occupant
librettist
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Watchmen" . ?e_1 <publication_date> ?pv . ?pv <pred:year> 1986 . ?e_2 <pred:name> "Alan Moore" . ?e_2 <notable_work> ?e_3 . ?e_3 <pred:name> "From Hell" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Watchmen
function: FilterYear
dependencies: 0
inputs: publication date
1986
=
function: Find
inputs: From Hell
function: Relate
dependencies: 2
inputs: notable work
backward
function: Find
inputs: Alan Moore
function: And
dependencies: 3
4
function: QueryRelation
dependencies: 1
5
Answer: author