FANDOM


"Subproperty of" is a predefined property. This property is pre-deployed (also known as special property) and comes with additional administrative privileges but can be used just like any other user-defined property.

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.
     

Property:Subproperty of en 1.0


Cc-by This content is licensed under http://creativecommons.org/licenses/by/3.0/.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.