Question: What is the connection between Salem (the one whose time of earliest written record is 1626) to United States of America?
Choices: country
sexual orientation
filming location
series spin-off
original language of film or TV show
location
next lower rank
narrative role
sport
original network
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Salem" . ?e_1 <time_of_earliest_written_record> ?pv . ?pv <pred:year> 1626 . ?e_2 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Salem
function: FilterYear
dependencies: 0
inputs: time of earliest written record
1626
=
function: Find
inputs: United States of America
function: QueryRelation
dependencies: 1
2
Answer: country