Question: How is Denmark citizen Hans Christian Andersen related to the University of Copenhagen?
Choices: has effect
cast member
conflict
platform
librettist
collection
copyright representative
educated at
permanent resident of
has parts of the class
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Hans Christian Andersen" . ?e_1 <country_of_citizenship> ?e_3 . ?e_3 <pred:name> "Denmark" . ?e_2 <pred:name> "University of Copenhagen" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Denmark
function: Relate
dependencies: 0
inputs: country of citizenship
backward
function: Find
inputs: Hans Christian Andersen
function: And
dependencies: 1
2
function: Find
inputs: University of Copenhagen
function: QueryRelation
dependencies: 3
4
Answer: educated at