Question: Which is the country of the person whose name in native language is Gertrude Stein and public domain date is 2017?
Choices:
Bulgaria
Saxe-Weimar-Eisenach
United States of America
Germany
Russian Soviet Federative Socialist Republic
Iran
Ireland
Mexico
Ecuador
Brazil
Answer: Brazil
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <name_in_native_language> ?pv_1 . ?pv_1 <pred:value> "Gertrude Stein" . ?e <public_domain_date> ?pv . ?pv <pred:year> 2017 . [ <pred:fact_h> ?e ; <pred:fact_r> <public_domain_date> ; <pred:fact_t> ?pv ] <country> ?qpv .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: name in native language
Gertrude Stein
function: FilterConcept
dependencies: 1
inputs: human
function: QueryAttrQualifier
dependencies: 2
inputs: public domain date
2017
country