Question: The Shu were an ally of who, according to the Book of Documents?
Sentence: It was, however, referred to in the Book of Documents as an ally of the Zhou.
Answer in sentence: yes