Question: What is the relationship between Nathaniel Hawthorne and The Scarlet Letter (the one whose publication date is 1850)?
Choices:
stated in
candidacy in election
movement
head of state
language used
public holiday
native language
notable work
home port
location of formation
Program:
function: Find
inputs: Nathaniel Hawthorne
function: Find
inputs: The Scarlet Letter
function: FilterYear
dependencies: 1
inputs: publication date
1850
=
function: QueryRelation
dependencies: 0
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Nathaniel Hawthorne" . ?e_2 <pred:name> "The Scarlet Letter" . ?e_2 <publication_date> ?pv . ?pv <pred:year> 1850 . ?e_1 ?p ?e_2 .  }
Answer: notable work