Question: Boston worker John Adams died in Quincy, where Dropkick Murphys formed, in which country?
Choices: Philippines
Czech Republic
Indonesia
Venezuela
Italy
United States of America
Kenya Colony
Iran
Thailand
United Kingdom of Great Britain and Ireland
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "John Adams" . ?e_1 <work_location> ?e_3 . ?e_3 <pred:name> "Boston" . ?e_2 <pred:name> "Quincy" . ?e_4 <location_of_formation> ?e_2 . ?e_4 <pred:name> "Dropkick Murphys" . ?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: Boston
function: Relate
dependencies: 0
inputs: work location
backward
function: Find
inputs: John Adams
function: And
dependencies: 1
2
function: Find
inputs: Dropkick Murphys
function: Relate
dependencies: 4
inputs: location of formation
forward
function: Find
inputs: Quincy
function: And
dependencies: 5
6
function: QueryRelationQualifier
dependencies: 3
7
inputs: place of death
country
Answer: United States of America