Question: What is the connection between The Scarlet Letter (the one whose publication date is 1922-01-01) to Massachusetts (the one whose FIPS 10-4 (countries and regions) is US25)?
Choices: editor
professorship
publisher
depicts
appointed by
military branch
month of the year
narrative location
followed by
fabrication method
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Scarlet Letter" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "1922-01-01"^^xsd:date . ?e_2 <pred:name> "Massachusetts" . ?e_2 <FIPS_10-4_(countries_and_regions)> ?pv_1 . ?pv_1 <pred:value> "US25" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: The Scarlet Letter
function: FilterDate
dependencies: 0
inputs: publication date
1922-01-01
=
function: Find
inputs: Massachusetts
function: FilterStr
dependencies: 2
inputs: FIPS 10-4 (countries and regions)
US25
function: QueryRelation
dependencies: 1
3
Answer: narrative location