Question: David Silverman (the one whose name in native language is David Silverman) was born in Paterson (the one that is the birthplace of Allen Ginsberg), to what country does it belong?
Choices:
Saxe-Weimar-Eisenach
New Zealand
Finland
Panama
Nepal
South Korea
Ecuador
Caribbean Netherlands
Portugal
United States of America
Answer: United States of America
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "David Silverman" . ?e_1 <name_in_native_language> ?pv . ?pv <pred:value> "David Silverman" . ?e_2 <pred:name> "Paterson" . ?e_3 <place_of_birth> ?e_2 . ?e_3 <pred:name> "Allen Ginsberg" . ?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: David Silverman
function: FilterStr
dependencies: 0
inputs: name in native language
David Silverman
function: Find
inputs: Allen Ginsberg
function: Relate
dependencies: 2
inputs: place of birth
forward
function: Find
inputs: Paterson
function: And
dependencies: 3
4
function: QueryRelationQualifier
dependencies: 1
5
inputs: place of birth
country