Question: What administrative territory is Manhattan (the one that is the narrative location of Crimes and Misdemeanors), the birth place of Groucho Marx, located in?
Choices: sanjak of the Ottoman Empire
Connecticut
Missouri
North Rhine-Westphalia
Rome
Scotland
Ohio
New York
Electorate of Saxony
Martinique
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Groucho Marx" . ?e_2 <pred:name> "Manhattan" . ?e_3 <narrative_location> ?e_2 . ?e_3 <pred:name> "Crimes and Misdemeanors" . ?e_1 <place_of_birth> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <place_of_birth> ; <pred:fact_t> ?e_2 ] <located_in_the_administrative_territorial_entity> ?qpv .  }
Program:
function: Find
inputs: Groucho Marx
function: Find
inputs: Crimes and Misdemeanors
function: Relate
dependencies: 1
inputs: narrative location
forward
function: Find
inputs: Manhattan
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: place of birth
located in the administrative territorial entity
Answer: New York