Question: Which Arizona county's capital is the US city with the native label Tucson?
Choices:
Santa Cruz County
Apache County
Pima County
Yavapai County
Pinal County
Mohave County
Maricopa County
Navajo County
Cochise County
Gila County
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: native label
Tucson
function: FilterConcept
dependencies: 1
inputs: city of the United States
function: Relate
dependencies: 2
inputs: capital
backward
function: FilterConcept
dependencies: 3
inputs: county of Arizona
function: What
dependencies: 4
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Arizona" . ?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> "Tucson" .   }
Answer: Pima County