"$1" is a predefined property that informs about the depth (numerical value computed on the basis of subquery nesting and resolved property chains) of a query while query execution is being restricted by the $smwgQMaxDepth setting and is provided by Semantic MediaWiki.
MediaWiki:Smw-pa-property-predefined askde
From dinoflaj3