Question: What is the connection between West Midlands (the one that contains Warwickshire) to United Kingdom?
Choices: producer
country
contributing factor of
relative
continent
publisher
manufacturer
official color
located in or next to body of water
risk factor
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "West Midlands" . ?e_3 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_3 <pred:name> "Warwickshire" . ?e_2 <pred:name> "United Kingdom" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Warwickshire
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: Find
inputs: West Midlands
function: And
dependencies: 1
2
function: Find
inputs: United Kingdom
function: QueryRelation
dependencies: 3
4
Answer: country