Question: What language is associated with the official website http://www.riversideca.gov for the United States city where the headquarters of the University of California, Riverside is located in the United States of America?
Choices:
Danish
Tahitian
Canadian French
English
Wolof
Czech
Modern Greek
Esperanto
Franco-Provençal
Indonesian
Answer: English
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e_1 <headquarters_location> ?e . ?e_1 <pred:name> "University of California, Riverside" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e ] <country> ?qpv_1 . ?qpv_1 <pred:value> "United States of America" . ?e <official_website> ?pv . ?pv <pred:value> "http://www.riversideca.gov" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }
Program:
function: Find
inputs: University of California, Riverside
function: Relate
dependencies: 0
inputs: headquarters location
forward
function: QFilterStr
dependencies: 1
inputs: country
United States of America
function: FilterConcept
dependencies: 2
inputs: city of the United States
function: QueryAttrQualifier
dependencies: 3
inputs: official website
http://www.riversideca.gov
language of work or name