Question: What language is associated with http://www.ci.upland.ca.us, the official website of a city inthe US that borders Ontario (the one whose elevation (above sea level) is 306 metres) ?
Choices:
Navajo
Modern Greek
English
Putèr
Bokmål
Serbian
British English
Albanian
Norwegian
Persian
Answer: English
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Ontario" . ?e_1 <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> "metre" . ?pv_1 <pred:value> "306"^^xsd:double . ?e <official_website> ?pv . ?pv <pred:value> "http://www.ci.upland.ca.us" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }
Program:
function: Find
inputs: Ontario
function: FilterNum
dependencies: 0
inputs: elevation above sea level
306 metre
=
function: Relate
dependencies: 1
inputs: shares border with
forward
function: FilterConcept
dependencies: 2
inputs: city of the United States
function: QueryAttrQualifier
dependencies: 3
inputs: official website
http://www.ci.upland.ca.us
language of work or name