Initial query by inheritsFrom