Question: How is King's Lynn and West Norfolk related to Norfolk, whose country is the UK?
Choices:
currency
month of the year
main subject
composer
languages spoken, written or signed
located in the administrative territorial entity
child astronomical body
captain
distribution
convicted of
Program:
function: Find
inputs: King's Lynn and West Norfolk
function: Find
inputs: United Kingdom
function: Relate
dependencies: 1
inputs: country
backward
function: Find
inputs: Norfolk
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "King's Lynn and West Norfolk" . ?e_2 <pred:name> "Norfolk" . ?e_2 <country> ?e_3 . ?e_3 <pred:name> "United Kingdom" . ?e_1 ?p ?e_2 .  }
Answer: located in the administrative territorial entity