Question: In what administrative territorial entity is New York City located?
Choices: Kentucky
Maryland
New York
Electorate of Saxony
sanjak of the Ottoman Empire
Estonian Soviet Socialist Republic
Guadeloupe
Victoria
New York City
Habsburg Monarchy
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "J. J. Abrams" . ?e_2 <pred:name> "New York City" . ?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: J. J. Abrams
function: Find
inputs: New York City
function: QueryRelationQualifier
dependencies: 0
1
inputs: place of birth
located in the administrative territorial entity
Answer: New York