Premise: Their quarters opened off the narrow Courtyard of the Black Eunuchs, beyond the gate.

Hypothesis: Past the gate is the Courtyard of Black Eunuchs where their quarters opened into. 
Relation: entailment