Question: What is the official name of Rochester (the one that is the twinned administrative body of Waterford)?
Choices:
منتخب مصر الوطني لكرة القدم
Tupelo
Eiropas Savienība
Kiel
서울특별시
Rochester
Repubblica Popolare Cinese
Montgomery
حلب
Santa Clara
Answer: Rochester
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Rochester" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> "Waterford" .  ?e <official_name> ?pv .  }
Program:
function: Find
inputs: Waterford
function: Relate
dependencies: 0
inputs: twinned administrative body
forward
function: Find
inputs: Rochester
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: official name