Question: What country holds Greensboro that is the headquarters location of North Carolina Agricultural and Technical State University?
Choices:
Papal States
Kuwait
Hong Kong
Holy Roman Empire
United States of America
Nepal
Brazil
France
People's Republic of China
Peru
Answer: United States of America
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "North Carolina Agricultural and Technical State University" . ?e_2 <pred:name> "Greensboro" . ?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: North Carolina Agricultural and Technical State University
function: Find
inputs: Greensboro
function: QueryRelationQualifier
dependencies: 0
1
inputs: headquarters location
country