Question: In which administrative territorial entity is Los Angeles, where Marilyn Monroe was born, located in?
Choices:
Roer
Texas
California
New Jersey
New Mexico
South Holland
Tennessee
Guadeloupe
Rhine Province
New York City
Answer: California
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Marilyn Monroe" . ?e_1 <place_of_birth> ?e_3 . ?e_3 <pred:name> "Los Angeles" . ?e_2 <pred:name> "Los Angeles" . ?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: Los Angeles
function: Relate
dependencies: 0
inputs: place of birth
backward
function: Find
inputs: Marilyn Monroe
function: And
dependencies: 1
2
function: Find
inputs: Los Angeles
function: QueryRelationQualifier
dependencies: 3
4
inputs: place of birth
located in the administrative territorial entity