Question: What is the relation between The Scarlet Letter (the one that is part of the movement Romanticism) with Boston?
Choices:
risk factor
league
narrative location
record label
head coach
spouse
named after
mascot
stated in
filming location
Program:
function: Find
inputs: Romanticism
function: Relate
dependencies: 0
inputs: movement
backward
function: Find
inputs: The Scarlet Letter
function: And
dependencies: 1
2
function: Find
inputs: Boston
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Scarlet Letter" . ?e_1 <movement> ?e_3 . ?e_3 <pred:name> "Romanticism" . ?e_2 <pred:name> "Boston" . ?e_1 ?p ?e_2 .  }
Answer: narrative location