Question: Which Arizona county located in Arizona has the smallest area (the one that is an administrative division of United States of America)?
Choices:
Pinal County
Yavapai County
Santa Cruz County
Navajo County
Maricopa County
Cochise County
Coconino County
Gila County
Pima County
Apache County
Answer: Santa Cruz County
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Arizona" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Arizona" . ?e_2 <contains_administrative_territorial_entity> ?e_1 . ?e_2 <pred:name> "United States of America" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: contains administrative territorial entity
forward
function: Find
inputs: Arizona
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 4
inputs: county of Arizona
function: SelectAmong
dependencies: 5
inputs: area
smallest