Question: What language is associated with the official website http://www.elizabethnj.org for the New Jersey city that is the capital of Union County (that shares a border with Morris County)?
Choices:
Bashkir
English
Hungarian
Danish
Slovene
Slovak
Indian English
Luxembourgish
Persian
Spanish
Answer: English
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city in New Jersey" . ?e <capital_of> ?e_1 . ?e_1 <pred:name> "Union County" . ?e_2 <shares_border_with> ?e_1 . ?e_2 <pred:name> "Morris County" .  ?e <official_website> ?pv . ?pv <pred:value> "http://www.elizabethnj.org" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }
Program:
function: Find
inputs: Morris County
function: Relate
dependencies: 0
inputs: shares border with
forward
function: Find
inputs: Union County
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: capital of
backward
function: FilterConcept
dependencies: 4
inputs: city in New Jersey
function: QueryAttrQualifier
dependencies: 5
inputs: official website
http://www.elizabethnj.org
language of work or name