Help:$smwgUseCategoryHierarchy

is a configuration parameter that sets whether Semantic MediaWiki should consider MediaWiki's subcategory hierarchy as hierarchy elements in the annotation process. The configuration parameter was introduced in and deprecated with CiteRef::gh:smw:2806.

Default setting
This means that subcategories will always be interpreted like subclasses and automatically annotated with, i.e. when querying all elements of "B" the result will also yield all elements of "A" if "A" is a subcategory of "B".

Changing the default setting
To modify the setting to this configuration parameter, add one of the following lines to your "LocalSettings.php" file after the  call:

This means that incoming links will not be interpreted like subclasses and automatically annotated with.
 * Disable considering the category hierarchy automatically during annotation