Question: What is the connection between Tyne and Wear to Newcastle upon Tyne (the one whose TOID is 7000000000009784)?
Choices: contains administrative territorial entity
military rank
original film format
doctoral advisor
academic degree
tributary
author
designed to carry
exclave of
located in or next to body of water
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Tyne and Wear" . ?e_2 <pred:name> "Newcastle upon Tyne" . ?e_2 <TOID> ?pv . ?pv <pred:value> "7000000000009784" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Tyne and Wear
function: Find
inputs: Newcastle upon Tyne
function: FilterStr
dependencies: 1
inputs: TOID
7000000000009784
function: QueryRelation
dependencies: 0
2
Answer: contains administrative territorial entity