Question: What is the connection between Birmingham (the one that contains Royal Sutton Coldfield) to West Midlands (the one whose GSS code (2011) is E11000005)?
Choices:
voice actor
presenter
performer
located in the administrative territorial entity
enclave within
participant of
family name
patron saint
platform
characters
Answer: located in the administrative territorial entity
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Birmingham" . ?e_3 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_3 <pred:name> "Royal Sutton Coldfield" . ?e_2 <pred:name> "West Midlands" . ?e_2 <GSS_code_(2011)> ?pv . ?pv <pred:value> "E11000005" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Royal Sutton Coldfield
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Birmingham
function: And
dependencies: 1
2
function: Find
inputs: West Midlands
function: FilterStr
dependencies: 4
inputs: GSS code (2011)
E11000005
function: QueryRelation
dependencies: 3
5