Question: What is the connection between Harry Potter and the Chamber of Secrets (the one that is a notable work of J. K. Rowling) to United Kingdom?
Choices: domain of saint or deity
make-up artist
illustrator
terminus
country of origin
political alignment
tributary
place of birth
territory overlaps
mascot
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Harry Potter and the Chamber of Secrets" . ?e_3 <notable_work> ?e_1 . ?e_3 <pred:name> "J. K. Rowling" . ?e_2 <pred:name> "United Kingdom" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: J. K. Rowling
function: Relate
dependencies: 0
inputs: notable work
forward
function: Find
inputs: Harry Potter and the Chamber of Secrets
function: And
dependencies: 1
2
function: Find
inputs: United Kingdom
function: QueryRelation
dependencies: 3
4
Answer: country of origin