Question: What language is associated with the creative work http://www.co.franklin.ma.us/, which is the official website for the county of Massachusetts that is named after Benjamin Franklin (the one that is the member of American Philosophical Society)?
Choices:
Czech
Spanish
Jèrriais
English
Navajo
National language of Republic of China
Slovak
Polish
Slovene
Hindi
Answer: English
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Massachusetts" . ?e <named_after> ?e_1 . ?e_1 <pred:name> "Benjamin Franklin" . ?e_1 <member_of> ?e_2 . ?e_2 <pred:name> "American Philosophical Society" .  ?e <official_website> ?pv . ?pv <pred:value> "http://www.co.franklin.ma.us/" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }
Program:
function: Find
inputs: American Philosophical Society
function: Relate
dependencies: 0
inputs: member of
backward
function: Find
inputs: Benjamin Franklin
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: named after
backward
function: FilterConcept
dependencies: 4
inputs: county of Massachusetts
function: QueryAttrQualifier
dependencies: 5
inputs: official website
http://www.co.franklin.ma.us/
language of work or name