Question: What language is associated with the official website http://www.perthstjohnstonefc.co.uk/ for the association football club whose headquarters is located in Perth (that is the capital of Perth and Kinross)?
Choices:
Toki Pona
Luxembourgish
English
Estonian
Putèr
Armenian
Valencian
Maltese
Polish
Slavic languages
Program:
function: Find
inputs: Perth and Kinross
function: Relate
dependencies: 0
inputs: capital of
backward
function: Find
inputs: Perth
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: headquarters location
backward
function: FilterConcept
dependencies: 4
inputs: association football club
function: QueryAttrQualifier
dependencies: 5
inputs: official website
http://www.perthstjohnstonefc.co.uk/
language of work or name
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "association football club" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> "Perth" . ?e_1 <capital_of> ?e_2 . ?e_2 <pred:name> "Perth and Kinross" .  ?e <official_website> ?pv . ?pv <pred:value> "http://www.perthstjohnstonefc.co.uk/" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }
Answer: English