Question: What is the relationship between Preston, which contains Preston North End F.C., and Lancashire?
Choices: original network
distributor
member of political party
narrative role
symptom of
capital of
board member
head of state
lyrics by
has immediate cause
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Preston" . ?e_3 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_3 <pred:name> "Preston North End F.C." . ?e_2 <pred:name> "Lancashire" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Preston North End F.C.
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Preston
function: And
dependencies: 1
2
function: Find
inputs: Lancashire
function: QueryRelation
dependencies: 3
4
Answer: capital of