Question: How is Broome County related to politician John Broome?
Choices:
different from
partner
tributary
named after
soundtrack album
subject has role
dedicated to
cites
office contested
affiliation
Answer: named after
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Broome County" . ?e_2 <pred:name> "John Broome" . ?e_2 <occupation> ?e_3 . ?e_3 <pred:name> "politician" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Broome County
function: Find
inputs: politician
function: Relate
dependencies: 1
inputs: occupation
backward
function: Find
inputs: John Broome
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4