Question: What language is associated with the official website http://www.nba.com/suns/ that belongs to the basketball team headquartered in Phoenix (that is the twin administrative body to Calgary)?
Choices:
Montenegrin
English
multiple languages
Catalan
Dutch
Maltese
Tamil
Breton
Irish
Georgian
Program:
function: Find
inputs: Calgary
function: Relate
dependencies: 0
inputs: twinned administrative body
forward
function: Find
inputs: Phoenix
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: headquarters location
backward
function: FilterConcept
dependencies: 4
inputs: basketball team
function: QueryAttrQualifier
dependencies: 5
inputs: official website
http://www.nba.com/suns/
language of work or name
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "basketball team" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> "Phoenix" . ?e_2 <twinned_administrative_body> ?e_1 . ?e_2 <pred:name> "Calgary" .  ?e <official_website> ?pv . ?pv <pred:value> "http://www.nba.com/suns/" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }
Answer: English