Question: Sugar Hill Records Headquarters is located in Nashville (which is the working location of Willie Nelson), what country is it a part of?
Choices: Iceland
Israel
Lebanon
Nazi Germany
Russian Empire
United States of America
Spain
Guyana
Germany
Costa Rica
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Sugar Hill Records" . ?e_2 <pred:name> "Nashville" . ?e_3 <work_location> ?e_2 . ?e_3 <pred:name> "Willie Nelson" . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <country> ?qpv .  }
Program:
function: Find
inputs: Sugar Hill Records
function: Find
inputs: Willie Nelson
function: Relate
dependencies: 1
inputs: work location
forward
function: Find
inputs: Nashville
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: headquarters location
country
Answer: United States of America