Question: What country does Pittsburgh, David O. Selznick's birth place and the narrative location of The Clearing, belong to?
Choices:
Kazakhstan
Estonia
Ontario
Kingdom of Saxony
Spain
United States of America
Ecuador
England
Finland
West Germany
Answer: United States of America
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "David O. Selznick" . ?e_2 <pred:name> "Pittsburgh" . ?e_3 <narrative_location> ?e_2 . ?e_3 <pred:name> "The Clearing" . ?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 O. Selznick
function: Find
inputs: The Clearing
function: Relate
dependencies: 1
inputs: narrative location
forward
function: Find
inputs: Pittsburgh
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: place of birth
country