Question: Which language is associated with http://www.ci.orange.nj.us, the official website of Orange (which shares a border with Montclair)?
Choices:
Polish
Punjab
English
Japanese
Luxembourgish
Atikamekw
Ukrainian
Danish
Franco-Provençal
Thai
Program:
function: Find
inputs: Montclair
function: Relate
dependencies: 0
inputs: shares border with
backward
function: Find
inputs: Orange
function: And
dependencies: 1
2
function: QueryAttrQualifier
dependencies: 3
inputs: official website
http://www.ci.orange.nj.us
language of work or name
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:name> "Orange" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Montclair" .  ?e <official_website> ?pv . ?pv <pred:value> "http://www.ci.orange.nj.us" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }
Answer: English