Question: Which California county that is located in California (that is the headquarters location of the California Institute of Technology) has the largest area?
Choices: Marin County
Shasta County
San Bernardino County
Inyo County
Sacramento County
San Diego County
Butte County
San Luis Obispo County
Tulare County
Humboldt County
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_2 <headquarters_location> ?e_1 . ?e_2 <pred:name> "California Institute of Technology" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: California Institute of Technology
function: Relate
dependencies: 0
inputs: headquarters location
forward
function: Find
inputs: California
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 4
inputs: county of California
function: SelectAmong
dependencies: 5
inputs: area
largest
Answer: San Bernardino County