Property:Subproperty of

From SUWS-wiki
(Added property)
 
mNo edit summary
 
Line 7: Line 7:


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 ''<nowiki>[[subproperty of::Property:spouse]]</nowiki>''
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 ''<nowiki>[[subproperty of::Property:spouse]]</nowiki>''
== 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 <small>This property is hardly used within the wiki!</small>).

Latest revision as of 16:32, 17 February 2012

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.

This is in the sense of 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'.

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

Showing 2 pages using this property.