Question: Which administrative territorial entity is Quincy (the one whose official website is http://www.quincyma.gov/), where Ruth Gordon was born, located in?
Choices:
England
Louisiana
Illinois
Electorate of Saxony
Massachusetts
Ohio
Montserrat
Grand Duchy of Finland
Virginia
Wisconsin
Answer: Massachusetts
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Ruth Gordon" . ?e_2 <pred:name> "Quincy" . ?e_2 <official_website> ?pv . ?pv <pred:value> "http://www.quincyma.gov/" . ?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: Ruth Gordon
function: Find
inputs: Quincy
function: FilterStr
dependencies: 1
inputs: official website
http://www.quincyma.gov/
function: QueryRelationQualifier
dependencies: 0
2
inputs: place of birth
located in the administrative territorial entity