Sentence:  ...they know the roles and statuses of deities, ancestral spirits, and men, and how to behave <WSD>seemingly</WSD> in their presence. 
Meaning of the word marked with <WSD> tags:  In a seemly manner; decorously; with propriety.