Excluding property/category/specific page?

From semantic-mediawiki.org

May I ask if there's a way to exclude a specific page/property/category from a search or #Concept? I see here that we cannot use the ! exclamation point to exclude properties, but I wonder if there is another way?

For example, I have a #Concept with {{[[Category1]] [[Property1]] [[Property2]]}}, but don't want a child Category (of Category 1) to be included. I can exclude it by a number of attributes, including the sub-category, properties, or specific page names. Is there a way to do this?

Worse comes to worst, can I go to those several pages I want excluded and add a new property so it is excluded in the search? For example, add a show_on_search::false, but without having to go into all the other pages (those to be included) and add show_on_search::true on them?


05:37, 8 November 2014

Category or page cannot be excluded. A certain value of property can: [[Property::!Value]] will yield all pages where Property is set but not to Value.

A workaround is using a template with {{#if:...}}. Or Lua.

08:15, 11 November 2014