Question: What is the connection between Chatham to Kent (the one that contains Royal Tunbridge Wells)?
Choices:
performer
educated at
is a list of
commander of
head of state
participant of
derivative work
capital of
sibling
composer
Answer: capital of
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Chatham" . ?e_2 <pred:name> "Kent" . ?e_3 <located_in_the_administrative_territorial_entity> ?e_2 . ?e_3 <pred:name> "Royal Tunbridge Wells" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Chatham
function: Find
inputs: Royal Tunbridge Wells
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Kent
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4