Question: In which administrative territorial entity is New York City, the birth place of Henry James (whose Libris-URI is mkz127v53zz5m80), located in?
Choices:
Nevada
Pennsylvania
New York City
Maharashtra
Stockholm County
New York
Archbishopric of Salzburg
New Jersey
Georgian Soviet Socialist Republic
Florida
Answer: New York
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Henry James" . ?e_1 <Libris-URI> ?pv . ?pv <pred:value> "mkz127v53zz5m80" . ?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: Henry James
function: FilterStr
dependencies: 0
inputs: Libris-URI
mkz127v53zz5m80
function: Find
inputs: New York City
function: QueryRelationQualifier
dependencies: 1
2
inputs: place of birth
located in the administrative territorial entity