Question: How is Gloucester County related to Gloucester in the United Kingdom?
Choices: student
significant event
place of birth
risk factor
item operated
named after
business division
foundational text
part of the series
contains settlement
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Gloucester County" . ?e_2 <pred:name> "Gloucester" . ?e_2 <country> ?e_3 . ?e_3 <pred:name> "United Kingdom" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Gloucester County
function: Find
inputs: United Kingdom
function: Relate
dependencies: 1
inputs: country
backward
function: Find
inputs: Gloucester
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
Answer: named after