Question: What country does Natchez, whose postal code is 39121, belong to?
Choices: Sweden
United States of America
Poland
Malaysia
Monaco
Ontario
Saudi Arabia
Weimar Republic
Slovakia
People's Republic of China
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:name> "Natchez" . ?e <postal_code> ?pv . ?pv <pred:value> "39121" . [ <pred:fact_h> ?e ; <pred:fact_r> <postal_code> ; <pred:fact_t> ?pv ] <country> ?qpv .  }
Program:
function: Find
inputs: Natchez
function: QueryAttrQualifier
dependencies: 0
inputs: postal code
39121
country
Answer: United States of America