Question: Which California county bordering Merced County is affiliated with the English-language website www.co.fresno.ca.us?
Choices:
Fresno County
Mariposa County
Alameda County
Santa Clara County
Tulare County
San Diego County
Butte County
San Mateo County
Solano County
Contra Costa County
Program:
function: Find
inputs: Merced County
function: Relate
dependencies: 0
inputs: shares border with
backward
function: FilterConcept
dependencies: 1
inputs: county of California
function: FindAll
function: FilterStr
dependencies: 3
inputs: official website
http://www.co.fresno.ca.us
function: QFilterStr
dependencies: 4
inputs: language of work or name
English
function: FilterConcept
dependencies: 5
inputs: county of California
function: And
dependencies: 2
6
function: What
dependencies: 7
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of California" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Merced County" .  ?e <official_website> ?pv . ?pv <pred:value> "http://www.co.fresno.ca.us" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> "English" .  }
Answer: Fresno County