Question: What is the connection between Franklin County (the one that shares border with Berkshire County) to Benjamin Franklin (the one that is related to sport chess)?
Choices:
ethnic group
interests
place of origin (Switzerland)
after a work by
lyrics by
located on astronomical location
sibling
geographic distribution
costume designer
named after
Program:
function: Find
inputs: Berkshire County
function: Relate
dependencies: 0
inputs: shares border with
backward
function: Find
inputs: Franklin County
function: And
dependencies: 1
2
function: Find
inputs: chess
function: Relate
dependencies: 4
inputs: sport
backward
function: Find
inputs: Benjamin Franklin
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Franklin County" . ?e_1 <shares_border_with> ?e_3 . ?e_3 <pred:name> "Berkshire County" . ?e_2 <pred:name> "Benjamin Franklin" . ?e_2 <sport> ?e_4 . ?e_4 <pred:name> "chess" . ?e_1 ?p ?e_2 .  }
Answer: named after