support the JD-style dat/subject hierarchy