Question: What is the connection between Liverpool (the one that is an administrative division of Merseyside) to United Kingdom?
Choices: shares border with
occupant
honorific suffix
executive producer
nominated for
donated by
designated as terrorist by
draft pick from school
located in time zone
country
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Liverpool" . ?e_3 <contains_administrative_territorial_entity> ?e_1 . ?e_3 <pred:name> "Merseyside" . ?e_2 <pred:name> "United Kingdom" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Merseyside
function: Relate
dependencies: 0
inputs: contains administrative territorial entity
forward
function: Find
inputs: Liverpool
function: And
dependencies: 1
2
function: Find
inputs: United Kingdom
function: QueryRelation
dependencies: 3
4
Answer: country