Question: What does The Scarlet Letter (authored by Nathaniel Hawthorne) have to do Nathaniel Hawthorne?
Choices:
country of origin
notable work
domain of saint or deity
contributing factor of
costume designer
next lower rank
general manager
nutrient
place of death
dedicated to
Program:
function: Find
inputs: Nathaniel Hawthorne
function: Find
inputs: Nathaniel Hawthorne
function: Relate
dependencies: 1
inputs: author
backward
function: Find
inputs: The Scarlet Letter
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Nathaniel Hawthorne" . ?e_2 <pred:name> "The Scarlet Letter" . ?e_2 <author> ?e_3 . ?e_3 <pred:name> "Nathaniel Hawthorne" . ?e_1 ?p ?e_2 .  }
Answer: notable work