Question: What administrative territorial entity contains Santa Monica where Adam Goldberg was born?
Choices:
London
Los Angeles
Missouri
Stockholm County
Grand Duchy of Finland
Russian Soviet Federative Socialist Republic
New Jersey
California
New York
Kingdom of Lombardy–Venetia
Answer: California
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Adam Goldberg" . ?e_2 <pred:name> "Santa Monica" . ?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: Adam Goldberg
function: Find
inputs: Santa Monica
function: QueryRelationQualifier
dependencies: 0
1
inputs: place of birth
located in the administrative territorial entity