Question: MIT Sloan School of Management is headquartered in the Cambridge that's home to Harvard Law School in which country?
Choices:
Portugal
Czech Republic
Brazil
United States of America
Lebanon
Lithuania
Kazakhstan
Caribbean Netherlands
England
Kingdom of Bavaria
Program:
function: Find
inputs: MIT Sloan School of Management
function: Find
inputs: Harvard Law School
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Cambridge
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: headquarters location
country
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "MIT Sloan School of Management" . ?e_2 <pred:name> "Cambridge" . ?e_3 <located_in_the_administrative_territorial_entity> ?e_2 . ?e_3 <pred:name> "Harvard Law School" . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <country> ?qpv .  }
Answer: United States of America