Property:Subproperty of

From semantic-mediawiki.org
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::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'.

[edit] Notes



This documentation page applies to all SMW versions from 1.0 to the most current version.
     

Property:Subproperty of en 1.0



Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox