mapping(Resource:mapping(Resource:array(Resource))) get_subject_map()
Returns a mapping with all the domains subject resources as indices and a mapping with that subjects predicates and objects as value.