Help:$smwgQSubpropertyDepth

is a configuration parameter that sets the maximum level of subproperty inclusions (steps within property hierarchy) to be considered by queries. The configuration parameter was introduced in.

By default hierarchy-inferencing is thus restricted to  levels. Use  to disable hierarchy-inferencing in queries.