Question: What country is associated with Quincy, known as Gem City, where Mary Astor was born?
Choices: Philippines
Spain
international
Slovakia
United States of America
Belgium
Mexico
Turkey
Syria
India
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Mary Astor" . ?e_2 <pred:name> "Quincy" . ?e_2 <nickname> ?pv . ?pv <pred:value> "Gem City" . ?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 .  }
Program:
function: Find
inputs: Mary Astor
function: Find
inputs: Quincy
function: FilterStr
dependencies: 1
inputs: nickname
Gem City
function: QueryRelationQualifier
dependencies: 0
2
inputs: place of birth
country
Answer: United States of America