Question: What does Washington County (located in Rhode Island) have to do with George Washington (the head of government of the United States of America)?
Choices: voice actor
dialect of
main food source
public holiday
quotes work
head of government
has parts of the class
named after
captain
inspired by
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Washington County" . ?e_1 <located_in_the_administrative_territorial_entity> ?e_3 . ?e_3 <pred:name> "Rhode Island" . ?e_2 <pred:name> "George Washington" . ?e_4 <head_of_government> ?e_2 . ?e_4 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Rhode Island
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
backward
function: Find
inputs: Washington County
function: And
dependencies: 1
2
function: Find
inputs: United States of America
function: Relate
dependencies: 4
inputs: head of government
forward
function: Find
inputs: George Washington
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7
Answer: named after