Question: Among the California counties located in California (the one whose motto text is Eureka), which one has the largest area?
Choices:
Fresno County
Santa Barbara County
Sacramento County
El Dorado County
San Bernardino County
Sonoma County
Alameda County
Mendocino County
Santa Cruz County
Calaveras County
Program:
function: Find
inputs: California
function: FilterStr
dependencies: 0
inputs: motto text
Eureka
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 2
inputs: county of California
function: SelectAmong
dependencies: 3
inputs: area
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of California" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "California" . ?e_1 <motto_text> ?pv_1 . ?pv_1 <pred:value> "Eureka" . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: San Bernardino County