Question: Angelo Badalamenti's birthplace and Pfizer's base, Brooklyn, is in which country?
Choices:
Czech Republic
Italy
Scotland
Sint Maarten
Syria
England
Brazil
Mexico
United States of America
Finland
Program:
function: Find
inputs: Angelo Badalamenti
function: Find
inputs: Pfizer
function: Relate
dependencies: 1
inputs: location of formation
forward
function: Find
inputs: Brooklyn
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: place of birth
country
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Angelo Badalamenti" . ?e_2 <pred:name> "Brooklyn" . ?e_3 <location_of_formation> ?e_2 . ?e_3 <pred:name> "Pfizer" . ?e_1 <place_of_birth> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <place_of_birth> ; <pred:fact_t> ?e_2 ] <country> ?qpv .  }
Answer: United States of America