Question: For the Illinois Institute of Technology's headquarter location, Chicago (the one that is the formation location of Pigface), belongs to what country?
Choices: Denmark
Iceland
Venezuela
Switzerland
United Arab Republic
Czech Republic
Guyana
Confederation of the Rhine
Russian Soviet Federative Socialist Republic
United States of America
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Illinois Institute of Technology" . ?e_2 <pred:name> "Chicago" . ?e_3 <location_of_formation> ?e_2 . ?e_3 <pred:name> "Pigface" . ?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: Illinois Institute of Technology
function: Find
inputs: Pigface
function: Relate
dependencies: 1
inputs: location of formation
forward
function: Find
inputs: Chicago
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: headquarters location
country
Answer: United States of America