Question: Which administrative territorial entity is New York City, the birthplace of George Segal (the one whose IPI base code is I-001913648-0)?
Choices:
New York
North Rhine-Westphalia
Greater London
Stockholm County
Roer
Estonian Soviet Socialist Republic
East Pakistan
Colorado
Massachusetts
North Carolina
Program:
function: Find
inputs: George Segal
function: FilterStr
dependencies: 0
inputs: IPI base code
I-001913648-0
function: Find
inputs: New York City
function: QueryRelationQualifier
dependencies: 1
2
inputs: place of birth
located in the administrative territorial entity
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "George Segal" . ?e_1 <IPI_base_code> ?pv . ?pv <pred:value> "I-001913648-0" . ?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 .  }
Answer: New York