Question: What is the connection between Kingdom of Hungary (the one that has a citizen Zsa Zsa Gabor) to constitutional monarchy?
Choices:
manner of death
convicted of
director of photography
league
professorship
source of material
filmography
has effect
basic form of government
used by
Answer: basic form of government
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Kingdom of Hungary" . ?e_3 <country_of_citizenship> ?e_1 . ?e_3 <pred:name> "Zsa Zsa Gabor" . ?e_2 <pred:name> "constitutional monarchy" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Zsa Zsa Gabor
function: Relate
dependencies: 0
inputs: country of citizenship
forward
function: Find
inputs: Kingdom of Hungary
function: And
dependencies: 1
2
function: Find
inputs: constitutional monarchy
function: QueryRelation
dependencies: 3
4