rdfs:subClassOf/gc:superClassOf function versions with document parameter