Question: Which one of the counties in Arizona, which is the administrative division of Arizona (the one whose ISO 3166-2 code is US-AZ) covers the largest area ?
Choices:
Cochise County
Gila County
Coconino County
Apache County
Pinal County
Mohave County
Pima County
Yavapai County
Santa Cruz County
Navajo County
Answer: Coconino County
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Arizona" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Arizona" . ?e_1 <ISO_3166-2_code> ?pv_1 . ?pv_1 <pred:value> "US-AZ" . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Arizona
function: FilterStr
dependencies: 0
inputs: ISO 3166-2 code
US-AZ
function: Relate
dependencies: 1
inputs: contains administrative territorial entity
forward
function: FilterConcept
dependencies: 2
inputs: county of Arizona
function: SelectAmong
dependencies: 3
inputs: area
largest