"Has query" is a predefined property that represents meta information (in form of a subobject) about individual queries. This property is pre-deployed (also known as special property) and comes with additional administrative privileges but can be used just like any other user-defined property.