Property:Subproperty of

From HackerspaceWiki
Jump to: navigation, search

Subproperty of 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::Property:spouse]]

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[edit]

  • A property's page shows its subproperties since SMW 1.2.1.
  • 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!).


This documentation page applies to all SMW versions from 1.0 to the most current version.
     
Showing 12 pages using this property.