only use 1 query and do not load all objects to find out if it is a relation