Question: Which language is associated with http://www.franklincony.org, the official website of the New York county named after Benjamin Franklin (who has the occupation of librarian)?
Choices:
Corsican
Putèr
National language of Republic of China
Ukrainian
English
Greek
Indian English
Wolof
Cornish
ǀXam language
Program:
function: Find
inputs: librarian
function: Relate
dependencies: 0
inputs: occupation
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 New York
function: QueryAttrQualifier
dependencies: 5
inputs: official website
http://www.franklincony.org
language of work or name
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of New York" . ?e <named_after> ?e_1 . ?e_1 <pred:name> "Benjamin Franklin" . ?e_1 <occupation> ?e_2 . ?e_2 <pred:name> "librarian" .  ?e <official_website> ?pv . ?pv <pred:value> "http://www.franklincony.org" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }
Answer: English