Question: In what country is Pfizer's New York City headquarters?
Choices:
Chile
Russian Empire
Saudi Arabia
Bangladesh
France
German Democratic Republic
Netherlands
United States of America
Suriname
People's Republic of China
Answer: United States of America
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Pfizer" . ?e_2 <pred:name> "New York City" . ?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: Pfizer
function: Find
inputs: New York City
function: QueryRelationQualifier
dependencies: 0
1
inputs: headquarters location
country