Question: Which administrative territorial entity has the United States captital city and has the native label of Middletown?
Choices: Thuringia
Merrimack County
Orange County
Ramsey County
African Union
St. Louis County
Greene County
Charleston County
Middlesex County
Dakota County
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "administrative territorial entity" . ?e <capital> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "city of the United States" . ?e_1 <native_label> ?pv . ?pv <pred:value> "Middletown" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: native label
Middletown
function: FilterConcept
dependencies: 1
inputs: city of the United States
function: Relate
dependencies: 2
inputs: capital
backward
function: FilterConcept
dependencies: 3
inputs: administrative territorial entity
function: What
dependencies: 4
Answer: Middlesex County