Property:Subproperty of

From Wicri ICS
Revision as of 17:24, 27 June 2017 by imported>Jacques Ducloy (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

  • 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!).


Template:Docu

Showing 3 pages using this property.