Question: For the school with a headquarter location in NYC (the postal code is 10032), what language is its official website, http://ps.columbia.edu/?
Choices:
Korean
Basque
Latin script
English
Indonesian
Australian English
Bokmål
Cook Islands Māori
British English
ǀXam language
Answer: English
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "school" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> "New York City" . [ <pred:fact_h> ?e ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_1 ] <postal_code> ?qpv_1 . ?qpv_1 <pred:value> "10032" . ?e <official_website> ?pv . ?pv <pred:value> "http://ps.columbia.edu/" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }
Program:
function: Find
inputs: New York City
function: Relate
dependencies: 0
inputs: headquarters location
backward
function: QFilterStr
dependencies: 1
inputs: postal code
10032
function: FilterConcept
dependencies: 2
inputs: school
function: QueryAttrQualifier
dependencies: 3
inputs: official website
http://ps.columbia.edu/
language of work or name