Question: What language is associated with the official website http://www.hampshirecog.org for the Massachusetts county that contains the Northampton administrative division (that is the work location of Mo Willems)?
Choices:
Albanian
English
Lithuanian
Dutch
Persian
Latvian
Franco-Provençal
French
Bavarian
Tlingit
Answer: English
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Massachusetts" . ?e <contains_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Northampton" . ?e_2 <work_location> ?e_1 . ?e_2 <pred:name> "Mo Willems" .  ?e <official_website> ?pv . ?pv <pred:value> "http://www.hampshirecog.org" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }
Program:
function: Find
inputs: Mo Willems
function: Relate
dependencies: 0
inputs: work location
forward
function: Find
inputs: Northampton
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: contains administrative territorial entity
backward
function: FilterConcept
dependencies: 4
inputs: county of Massachusetts
function: QueryAttrQualifier
dependencies: 5
inputs: official website
http://www.hampshirecog.org
language of work or name