Question: What country is James Joyce ((the one whose Swedish Literature Bank AuthorID is JoyceJ who died in Zurich) from?
Choices:
English
Japan
Russian Empire
Slovenia
Bulgaria
Switzerland
People's Republic of China
Malaysia
Brazil
Lebanon
Answer: Switzerland
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "James Joyce" . ?e_1 <Swedish_Literature_Bank_AuthorID> ?pv . ?pv <pred:value> "JoyceJ" . ?e_2 <pred:name> "Zürich" . ?e_1 <place_of_death> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <place_of_death> ; <pred:fact_t> ?e_2 ] <country> ?qpv .  }
Program:
function: Find
inputs: James Joyce
function: FilterStr
dependencies: 0
inputs: Swedish Literature Bank AuthorID
JoyceJ
function: Find
inputs: Zürich
function: QueryRelationQualifier
dependencies: 1
2
inputs: place of death
country