Question: What is the relationship between Plymouth (the one that is headed by mayor) and the United Kingdom?
Choices: depicts
Wikidata property
country
member of
film distribute region
licensed to broadcast to
occupant
geographic distribution
source of material
edition or translation of
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Plymouth" . ?e_1 <office_held_by_head_of_government> ?e_3 . ?e_3 <pred:name> "mayor" . ?e_2 <pred:name> "United Kingdom" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: mayor
function: Relate
dependencies: 0
inputs: office held by head of government
backward
function: Find
inputs: Plymouth
function: And
dependencies: 1
2
function: Find
inputs: United Kingdom
function: QueryRelation
dependencies: 3
4
Answer: country