Question: Which capital is the twinned administrative body of the second largest city which has the official website http://www.city.yokohama.lg.jp/?
Choices:
Istanbul
Prague
Mumbai
New Delhi
Lausanne
Shanghai
Doha
Vancouver
Manila
Yerevan
Answer: Manila
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "capital" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "second largest city" . ?e_1 <official_website> ?pv . ?pv <pred:value> "http://www.city.yokohama.lg.jp/" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official website
http://www.city.yokohama.lg.jp/
function: FilterConcept
dependencies: 1
inputs: second largest city
function: Relate
dependencies: 2
inputs: twinned administrative body
forward
function: FilterConcept
dependencies: 3
inputs: capital
function: What
dependencies: 4