Question: How is William Shakespeare, who died in Cincinnati, related to the United States of America?
Choices:
illustrator
history of topic
military branch
country of citizenship
film distribute region
located on astronomical location
doctoral advisor
architectural style
replaces
mountain range
Answer: country of citizenship
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "William Shakespeare" . ?e_1 <place_of_death> ?e_3 . ?e_3 <pred:name> "Cincinnati" . ?e_2 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Cincinnati
function: Relate
dependencies: 0
inputs: place of death
backward
function: Find
inputs: William Shakespeare
function: And
dependencies: 1
2
function: Find
inputs: United States of America
function: QueryRelation
dependencies: 3
4