Question: Which language is associated with http://www.monroecounty.gov, the official website of Monroe County (which shares a border with Ontario County)?
Choices:
Bavarian
Korean
British English
Austrian German
Toki Pona
Atikamekw
Hungarian
English
Modern Greek
Thai
Program:
function: Find
inputs: Ontario County
function: Relate
dependencies: 0
inputs: shares border with
backward
function: Find
inputs: Monroe County
function: And
dependencies: 1
2
function: QueryAttrQualifier
dependencies: 3
inputs: official website
http://www.monroecounty.gov
language of work or name
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:name> "Monroe County" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Ontario County" .  ?e <official_website> ?pv . ?pv <pred:value> "http://www.monroecounty.gov" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }
Answer: English