Question: What New Jersey city is the twinned administrative body of the city whose official website is http://www.portoalegre.rs.gov.br/?
Choices:
New Brunswick
Suzhou
Atlantic City
Hoboken
Perth Amboy
Saint Petersburg
Jersey City
Newark
Plainfield
Buenos Aires
Answer: Newark
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city in New Jersey" . ?e <twinned_administrative_body> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "city" . ?e_1 <official_website> ?pv . ?pv <pred:value> "http://www.portoalegre.rs.gov.br/" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official website
http://www.portoalegre.rs.gov.br/
function: FilterConcept
dependencies: 1
inputs: city
function: Relate
dependencies: 2
inputs: twinned administrative body
backward
function: FilterConcept
dependencies: 3
inputs: city in New Jersey
function: What
dependencies: 4