Question: Which New York county has the official English language website http://www.niagaracounty.com?
Choices:
Warren County
Orange County
Allegany County
Cayuga County
Greene County
Jefferson County
Albany County
Niagara County
Rensselaer County
Hamilton County
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official website
http://www.niagaracounty.com
function: QFilterStr
dependencies: 1
inputs: language of work or name
English
function: FilterConcept
dependencies: 2
inputs: county of New York
function: What
dependencies: 3
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of New York" . ?e <official_website> ?pv . ?pv <pred:value> "http://www.niagaracounty.com" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> "English" .  }
Answer: Niagara County