Question: What administrative territorial entity is Quincy (the one that is located in or next to Mississippi River), the birthplace of Mary Astor, located in?
Choices:
United States Virgin Islands
Scotland
New Jersey
Illinois
Los Angeles
Indiana
Colorado
British Raj
North Rhine-Westphalia
Roer
Program:
function: Find
inputs: Mary Astor
function: Find
inputs: Mississippi River
function: Relate
dependencies: 1
inputs: located in or next to body of water
backward
function: Find
inputs: Quincy
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: place of birth
located in the administrative territorial entity
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Mary Astor" . ?e_2 <pred:name> "Quincy" . ?e_2 <located_in_or_next_to_body_of_water> ?e_3 . ?e_3 <pred:name> "Mississippi River" . ?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: Illinois