Special property "Subproperty of"

From Linux Web Expert


Property "Namespace" has a restricted application area and cannot be used as annotation property by a user.Property "Docinfo editor" (as page type) with input value "User:>Kghbln" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.

This documentation page applies to all SMW versions from 1.0 to 1.2.0.
     


Subproperty of
Lets you indicate that one property is a subproperty of another
Further Information
Provided by: extension "Semantic MediaWiki "No description was provided.
Added: 1.0
Removed: still in use
Alias: has no alias
Optional: no
Visible:
Annotable:
Declarative:
Key: not specified
Setting: not specified
Focus: not specified
In this wiki: Property:Subproperty of
Table of Contents

Template:Interlanguagelink: en The Subproperty of property is a special property in Semantic MediaWiki with a built-in meaning: it lets you indicate that one property is a subproperty of another.

It means that a query for pages with the property should also return pages that have the subproperty. For example, querying for the property "spouse" should also find pages with the properties "wife" and "husband", if those properties have the special property [[subproperty of::Spouse]].

On systems where the first letter of an article does not get capitalized make sure that the property is maintained with an capital S [[Subproperty of::Spouse]] otherwise the system does not recognize it as a special property.

This also agrees with rdfs:subPropertyOf:

If property P is a subproperty of property P', then all pairs of resources which are related by P are also related by P'.

Notes

  • A property's page does not show its subproperties.
  • If no pages (or very few pages) in the wiki use a property, then even if lots of pages use its subproperties:
    • The property's page will list no (or few) pages under "Pages using the property"
    • The property won't appear in Special:Properties (or will appear with a caution This property is hardly used within the wiki!).


See the property page Subproperty of to see which pages use this special property on this wiki.