Question: Which WOEID belongs to Beirut, Quebec City's twinned administrative body?
Choices:
2493761
1960307
1100661
29733
34260
20361
1252431
17044
38952
1428499
Program:
function: Find
inputs: Quebec City
function: Relate
dependencies: 0
inputs: twinned administrative body
backward
function: Find
inputs: Beirut
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: WOEID
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Beirut" . ?e <twinned_administrative_body> ?e_1 . ?e_1 <pred:name> "Quebec City" .  ?e <WOEID> ?pv .  }
Answer: 1960307